joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3e30
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0c83
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x488], 0
mov ecx, dword [ebp + 0xc]
call fcn.0040e660
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b3e9c
push 0x4d8764
mov ecx, dword [ebp + 8]
call fcn.00409e10
mov eax, dword [ebp - 0x488]
or eax, 1
mov dword [ebp - 0x488], eax
mov eax, dword [ebp + 8]
jmp 0x4b3f76
lea ecx, [ebp - 0x47c]
call fcn.004b2f40
mov dword [ebp - 4], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x10], 0x400
push 0x4d8788
mov ecx, dword [ebp + 0xc]
call fcn.0040e660
push eax
call fcn.00487108
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b3f43
mov ecx, 1
test ecx, ecx
je 0x4b3f37
mov dword [ebp - 0x484], 0
mov edx, dword [ebp - 0x14]
push edx
push 0x400
push 1
lea eax, [ebp - 0x41c]
push eax
call fcn.00486bbb
add esp, 0x10
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0
ja 0x4b3f1c
jmp 0x4b3f37
mov ecx, dword [ebp - 0x484]
push ecx
lea edx, [ebp - 0x41c]
push edx
lea ecx, [ebp - 0x47c]
call fcn.004b3980
jmp 0x4b3ede
mov eax, dword [ebp - 0x14]
push eax
call fcn.004843f2
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x47c]
call fcn.004b3a90
mov edx, dword [ebp - 0x488]
or edx, 1
mov dword [ebp - 0x488], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.00421a60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret

