joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a70
Capabilities:
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x28
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
mov dword [esi + 4], ebx
mov dword [esi], 0x42a540
mov dword [esi + 0x600], ebx
mov dword [esi + 0x5fc], ebx
mov ebp, 1
mov dword [esi + 0x604], ebp
mov dword [esi + 0x1654], ebx
mov dword [esi + 0x1650], ebx
mov dword [esi + 0x1658], ebp
mov dword [esi + 0x1660], ebx
mov dword [esi + 0x165c], ebx
mov dword [esi + 0x1664], ebp
push edi
push 0x20
mov dword [esi + 0x166c], ebx
mov dword [esi + 0x1668], ebx
mov dword [esi + 0x1670], ebp
call fcn.0041c3e3
mov dword [esi + 0xa3c], eax
xor eax, eax
mov dword [esi + 0x1230], ebx
mov dword [esi + 0x1234], ebx
mov dword [esi + 0x5e8], ebx
mov dword [esi + 0x5ec], ebx
mov dword [esi + 0x5f0], ebx
mov dword [esi + 0x538], ebx
mov dword [esi + 0x5f8], ebx
mov ecx, 0x80
lea edi, [esi + 0x1c]
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, 0x134
lea edi, [esi + 0xa60]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push 0x65
push eax
mov dword [esi + 0x1640], ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 8], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], str.LAUNCHER
mov dword [esp + 0x1c], 0x401b90
mov dword [esp + 0x18], 0xb
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [0x456108]
push 0x23412341
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
call fcn.00413710
mov byte [esi + 0x608], bl
mov byte [esi + 0x6a8], bl
mov byte [esi + 0x6e8], bl
xor edi, edi
jmp 0x402bc0
mov ecx, dword [0x456108]
push 0x7f
call fcn.00413720
movsx edx, al
push edx
mov byte [esp + 0x40], al
call fcn.0041cf77
add esp, 4
test eax, eax
jne 0x402c02
mov ecx, dword [0x456108]
push 0x7f
call fcn.00413720
mov byte [esp + 0x3c], al
movsx eax, al
push eax
call fcn.0041cf77
add esp, 4
test eax, eax
je 0x402be1
mov ecx, dword [esi + 0xa3c]
mov dl, byte [esp + 0x3c]
mov byte [edi + ecx], dl
inc edi
cmp edi, 0x1f
jl 0x402bc0
mov eax, dword [esi + 0xa3c]
mov byte [eax + 0x1f], bl
mov ecx, dword [0x456108]
push 0x79b9c732
call fcn.00413710
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x402c6e
push str.LoginData.dat
mov dword [esi + 0x163c], ebx
mov dword [esi + 0x1648], 0xffffffff
mov dword [esi + 0x164c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push str.LoginData.dat
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x402f60
Capabilities:
Check mutex on windows

Disassembly:
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x1674
call fcn.0041c3e3
add esp, 4
test eax, eax
je 0x402f8c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
push ecx
push edx
mov ecx, eax
call fcn.00402a70
jmp 0x402f8e
xor eax, eax
mov dword [0x432c80], eax
mov eax, dword [eax + 0xa3c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [0x432c80]
mov dword [ecx + 0x728], eax
mov edx, dword [0x432c80]
mov eax, dword [edx + 0x728]
test eax, eax
je 0x403027
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403027
mov eax, dword [esp + 0xc]
mov ecx, dword [0x432c80]
push eax
call section..text
mov ecx, dword [0x432c80]
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [0x432c80]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x432c80]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [0x432c80]
mov ecx, dword [eax + 0x728]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x432c80]
test eax, eax
je 0x403021
push eax
call fcn.0041c3de
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
ret 0x10

Function at 0x403b10
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x8000
call fcn.0041cfc0
push esi
mov esi, dword [esp + 0x8008]
push edi
xor eax, eax
push 0xffffffffffffffff
mov ecx, 0x10
mov edi, 0x432ca0
rep stosd dword es:[edi], eax
push 0x8000
lea eax, [esp + 0x10]
xor edi, edi
push eax
mov ecx, esi
mov dword [0x432c9c], edi
mov dword [0x432c98], edi
mov dword [0x432c88], 0x67452301
mov dword [0x432c8c], 0xefcdab89
mov dword [0x432c90], 0x98badcfe
mov dword [0x432c94], 0x10325476
call fcn.00414ad0
cmp eax, edi
jle 0x403ba5
mov edi, edi
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00403940
add esp, 8
push 0xffffffffffffffff
push 0x8000
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00414ad0
cmp eax, edi
jg 0x403b80
call fcn.00403a10
mov ecx, dword [0x432c88]
mov eax, dword [esp + 0x8010]
mov edx, dword [esp + 0x8014]
mov dword [eax], ecx
mov eax, dword [0x432c8c]
mov ecx, dword [esp + 0x8018]
mov dword [edx], eax
mov edx, dword [0x432c90]
mov eax, dword [esp + 0x801c]
mov dword [ecx], edx
mov ecx, dword [0x432c94]
pop edi
mov dword [eax], ecx
pop esi
add esp, 0x8000
ret

