joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70fc17
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x70fc4f
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x70fc5d
add edx, 0x20
cmp eax, edx
jne 0x70fc6e
test bx, bx
je 0x70fca3
add esi, 2
add edi, 2
jmp 0x70fc3f
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x70fc7c
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x70fc8a
add edx, 0x20
sub ecx, edx
je 0x70fca3
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x70fc38
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x71071c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x7107dd
test ecx, ecx
je 0x7107dd
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x7107dd
test ebx, ebx
je 0x7107dd
mov ebx, eax
add ebx, edx
je 0x7107dd
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x7107dd
cmp dword [edx + eax + 0x14], 0
je 0x7107dd
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x7107dd
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x7107cd
test dl, dl
je 0x7107c9
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x7107cd
add edi, 2
add esi, 2
test dl, dl
jne 0x7107ad
xor eax, eax
jmp 0x7107d2
sbb eax, eax
or eax, 1
test eax, eax
je 0x7107e9
inc ebp
cmp ebp, dword [esp + 4]
jb 0x71079a
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x10048f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esi
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10048711
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100486c6
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
invalid
Function at 0x1004a8a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
invalid
pushal
mov ebp, esp
add ebp, 0x24
push esp
call fcn.10048701
mov ah, byte [ebp - 0x46]
xchg byte [ecx + 0x30], ah
add byte [eax], al
add byte [ebx + 0x708b0c40], cl
sbb al, 0xad
cmp byte [eax + 0x1c], 0x18
je 0x1004a8c5
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.10048701
and byte [edi + 0x23], 0x90
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.10048701
ficomp dword [ecx - 0x74b6db3e]
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
je 0x1004a949
cmp dword [esi], eax
jne 0x1004a8ee
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x1004a8ee
call fcn.10048701
jge 0x1004a8f7
jnp 0x1004a89c
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.10048701
fst qword [ebx - 0x45]
add edi, edi
jne 0x1004a938
push dword [ebp + 4]
push dword [ebp]
call fcn.10048f01
add byte [edx + 0x57], dl
in eax, 0xff
inc dword [eax]
push edx
push edi
lea eax, [esp + 0x38]
call fcn.1004aa10
add esp, 0x18
test byte [edi + 0x38], 8
sbb dh, dh
inc edi
cmp byte [eax], cl
mov edx, eax
mov dword [esp + 0x1c], edx
je 0x1004a95c
movzx ecx, word [edi + 0x32]
jmp 0x1004a960
movzx ecx, word [edi + 0x34]
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x18]
cmp dword [ebx + 0x58], eax
jg 0x1004a980
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push 0x6f
call fcn.10024290
add esp, 0x10
xor ebx, ebx
jmp 0x1004a9ad
lea ebx, [eax + 1]
mov dword [esi + 0x20], ebx
mov esi, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov dword [eax + 4], esi
mov esi, dword [esp + 0x24]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x6f
cmp dword [esp + 0x20], ebx
je 0x1004a9e4
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x78]
cmp eax, ebx
je 0x1004a9d5
mov ebx, dword [esp + 0x20]
lea ebx, [ebx*4 + 4]
sub eax, ebx
mov ebx, dword [ecx + 0x20]
mov dword [eax], ebx
mov eax, dword [ecx + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [ebp + 8]
call fcn.1003b610
mov edx, edi
mov edi, dword [edi + 0x14]
add dword [esp + 0x14], 4
inc dword [esp + 0x10]
test edi, edi
jne 0x1004a902
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408fc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x12c
mov eax, dword [0x447d10]
mov dword [esp + 0x128], eax
mov al, byte [0x449d54]
test al, al
jne 0x4090da
lea eax, [esp]
push eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp + 4]
push ecx
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x409031
mov eax, dword [esp + 4]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
jmp 0x409043
lea eax, [esp + 0x24]
push 0x4398b8
push eax
call fcn.00416f3f
add esp, 8
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409053
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x10]
call fcn.00403ef0
push 8
push str.KONAMI_
lea ecx, [esp + 0x10]
call fcn.00408870
push 0x16
push str.PES6_PERU_E_PATCH_2024
lea ecx, [esp + 0x10]
call fcn.00408870
push 1
push 0x439890
lea ecx, [esp + 0x10]
call fcn.00408870
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x4090aa
lea eax, [esp + 0xc]
push 0x410
push eax
push 0x449388
call fcn.004171a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 0x10
mov byte [0x449d54], 1
jb 0x4090da
mov eax, dword [esp + 0xc]
push eax
call fcn.0042cfc9
add esp, 4
mov ecx, dword [esp + 0x128]
mov eax, 0x449388
call fcn.004164ae
add esp, 0x12c
ret