Function at 0x4b6f50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4b6f78
mov eax, 1
jmp 0x4b6fd7
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0040eac0
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4b6fab
xor eax, eax
jmp 0x4b6fd7
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4b6fcb
lea edx, [ebp - 0x210]
push edx
call fcn.004b6f50
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret
Function at 0x4b74d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp + 8]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4b7515
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4b7588
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040a850
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402e30
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4b7566
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_write_to_file__error__d__n
call fcn.0047fdb8
add esp, 8
mov byte [ebp - 9], 0
lea ecx, [ebp + 8]
call fcn.00409f10
mov al, byte [ebp - 9]
jmp 0x4b7597
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov byte [ebp - 0xa], 1
lea ecx, [ebp + 8]
call fcn.00409f10
mov al, byte [ebp - 0xa]
jmp 0x4b7597
mov byte [ebp - 0xb], 0
lea ecx, [ebp + 8]
call fcn.00409f10
mov al, byte [ebp - 0xb]
mov esp, ebp
pop ebp
ret
Function at 0x4b7f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0046f7e0
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x4d9068
mov ecx, dword [ebp + 8]
call fcn.0040e660
push eax
call fcn.00487108
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b801c
mov eax, 1
test eax, eax
je 0x4b800c
mov dword [ebp - 0x100c], 0
mov ecx, dword [ebp - 4]
push ecx
push 0x1000
push 1
lea edx, [ebp - 0x1008]
push edx
call fcn.00486bbb
add esp, 0x10
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0
ja 0x4b7ff4
jmp 0x4b800c
mov eax, dword [ebp - 0x100c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402d30
jmp 0x4b7fb6
mov edx, dword [ebp - 4]
push edx
call fcn.004843f2
add esp, 4
mov al, 1
jmp 0x4b801e
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret

Function at 0x4b8030
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0
mov eax, dword [0x4fb718]
and eax, 1
jne 0x4b807d
mov ecx, dword [0x4fb718]
or ecx, 1
mov dword [0x4fb718], ecx
mov ecx, 0x4fb714
call fcn.00409dd0
push 0x4c7960
call fcn.0046e7d5
add esp, 4
mov ecx, 0x4fb714
call fcn.00409d60
test eax, eax
jne 0x4b80d1
push 1
push 5
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x4fb714
call fcn.00409f50
push str.Shuame_
mov ecx, 0x4fb714
call fcn.00409f90
push 0
mov ecx, 0x4fb714
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4fb714
mov edx, dword [ebp + 8]
push edx
call fcn.0040a470
add esp, 0xc
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret
Function at 0x4bd260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0de1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4f4970]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x6c
call fcn.0046d5f3
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x4bd2be
mov ecx, dword [ebp - 0x1c]
call fcn.004041d0
mov dword [ebp - 0x4c], eax
jmp 0x4bd2c5
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004042e0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004043e0
mov ecx, dword [ebp - 0x48]
movzx edx, byte [ecx + 0x19]
test edx, edx
jne 0x4bd345
mov eax, dword [ebp - 0x48]
mov byte [eax + 0x19], 1
push 0
push 0
mov ecx, dword [ebp - 0x48]
push ecx
push 0x4bd000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41baaa
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x41bb5e
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0041ba3a
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x41bb37
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x41bb85
test ebp, ebp
je 0x41bb85
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x41bb8d
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x41bbcd
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41bc29
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x41bc24
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41bc0f
test dl, dl
je 0x41bc0b
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41bc0f
add ecx, 2
add eax, 2
test dl, dl
jne 0x41bbef
xor eax, eax
jmp 0x41bc14
sbb eax, eax
or eax, 1
test eax, eax
je 0x41bc33
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x41bbdc
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x41bc4a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0041baaa
test eax, eax
jne 0x41bc62
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.0041bb6a
mov esi, eax
test esi, esi
jne 0x41bc98
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x41bcb2
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x41bdaa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.0041baaa
mov esi, eax
test esi, esi
jne 0x41bdc8
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.0041bb6a
mov dword [esp + 0x18], eax
test eax, eax
je 0x41bdc0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.0041bb6a
mov dword [esp + 0x34], eax
test eax, eax
je 0x41bdc0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.0041bb6a
mov dword [esp + 0x28], eax
test eax, eax
je 0x41bdc0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.0041bb6a
mov dword [esp + 0x30], eax
test eax, eax
je 0x41bdc0
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x41bf8f
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x41bf8f
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x41bef2
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x41bf73
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x41bf15
movzx esi, ax
jmp 0x41bf1a
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x41bf39
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x41bf48
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x41bf9c
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x41bf0a
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x41becf
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x41bfc5
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x41bfc5
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x41bfaa
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x41bfda
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0041baaa
mov esi, eax
test esi, esi
je 0x41c096
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0041bb6a
mov ebp, eax
test ebp, ebp
je 0x41c095
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0041bb6a
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x41c095
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x41c095
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x41c094
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x41c07a
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x4287f8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x428808
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x428916
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00428926
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x428916
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00428926
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x428916
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00428926
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x428916
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x428913
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00428939
test eax, eax
je 0x428902
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0042896d
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4288bd
add esp, 0xc
mov eax, 0
jmp 0x428920
mov esp, ebp
pop ebp
ret 8
Function at 0x428a77
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x428b2b
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00428a07
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x428b04
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x428b52
test ebp, ebp
je 0x428b52
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x428b5a
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x428b9a
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x428bf6
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x428bf1
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x428bdc
test dl, dl
je 0x428bd8
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x428bdc
add ecx, 2
add eax, 2
test dl, dl
jne 0x428bbc
xor eax, eax
jmp 0x428be1
sbb eax, eax
or eax, 1
test eax, eax
je 0x428c00
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x428ba9
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x428c17
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00428a77
mov esi, eax
test esi, esi
je 0x428cd3
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00428b37
mov ebp, eax
test ebp, ebp
je 0x428cd2
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00428b37
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x428cd2
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x428cd2
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x428cd1
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x428cb7
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x42c82f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x42c867
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x42c855
mov al, 1
jmp 0x42c8c6
cmp dword [ebx + 0x54], ecx
jne 0x42c85e
mov al, 2
jmp 0x42c8c6
cmp dword [ebx + 0x7c], ecx
jne 0x42c8c6
mov al, 3
jmp 0x42c8c6
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x42c87c
mov al, 4
jmp 0x42c8c6
cmp ecx, 5
jne 0x42c89c
cmp ebx, 0
jne 0x42c88a
mov al, 5
jmp 0x42c8c6
cmp ebx, 1
jne 0x42c893
mov al, 6
jmp 0x42c8c6
cmp ebx, 2
jne 0x42c89c
mov al, 7
jmp 0x42c8c6
cmp ecx, 6
jne 0x42c8c4
cmp ebx, 0
jne 0x42c8aa
mov al, 8
jmp 0x42c8c6
cmp ebx, 1
jne 0x42c8b1
mov al, 9
cmp ebx, 2
jne 0x42c8b8
mov al, 0xa
cmp ebx, 3
jne 0x42c8bf
mov al, 0xb
cmp ebx, 4
jne 0x42c8c6
mov al, 0xc
pop ebx
leave
ret