Function at 0x403dd0
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [0x456130]
call fcn.00413960
test eax, eax
je 0x403dfc
mov ecx, dword [0x456130]
call fcn.00414230
mov ecx, dword [0x432c80]
lea eax, [ecx + 0x72c]
push eax
call fcn.00401210
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4
Function at 0x404ad0
Capabilities:
Contain obfuscated stackstrings
Set file attributes

Disassembly:
sub esp, 0x80
push esi
mov al, 0x6f
push edi
mov byte [esp + 0xc], al
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
lea eax, [esp + 8]
push 0x42a2fc
push eax
mov edi, ecx
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x3a
mov byte [esp + 0x12], 0x5c
mov byte [esp + 0x13], 0x62
mov byte [esp + 0x16], 0x74
mov byte [esp + 0x17], 0x6c
mov byte [esp + 0x19], 0x67
mov byte [esp + 0x1a], 0x2e
mov byte [esp + 0x1b], 0x63
mov byte [esp + 0x1c], 0x73
mov byte [esp + 0x1d], 0x76
mov byte [esp + 0x1e], 0
call fcn.0041cb5d
mov esi, eax
add esp, 8
test esi, esi
je 0x401333
push esi
push 1
push 0xc
add edi, 0x5d4
push edi
call fcn.0041cab5
push esi
call fcn.0041c95d
add esp, 0x14
push 0x22
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
add esp, 0x80
ret
mov eax, dword [ecx + 8]
lea edx, [eax + ecx + 0x10]
mov eax, dword [0x432c80]
push esi
mov esi, dword [edx]
add eax, 0x5d4
mov dword [eax], esi
mov esi, dword [edx + 4]
mov dword [eax + 4], esi
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
add dword [ecx + 8], 0xc
mov ecx, dword [0x432c80]
pop esi
jmp 0x4012a0

Function at 0x405060
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 8]
push esi
lea esi, [eax + ecx + 0x10]
cmp byte [esi], 0
je 0x40507f
lea ecx, [ecx]
mov edx, dword [ecx + 8]
inc edx
mov dword [ecx + 8], edx
mov al, byte [edx + ecx + 0x10]
test al, al
jne 0x405070
inc dword [ecx + 8]
mov ecx, dword [0x456130]
call fcn.00413960
test eax, eax
je 0x4050ae
mov ecx, dword [0x456130]
call fcn.00414230
mov ecx, dword [0x432c80]
lea eax, [ecx + 0x72c]
push eax
call fcn.00401210
push 1
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret
Function at 0x405a60
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x158]
mov dword [esi + 0x44], 0
movzx edx, word [eax + 4]
mov ecx, dword [eax]
cmp ecx, edx
jl 0x405a7f
or dl, 0xff
jmp 0x405a86
mov dl, byte [ecx + eax + 8]
inc ecx
mov dword [eax], ecx
movzx eax, dl
mov dword [esi + 0x17c], eax
mov eax, dword [esi + 0x158]
mov ecx, dword [eax]
mov dl, byte [ecx + eax + 8]
test dl, dl
lea ecx, [ecx + eax + 8]
je 0x405aaf
mov edx, dword [eax]
inc edx
mov dword [eax], edx
cmp byte [edx + eax + 8], 0
jne 0x405aa3
inc dword [eax]
mov edx, esi
mov eax, ecx
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405ab7
mov eax, dword [esi + 0x158]
movzx edx, word [eax + 4]
mov ecx, dword [eax]
cmp ecx, edx
jl 0x405ad8
mov eax, 0xff
jmp 0x405ae1
lea edx, [ecx + 4]
mov dword [eax], edx
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x158]
add eax, 0x401c
mov dword [esi + 0x160], 0
mov dword [esi + 0x15c], eax
mov ecx, dword [0x458a78]
mov edx, dword [ecx]
push str.Data__DR_TMP.tmp
call dword [edx + 0x2c]
test eax, eax
je 0x405b3c
push str.Data__DR_TMP.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405b3c
mov eax, dword [0x432c80]
mov dword [eax + 0x1638], 0x42ab5c
mov byte [0], 0
xor eax, eax
pop esi
ret
push 4
push str.Data__DR_TMP.tmp
lea ecx, [esi + 0x4c]
call fcn.00414a00
test eax, eax
jne 0x405b66
mov ecx, dword [0x432c80]
mov dword [ecx + 0x1638], 0x42ab24
mov byte [0], al
pop esi
ret
mov eax, 1
mov dword [esi + 0x168], eax
mov ecx, dword [0x4555f8]
test ecx, ecx
je 0x405b90
mov edx, dword [esi + 0x40]
mov dword [ecx + 0x94], edx
mov ecx, dword [0x4555f8]
mov dword [ecx + 0x90], eax
pop esi
ret
Function at 0x405ba0
Capabilities:
Delete file