Function at 0x40c553
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40c568
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40c57a
xor eax, eax
jmp 0x40c5ac
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40c59e
cmp esi, eax
jae 0x40c576
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40c590
cmp esi, eax
jae 0x40c576
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x4d5c7c
Capabilities:
Encode data using xor

Disassembly:
dec edi
ror dword [eax + 0x59], cl
sahf
and dword [ebx - 0x6df47945], ebp
imul eax, dword [edx], 0xc
adc al, 0x41
pop ecx
push cs
cmp esp, dword [eax]
out 0xe5, al
mov ch, 0xa5
or eax, 0x4aa5ef22
or dword [edx + esi*4], ebx
push 7
xor eax, 0x59da028
loop 0x4d5d0f
cdq
dec esi
hlt
mov edi, 0xfc7fd72
push edx
out 0x48, eax
frstor dword [ebx + 0x61]
xor byte [ebx], bh
mov word [ebx], gs
invalid

Function at 0xcd10b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00cd1200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcd10d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcd10c2
add dl, dl
jne 0xcd10e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcd1134
xor eax, eax
add dl, dl
jne 0xcd10ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcd11d5
add dl, dl
jne 0xcd10fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcd1108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcd1113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcd111e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcd112a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcd10cd
mov eax, 1
add dl, dl
jne 0xcd1142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcd114d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcd1139
sub eax, ebx
mov ebx, 1
jne 0xcd1180
mov ecx, 1
add dl, dl
jne 0xcd1166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcd1171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcd115d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcd10cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcd1197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcd11a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcd118e
cmp eax, 0x7d00
jae 0xcd11c5
cmp eax, 0x500
jb 0xcd11c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcd10cd
cmp eax, 0x7f
ja 0xcd11c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcd10cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcd11f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcd10cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x412290
pop dword [ebp - 0x1c]
mov eax, 0x909a2abe
sub eax, 0x9059082e
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x3ca3e
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xa5381bd9
sub ecx, 0xa537c579
xor edi, edi
add edi, eax
mov esi, 0x165c3ea9
sub esi, 0x1618d0a9
add esi, dword [ebp - 0x1c]
mov ebx, 0x6fb6f2f4
sub ebx, 0xd16a1b39
sub dword [ebp - 0xc], ebx
mov edx, dword [esi]
sub dword [ebp - 4], 0xb6dcfcab
sub edx, ebx
add dword [ebp - 4], esi
mov dword [edi], edx
xor dword [ebp - 0x10], 0x837fddcd
add edi, 0xea1eb72d
add edi, 0x15e148d7
add esi, 0x25881ec8
add esi, 0xda77e13c
loop 0x4122ec
add eax, 0xd0655c02
add eax, 0x2f9bf051
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x425a8c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bb98
push 0x425a86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x43466c], 0xffffffff
or dword [0x434670], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x432650]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x43264c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x434668], eax
call fcn.00425bcf
cmp dword [0x430240], 0
jne 0x425b0f
push 0x425bcc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00425bba
push 0x430064
push 0x430060
call sub.msvcrt.dll__initterm
mov eax, dword [0x432648]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x432644]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
push 0x43005c
push section..data
call sub.msvcrt.dll__initterm
call dword [sym.imp.msvcrt.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00411c13
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x7ef51bd6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0xe0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0x40
mov eax, dword [ebp - 0x14]
push dword [eax + 0x38]
push dword [ebp - 4]
call dword [0x7ef9604c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7ef51c38
push dword [ebp - 4]
push str.VirtualProtect_failed__x
push 0x2d
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ef85958
pop ecx
pop ecx
call eax
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov dword [0x7efa58e0], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
mov dword [0x7efa58d4], eax
leave
ret

Function at 0x7ef51d84
Capabilities:
Query environment variable
Set environment variable
Terminate process

Disassembly:
add esp, 0x100
jmp fcn.7ef52230
Function at 0x7ef51d8f
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
cmp dword [str._J0v], 0
jne 0x7ef51dbd
push str.IsDebuggerPresent
push str.kernel32
call dword [0x7ef962c8]
push eax
call dword [0x7ef962b8]
mov dword [str._J0v], eax
mov eax, dword [0x7efa59a4]
and eax, 0x2000000
test eax, eax
je 0x7ef51f82
call dword [0x7ef9606c]
push eax
push str._d.df
lea eax, [ebp - 0xc8]
push eax
call fcn.7ef85dd0
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
push dword [ebp - 0xd4]
push 0
push 4
call dword [0x7ef96068]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc8]
call fcn.7ef86114
cmp dword [ebp - 4], 0
jne 0x7ef51f82
mov dword [ebp - 0xa8], 0x44
lea eax, [ebp - 0xa8]
push eax
call dword [0x7ef96064]
call fcn.7ef77a19
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
push 2
push 0
push 0
push 0
push dword [ebp - 0xc0]
push 0
call dword [0x7ef96060]
test eax, eax
jne 0x7ef51e7c
push 0
call dword [0x7ef962c4]
cmp dword [str._J0v], 0
je 0x7ef51e94
call dword [str._J0v]
test eax, eax
je 0x7ef51e94
call fcn.7ef51d84
push dword [ebp - 0xb4]
push str._d.df
lea eax, [ebp - 0xcc]
push eax
call fcn.7ef85dd0
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xdc]
push 4
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [0x7ef9605c]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xcc]
call fcn.7ef86114
push 1
pop eax
test eax, eax
je 0x7ef51f82
cmp dword [str._J0v], 0
je 0x7ef51f0f
call dword [str._J0v]
test eax, eax
je 0x7ef51f0f
call fcn.7ef51d84
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
call dword [0x7ef96058]
test eax, eax
jne 0x7ef51f27
push 0
call dword [0x7ef962c4]
mov dword [ebp - 0xc4], 0x10002
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 1
je 0x7ef51f4e
cmp dword [ebp - 0xe0], 5
je 0x7ef51f63
jmp 0x7ef51f6b
cmp dword [ebp - 0x58], 0x80000003
je 0x7ef51f61
mov dword [ebp - 0xc4], 0x80010001
jmp 0x7ef51f6b
push 0
call dword [0x7ef962c4]
push dword [ebp - 0xc4]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call dword [0x7ef96054]
jmp 0x7ef51eec
leave
ret
Function at 0x7ef52047
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov eax, 0x7ef92e88
call fcn.7ef890d8
sub esp, 0x30
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x10]
push eax
push 0x7efa5e2c
call fcn.7ef884fe
add esp, 0xc
push dword [ebp + 8]
call fcn.7ef865bd
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.7ef884fe
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.7ef86114
lea eax, [ebp - 0x10]
push eax
call fcn.7ef84b82
pop ecx
lea eax, [ebp - 0x14]
push eax
call fcn.7ef84b82
pop ecx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.7ef86204
pop ecx
pop ecx
test eax, eax
je 0x7ef521f0
push 1
lea eax, [ebp - 0x28]
push eax
push str.PATH
call dword [0x7ef96074]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
inc eax
push eax
call fcn.7ef871a5
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
inc eax
push eax
push dword [ebp - 0x20]
push str.PATH
call dword [0x7ef96074]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
test eax, eax
je 0x7ef52137
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
cmp eax, 0x3b
je 0x7ef52137
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x7ef52119
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call section..text
add esp, 0xc
test eax, eax
jne 0x7ef52180
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x7ef52163
push dword [ebp - 0x1c]
call fcn.7ef8726e
pop ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.7ef86114
jmp 0x7ef52208
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
test eax, eax
je 0x7ef52191
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movsx eax, byte [eax]
test eax, eax
jne 0x7ef52113
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push 0x7ef96604
lea eax, [ebp - 0x34]
push eax
call fcn.7ef85dd0
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push str.PATH
call dword [0x7ef96070]
lea ecx, [ebp - 0x34]
call fcn.7ef86114
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x7ef521f0
push dword [ebp - 0x1c]
call fcn.7ef8726e
pop ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.7ef86114
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ef52bf9
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x7ef92f3c
call fcn.7ef890d8
sub esp, 0x64
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x70]
add ecx, 0x88
call fcn.7ef54327
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x70]
add ecx, 0x78
call fcn.7ef54327
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
add ecx, 0x68
call fcn.7ef54327
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x70]
add ecx, 0x58
call fcn.7ef54327
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x70]
add ecx, 0x48
call fcn.7ef5426d
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x70]
add ecx, 0x34
call fcn.7ef541b3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
add ecx, 0x30
call fcn.7ef86114
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x70]
add ecx, 0x2c
call fcn.7ef86114
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
add ecx, 0x28
call fcn.7ef86114
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x70]
add ecx, 0x24
call fcn.7ef86114
and byte [ebp - 4], 0
mov ecx, dword [ebp - 0x70]
add ecx, 0x20
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x70]
add ecx, 0x1c
call fcn.7ef86114
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x7ef52dd8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x7efa5a60]
push dword [eax + 8]
push 0
push 0x400
call dword [0x7ef9608c]
mov dword [0x7efa5988], eax
push 0x28
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.7ef89580
add esp, 0xc
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x7ef52f3d
push 0
call dword [0x7ef962c8]
mov dword [ebp - 0x1c], eax
push 0x7f00
push 0
call dword [0x7ef962f0]
mov dword [ebp - 0x14], eax
push 0xf
call dword [0x7ef9636c]
push eax
call dword [0x7ef9602c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], str.th_logger
lea eax, [ebp - 0x2c]
push eax
call dword [0x7ef963cc]
push str.Arial
push 0
push 2
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64
push 0
push 0
push 0
push 0xe
call dword [0x7ef96030]
mov dword [0x7efa5980], eax
mov eax, dword [0x7efa5a60]
add eax, 0xc
push eax
mov eax, dword [0x7efa5a60]
push dword [eax + 8]
push str.Log__x:__s
lea eax, [ebp - 0x4c]
push eax
call fcn.7ef85dd0
add esp, 0x10
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
push 0
push 0
call dword [0x7ef962c8]
push eax
push 0
push 0
push 0x1f4
push 0x258
push 0x80000000
push 0x80000000
push 0xcf0000
push dword [ebp - 0x54]
push str.th_logger
push 0
call dword [0x7ef963c4]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x4c]
call fcn.7ef86114
push 1
push dword [ebp - 4]
call dword [0x7ef963d4]
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call dword [0x7ef963b0]
test eax, eax
je 0x7ef52f34
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 4]
call dword [0x7ef963b4]
test eax, eax
jne 0x7ef52f32
lea eax, [ebp - 0x48]
push eax
call dword [0x7ef963b8]
lea eax, [ebp - 0x48]
push eax
call dword [0x7ef963bc]
jmp 0x7ef52ef9
push 0
call fcn.7ef775b3
leave
ret