Disassembly:
sub esp, 0x154
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x17c]
cmp eax, 3
push ebp
je 0x405bc7
cmp eax, 4
je 0x405bc7
push ebx
push str.Data_s
lea eax, [esp + 0x14]
push eax
jmp 0x405bd2
push ebx
push 0x42abac
lea ecx, [esp + 0x14]
push ecx
call fcn.0041cca5
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call ebp
mov ecx, dword [0x458a78]
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
call dword [eax + 0x2c]
test eax, eax
je 0x405c06
pop ebp
xor eax, eax
pop ebx
add esp, 0x154
ret
push str.Data__DR_TMP.tmp
lea ecx, [esp + 0x50]
call fcn.00415b10
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x50]
call fcn.004159f0
mov eax, dword [esp + 0x50]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405c30
sub eax, edx
mov dword [esp + 8], eax
je 0x405c6d
mov ecx, dword [0x456130]
call fcn.00413960
test eax, eax
je 0x405c59
mov ecx, dword [0x456130]
call fcn.00414230
mov ecx, dword [esp + 0x50]
push 0
push str.ZIP_ERROR
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
push edi
mov edi, ebx
mov esi, str.Readme.txt
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x405c90
mov ecx, dword [0x4555f8]
test ecx, ecx
je 0x405c90
call fcn.0040fc40
mov edi, ebx
mov esi, str.Announcements.txt
mov ecx, 0x12
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
jne 0x405cb4
mov ecx, dword [0x432c80]
mov dword [ecx + 0x5e8], 1
push str.Data__DR_TMP.tmp
call ebp
cmp dword [ebx + 0x17c], 4
jne 0x405ccf
mov ecx, dword [0x434d4c]
call fcn.00409d40
pop ebp
mov eax, 1
pop ebx
add esp, 0x154
ret

Function at 0x4065a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4289d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ebx, dword [esp + 0x24]
cmp ebx, edi
mov dword [esi], 0x42abe8
mov dword [esp + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], 1
jne 0x4065f4
mov ecx, dword [0x434d30]
push esi
call fcn.00407700
jmp 0x40660f
mov eax, dword [ebx + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x406609
mov dword [eax + 4], esi
jmp 0x40660c
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x50], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x54], 1
mov dword [esi + 0x20], edx
mov byte [esi + 0x38], 0xff
mov ecx, dword [0x456130]
mov eax, dword [ecx + 0x304]
mov ecx, dword [ecx + 0x300]
dec eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
dec ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x406900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4289fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x60
mov esi, ecx
call fcn.0041c3e3
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x40694d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push esi
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
mov ecx, eax
call fcn.00407440
jmp 0x40694f
xor eax, eax
mov esi, dword [eax + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [eax + 0x28]
mov edx, dword [esp + 0x24]
sub ecx, esi
add esi, ecx
sub edx, edi
mov dword [eax + 0x2c], esi
mov esi, dword [eax + 0x30]
add edi, edx
add esi, edx
mov edx, dword [eax + 0x34]
mov dword [eax + 0x28], edi
add edx, ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x30], esi
pop edi
mov dword [eax + 0x34], edx
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x406990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4289fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x70
mov esi, ecx
call fcn.0041c3e3
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x4069df
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0
push esi
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
mov ecx, eax
call fcn.00406df0
jmp 0x4069e1
xor eax, eax
mov esi, dword [eax + 0x2c]
mov ecx, dword [esp + 0x2c]
mov edi, dword [eax + 0x28]
mov edx, dword [esp + 0x28]
sub ecx, esi
add esi, ecx
sub edx, edi
mov dword [eax + 0x2c], esi
mov esi, dword [eax + 0x30]
add edi, edx
add esi, edx
mov edx, dword [eax + 0x34]
mov dword [eax + 0x28], edi
add edx, ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x30], esi
pop edi
mov dword [eax + 0x34], edx
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x406a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4289fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x6c
mov esi, ecx
call fcn.0041c3e3
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x406a72
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push esi
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, eax
call fcn.00406ed0
jmp 0x406a74
xor eax, eax
mov esi, dword [eax + 0x2c]
mov ecx, dword [esp + 0x30]
mov edi, dword [eax + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, esi
add esi, ecx
sub edx, edi
mov dword [eax + 0x2c], esi
mov esi, dword [eax + 0x30]
add edi, edx
add esi, edx
mov edx, dword [eax + 0x34]
mov dword [eax + 0x28], edi
add edx, ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x30], esi
pop edi
mov dword [eax + 0x34], edx
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x407e20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x428a98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x34]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x30]
push 0xa2
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.004065a0
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esi], 0x42b038
call fcn.004070e0
push 0x58
lea ecx, [esp + 0x14]
call fcn.004071b0
mov edx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edx
mov edi, dword [esi + 0x28]
mov eax, edx
sub eax, edi
inc eax
cdq
and edx, 7
add eax, edx
sar eax, 3
mov edx, edi
lea eax, [edx + eax*8 + 2]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
lea eax, [edx + ecx + 8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 0x200
mov dword [esi + 0x34], eax
mov dword [esi + 0x64], ecx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ebx
call fcn.0041c3e3
mov edx, dword [esp + 0x58]
mov edi, eax
mov dword [esi + 0x60], edi
mov byte [esi + 0x38], bl
mov eax, dword [0x432c80]
mov ecx, dword [eax + 0x1288]
mov dword [esi + 0x70], ecx
add esp, 4
xor eax, eax
mov ecx, 0x80
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x74], 1
mov dword [esi + 0x68], edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x34]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x407f13
sub eax, edi
mov dword [esp + 0x40], eax
je 0x407f31
mov edx, dword [esi + 0x60]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x407f25
jmp 0x407f36
mov eax, dword [esi + 0x60]
mov byte [eax], bl
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x28
Function at 0x408f40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x428ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x20]
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push 0x42b0d4
push ecx
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.00406b90
mov eax, dword [esi + 0x20]
mov ecx, 1
or eax, ecx
mov dword [esi + 0x20], eax
xor edi, edi
mov dword [esi], 0x42b128
mov eax, 0x14
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov edx, dword [esi + 0x20]
or edx, ecx
mov cl, byte [esp + 0x20]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x24]
cmp edx, edi
mov dword [esp + 0x14], edi
mov byte [esi + 0x68], cl
mov dword [esi + 0x6c], edx
movzx eax, cl
je 0x408ffa
sub eax, edi
je 0x408fea
dec eax
je 0x408fda
dec eax
je 0x408fcd
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
jmp 0x409037
mov eax, 0x6a
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
jmp 0x409037
mov dword [esi + 0x70], 0x6c
mov dword [esi + 0x74], 0x6b
jmp 0x409037
mov dword [esi + 0x70], 0x6e
mov dword [esi + 0x74], 0x6d
jmp 0x409037
sub eax, edi
je 0x409029
dec eax
je 0x409019
dec eax
je 0x40900c
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
jmp 0x409037
mov eax, 0x67
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
jmp 0x409037
mov dword [esi + 0x70], 0x63
mov dword [esi + 0x74], 0x64
jmp 0x409037
mov dword [esi + 0x70], 0x65
mov dword [esi + 0x74], 0x66
cmp cl, 2
jne 0x40906b
cmp edx, edi
mov ecx, dword [0x434d4c]
je 0x409057
mov edx, dword [esi + 0x70]
push edx
call fcn.00409840
mov ecx, dword [eax + 4]
add ecx, 3
jmp 0x40907e
mov eax, dword [esi + 0x70]
push eax
call fcn.00409840
mov ecx, dword [eax + 4]
mov eax, dword [eax]
dec ecx
add eax, 3
jmp 0x409081
mov ecx, dword [esi + 0x70]
push ecx
mov ecx, dword [0x434d4c]
call fcn.00409840
mov ecx, dword [eax + 4]
dec ecx
mov eax, dword [eax]
dec eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x4106d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x428e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [esp + 0x120]
push ebx
push esi
push edi
push 0x44
push eax
mov esi, ecx
push pe_nt_image_headers32
mov dword [esp + 0x18], esi
call fcn.004065a0
xor ebx, ebx
lea ecx, [esi + 0x74]
mov dword [esp + 0x124], ebx
mov dword [esi], 0x42c9e0
call fcn.004070e0
mov dword [esi + 0x68], 8
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x9c], ebx
mov ecx, dword [0x456130]
mov eax, dword [ecx + 0x300]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], 0x7c
dec eax
mov dword [esi + 0x30], eax
mov eax, dword [0x456130]
mov eax, dword [eax + 0x304]
sub eax, dword [esi + 0x34]
mov ecx, ebx
add eax, ecx
mov edx, ebx
sub eax, edx
sub eax, 9
mov edx, eax
mov dword [esi + 0x2c], edx
mov edx, dword [esi + 0x30]
neg ecx
add edx, ecx
mov dword [esi + 0x30], edx
mov edi, ebx
mov edi, ecx
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x28], edi
add ecx, eax
mov dword [esi + 0x34], ecx
or dword [esi + 0x3c], 0x20000000
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
xor eax, eax
mov ecx, 0x1000
lea edi, [esi + 0xa0]
rep stosd dword es:[edi], eax
mov dword [0x4555f8], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x64], 0x18
call fcn.004149e0
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x411ff0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x428f6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
mov edi, ecx
push 0x101
mov dword [esp + 0x1c], edi
call fcn.00412580
push ebx
push 0x16
push ebx
push 0x70
push 0x6f
push 0x7a07
mov ecx, edi
mov dword [esp + 0x38], ebx
mov dword [edi], 0x42cf00
call fcn.00406990
mov ecx, dword [0x456130]
mov esi, eax
mov eax, dword [ecx + 0x304]
mov ecx, dword [ecx + 0x300]
mov edx, dword [esi + 0x30]
mov ebp, dword [esi + 0x28]
sub ecx, edx
mov edx, dword [esi + 0x28]
lea ecx, [ecx + edx - 0x15]
mov edx, dword [esi + 0x2c]
sub ecx, ebp
push ebx
sub eax, 0x64
sub eax, edx
add ebp, ecx
add edx, eax
push 0x3f800000
mov dword [esi + 0x28], ebp
mov ebp, dword [esi + 0x30]
mov dword [esi + 0x2c], edx
mov edx, dword [esi + 0x34]
push ebx
add ebp, ecx
push 1
add edx, eax
push str.Agree_to_Terms
mov ecx, esi
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], edx
call fcn.00405f20
push ebx
push 0x16
push ebx
push 0x72
push 0x71
push 0x7a03
mov ecx, edi
mov dword [esi + 0x24], ebx
call fcn.00406990
mov ecx, dword [0x456130]
mov esi, eax
mov eax, dword [ecx + 0x304]
mov ecx, dword [ecx + 0x300]
mov edx, dword [esi + 0x30]
mov ebp, dword [esi + 0x28]
sub ecx, edx
mov edx, dword [esi + 0x28]
lea ecx, [ecx + edx - 0x15]
mov edx, dword [esi + 0x2c]
sub eax, 0x32
sub eax, edx
add edx, eax
sub ecx, ebp
mov dword [esi + 0x2c], edx
mov edx, dword [esi + 0x30]
add ebp, ecx
add edx, ecx
mov dword [esi + 0x28], ebp
mov dword [esi + 0x30], edx
mov ebp, dword [esi + 0x34]
push ebx
push 0x3f800000
push ebx
push 1
add ebp, eax
push str.Disagree_to_Terms
mov ecx, esi
mov dword [esi + 0x34], ebp
call fcn.00405f20
mov dword [esi + 0x24], ebx
mov eax, dword [0x434d38]
mov dword [eax + 0x28], 1
mov ecx, dword [0x456130]
mov eax, dword [ecx + 0x300]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push 0x210d0
add esi, 0x19
call fcn.0041c3e3
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
cmp ecx, ebx
mov byte [esp + 0x20], 1
je 0x41217a
mov edx, dword [0x456130]
mov eax, dword [edx + 0x304]
push ebx
push 0x18
cdq
push str.EULA.txt
sub eax, edx
sar eax, 1
push eax
push esi
push 0xc8
push 0x96
push edi
call fcn.0040fa10
cmp dword [0x4355f4], ebx
mov byte [esp + 0x20], bl
jne 0x4121ab
mov ecx, edi
call fcn.004066b0
push 0x64
call fcn.0041c3e3
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x20], 2
je 0x4121ab
mov ecx, eax
call fcn.00411630
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x413690
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x800
push edi
lea eax, [esp + 0x80c]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.0041d0be
lea edi, [esp + 0x10]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4136b6
mov ax, word [0x42d0a4]
lea ecx, [esp + 4]
push ecx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x800
ret