joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e9b0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push str.Retrieving_Hardware_Information_n
call fcn.00404c90
push 0x48835c
call fcn.00404c90
or ecx, 0xffffffff
mov edi, 0x48c474
xor eax, eax
mov ebx, dword [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x172]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebx + 0x96]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea ebp, [ebx + 0x64]
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x48c474
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48c474
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebx + 0x49e]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48c474
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48c474
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea edx, [ebx + 0xaa]
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48c474
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebx + 0x10e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48c474
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebx + 0x1d6]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48c474
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040e700
add esp, 0xc
test al, al
jne 0x40eb66
push ebx
call fcn.0040dbc0
add esp, 4
test al, al
je 0x40eb59
push 0x488314
call fcn.00404c90
add esp, 4
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esi, dword [esp + 0x18]
push ebp
shr esi, 0x14
call fcn.00445da3
add esp, 4
cmp eax, esi
jae 0x40eb66
push esi
push str._d_MB
push ebp
call fcn.00445f93
add esp, 0xc
jmp 0x40eb66
push 0x48cea8
call fcn.00404c90
add esp, 4
push str.
call fcn.00404c90
push ebx
call fcn.0040dd70
push 0x48ce98
call fcn.00404c90
push ebx
call fcn.0040ddd0
push 0x48ce28
call fcn.00404c90
push ebx
call fcn.0040e370
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40fd90
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x46d1ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
push esi
lea ecx, [esp + 0x18]
call fcn.0041b9b0
mov eax, dword [edi + 0x418]
mov ecx, dword [0x4a4060]
mov dword [esp + 0x164], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], ecx
mov bl, 1
mov byte [esp + 0x164], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x14]
call fcn.00462f76
lea ecx, [esp + 0x10]
call fcn.004632ef
push str.CREATELOG
lea ecx, [esp + 0x14]
call fcn.0045c4f3
mov cl, byte [edi + 0x414]
cmp eax, 0xffffffff
setne dl
test cl, cl
sete al
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], dl
mov byte [esp + 0x75], al
call fcn.0045f2e0
cmp dword [0x4a78a4], esi
jle 0x40feba
mov byte [0x4a78a0], bl
mov ecx, dword [edi + 0x35c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x14b
push ecx
call ebx
mov eax, dword [edi + 0x418]
xor ebp, ebp
cmp dword [eax + 4], esi
jle 0x40feba
lea edx, [esi + eax + 0x45]
lea ecx, [esi + eax + 0x3d]
push edx
mov edx, dword [esi + eax + 0x31]
add edx, 0x41
push ecx
mov ecx, dword [esi + eax + 0xd]
push edx
mov edx, dword [esi + eax + 9]
push ecx
push edx
lea eax, [esp + 0x10c]
push str.___d:_d____c:__.8s__.16s
push eax
call fcn.00445f93
mov edx, dword [edi + 0x35c]
add esp, 0x1c
lea ecx, [esp + 0xf8]
push ecx
push 0
push 0x143
push edx
call ebx
mov eax, dword [edi + 0x418]
inc ebp
add esi, 0x846c
cmp ebp, dword [eax + 4]
jl 0x40fe5f
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], 0
call fcn.00462ded
lea ecx, [esp + 0xb4]
mov dword [esp + 0x164], 3
call fcn.0045d5d3
lea ecx, [esp + 0x78]
mov byte [esp + 0x164], 2
call fcn.0046737c
lea ecx, [esp + 0x14]
mov dword [esp + 0x164], 0xffffffff
call fcn.0045efb3
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret
Function at 0x4158d0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x418
lea ecx, [eax + eax*4]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [eax + ecx*4]
push esi
shl edx, 3
sub edx, eax
push edi
lea ebx, [edx*4 + str.4.10.2020]
lea edi, [ebx - 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x415a09
lea ecx, [esp + 0x10]
push str..sys
push ecx
call fcn.004461d0
add esp, 8
test eax, eax
je 0x4159a6
lea edx, [esp + 0x24]
push 0x104
push edx
call ebp
mov edi, str.Drivers_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x4159c6
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea edx, [esp + 0x328]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x228]
lea eax, [esp + 0x128]
push ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00403390
add esp, 0x10
test al, al
je 0x415a21
lea edx, [esp + 0x128]
push ebx
push edx
call fcn.00415820
add esp, 8
test al, al
je 0x415a21
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
add ebx, 0x28
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x415a2e
jmp 0x4158f6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x418
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x418
ret
Function at 0x4165f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x46dc38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x473f50
lea ecx, [esi + 0xad0]
mov dword [esp + 0x10], 0x28
call fcn.00462ded
lea ecx, [esi + 0xacc]
mov byte [esp + 0x10], 0x27
call fcn.00462ded
lea ecx, [esi + 0xac8]
mov byte [esp + 0x10], 0x26
call fcn.00462ded
lea ecx, [esi + 0xac4]
mov byte [esp + 0x10], 0x25
call fcn.00462ded
lea ecx, [esi + 0xac0]
mov byte [esp + 0x10], 0x24
call fcn.00462ded
lea ecx, [esi + 0xabc]
mov byte [esp + 0x10], 0x23
call fcn.00462ded
lea ecx, [esi + 0xab8]
mov byte [esp + 0x10], 0x22
call fcn.00462ded
lea ecx, [esi + 0xab4]
mov byte [esp + 0x10], 0x21
call fcn.00462ded
lea ecx, [esi + 0xab0]
mov byte [esp + 0x10], 0x20
call fcn.00462ded
lea ecx, [esi + 0xaac]
mov byte [esp + 0x10], 0x1f
call fcn.00462ded
lea ecx, [esi + 0xaa8]
mov byte [esp + 0x10], 0x1e
call fcn.00462ded
lea ecx, [esi + 0xaa4]
mov byte [esp + 0x10], 0x1d
call fcn.00462ded
lea ecx, [esi + 0xaa0]
mov byte [esp + 0x10], 0x1c
call fcn.00462ded
lea ecx, [esi + 0xa9c]
mov byte [esp + 0x10], 0x1b
call fcn.00462ded
lea ecx, [esi + 0xa98]
mov byte [esp + 0x10], 0x1a
call fcn.00462ded
lea ecx, [esi + 0xa94]
mov byte [esp + 0x10], 0x19
call fcn.00462ded
lea ecx, [esi + 0xa90]
mov byte [esp + 0x10], 0x18
call fcn.00462ded
lea ecx, [esi + 0xa8c]
mov byte [esp + 0x10], 0x17
call fcn.00462ded
lea ecx, [esi + 0xa88]
mov byte [esp + 0x10], 0x16
call fcn.00462ded
lea ecx, [esi + 0xa84]
mov byte [esp + 0x10], 0x15
call fcn.00462ded
lea ecx, [esi + 0xa80]
mov byte [esp + 0x10], 0x14
call fcn.00462ded
lea ecx, [esi + 0xa7c]
mov byte [esp + 0x10], 0x13
call fcn.00462ded
lea ecx, [esi + 0xa78]
mov byte [esp + 0x10], 0x12
call fcn.00462ded
lea ecx, [esi + 0xa74]
mov byte [esp + 0x10], 0x11
call fcn.00462ded
lea ecx, [esi + 0xa70]
mov byte [esp + 0x10], 0x10
call fcn.00462ded
lea ecx, [esi + 0xa6c]
mov byte [esp + 0x10], 0xf
call fcn.00462ded
lea ecx, [esi + 0x9c4]
mov byte [esp + 0x10], 0xe
call fcn.004151a0
lea ecx, [esi + 0x91c]
mov byte [esp + 0x10], 0xd
call fcn.004151a0
lea ecx, [esi + 0x874]
mov byte [esp + 0x10], 0xc
call fcn.004151a0
lea ecx, [esi + 0x7cc]
mov byte [esp + 0x10], 0xb
call fcn.004151a0
lea ecx, [esi + 0x724]
mov byte [esp + 0x10], 0xa
call fcn.004151a0
lea ecx, [esi + 0x67c]
mov byte [esp + 0x10], 9
call fcn.004151a0
lea ecx, [esi + 0x5d4]
mov byte [esp + 0x10], 8
call fcn.004151a0
lea ecx, [esi + 0x52c]
mov byte [esp + 0x10], 7
call fcn.004151a0
lea ecx, [esi + 0x484]
mov byte [esp + 0x10], 6
call fcn.004151a0
lea ecx, [esi + 0x3dc]
mov byte [esp + 0x10], 5
call fcn.004151a0
lea ecx, [esi + 0x334]
mov byte [esp + 0x10], 4
call fcn.004151a0
lea ecx, [esi + 0x28c]
mov byte [esp + 0x10], 3
call fcn.004151a0
lea ecx, [esi + 0x1e4]
mov byte [esp + 0x10], 2
call fcn.004151a0
lea ecx, [esi + 0x13c]
mov byte [esp + 0x10], 1
call fcn.004151a0
lea ecx, [esi + 0x94]
mov byte [esp + 0x10], 0
call fcn.004151a0
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004676e4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41e310
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x41e3c1
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x41e3c1
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x41e3b7
push eax
call fcn.00462b2e
mov esi, eax
add esp, 4
test esi, esi
jne 0x41e358
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x14]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41e3ae
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0x48d760
push esi
mov dword [esp + 0x28], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e3ae
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41e3ae
mov ecx, dword [eax + 8]
push esi
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx], edx
call fcn.00462b57
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
push esi
call fcn.00462b57
add esp, 4
pop edi
pop esi
mov eax, 0x80004005
pop ebx
pop ecx
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
pop ecx
ret
Function at 0x423660
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46f210
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push esi
mov esi, ecx
test ebx, ebx
jne 0x42369a
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
push edi
mov ecx, ebx
call fcn.00427f58
push eax
lea ecx, [esp + 0x10]
call fcn.00462e5b
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x44], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x474b94
mov eax, dword [0x4a4060]
mov dword [esp + 0x4c], eax
mov ecx, ebx
mov byte [esp + 0x44], 2
call fcn.00427f29
push eax
lea ecx, [esp + 0x50]
push str.LANG__s
push ecx
call fcn.0045c834
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.004632ef
mov edi, dword [esp + 0x4c]
call fcn.00469255
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00465e83
mov edi, dword [esi + 0x40]
test eax, eax
je 0x423739
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
push 0xffffff
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov edi, eax
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x146
push ecx
mov dword [esp + 0x28], 7
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x18]
mov eax, dword [eax - 8]
push edx
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.0045d818
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00465eda
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 1
call fcn.00462ded
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 3
call fcn.00465eda
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.00462ded
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x427470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f5c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [esp + 0x54]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
mov dword [esp + 0xc], ebx
je 0x42754d
mov al, byte [esp + 0x50]
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.00421f00
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], ebx
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], edi
call fcn.00424c9f
lea edx, [esp + 0x2c]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x50], 1
call fcn.004276b0
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.004278d0
mov esi, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], bl
call fcn.00421f00
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00421f00
mov cl, byte [esi + 0x10]
lea eax, [esi + 0x10]
mov esi, dword [esp + 0x50]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esi], cl
mov ecx, esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.004253d0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
mov dl, byte [esp + 0x50]
push ebp
mov ebp, dword [esp + 0x54]
mov edi, 0x4a778c
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp], dl
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebp
push esi
mov dword [esp + 0x5c], esi
call fcn.00421f70
test al, al
je 0x4275a6
mov edi, dword [ebp + 4]
mov ecx, esi
mov eax, ecx
mov esi, 0x4a778c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
mov byte [eax + ecx], bl
mov ecx, dword [esp + 0x44]
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8
Function at 0x42897d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
push edi
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, edi
je 0x4289d4
push ebx
call fcn.00445e46
mov esi, eax
pop ecx
cmp esi, edi
mov dword [ebp - 8], esi
je 0x4289d4
push esi
push ebx
push edi
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4289cd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x48d760
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4289e2
push esi
call fcn.00445dfe
pop ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.0042892b
mov eax, dword [ebp + 8]
jmp 0x428a23
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x18]
push dword [ebp - 8]
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
movzx esi, word [eax + 0x10]
movzx ebx, word [eax + 0x12]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x18], bx
mov word [ebp - 0x16], si
mov word [ebp - 0x14], dx
mov word [ebp - 0x12], cx
call fcn.00445dfe
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov edi, eax
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a150
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46fb07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x4a778c
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.00462e5b
xor esi, esi
mov dword [esp + 0x64], 1
mov si, word [0x4a7a3c]
call fcn.00469255
mov eax, dword [eax + 0xc]
push str.BINHELP
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
call fcn.00469255
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
call fcn.00469255
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea esi, [edi + 0x50]
push ebp
push eax
mov ecx, esi
call fcn.0042eff0
mov al, byte [esp + 0x70]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov cl, byte [esp + 0x70]
push ebx
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.00421f00
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 3
mov dword [esp + 0x4c], edx
call fcn.00424c9f
lea ecx, [esp + 0x48]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x6c], 4
call fcn.0042a6d0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004278d0
mov esi, dword [esp + 0x20]
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 3
call fcn.00421f00
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.00421f00
lea eax, [esi + 0x10]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.004253d0
mov esi, dword [esp + 0x6c]
mov dl, byte [esp + 0x28]
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push ebx
push eax
mov ecx, esi
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.004253d0
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x42a2c9
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x42a2c0
cmp cl, 0xff
je 0x42a2c0
dec cl
mov byte [eax], cl
jmp 0x42a2c9
push eax
call fcn.00462b57
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x64], bl
call fcn.00462ded
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 8
Function at 0x42b700
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46fcb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x42b7b4
mov eax, dword [0x4a4060]
push esi
mov dword [esp + 8], eax
push 0x410
push 0x410
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0046321d
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0046326c
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004631c9
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42b79b
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x42b79b
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x68], eax
mov dword [edi + 0xc4], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00462ded
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42ba40
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x824
test eax, eax
je 0x42ba65
mov eax, dword [esp + 0x828]
push eax
call fcn.0042bb60
add esp, 4
add esp, 0x824
ret
lea ecx, [esp + 4]
push edi
push ecx
push str..htm
push SysReAllocStringLen
call fcn.0042b7d0
add esp, 0xc
test eax, eax
jne 0x42bb2a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push SysReAllocStringLen
call fcn.0042b7d0
add esp, 0xc
test eax, eax
jne 0x42bb53
push esi
lea edx, [esp + 0xc]
push str.__1_
push edx
call fcn.00447d41
mov esi, eax
add esp, 8
test esi, esi
jne 0x42baf8
lea eax, [esp + 0xc]
push 0x49cfc4
push eax
call fcn.004461d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42baf8
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xb]
jmp 0x42bafb
mov byte [esi], 0
push 0x49cfc0
push esi
call edi
mov edx, dword [esp + 0x830]
push edx
push esi
call edi
mov eax, dword [esp + 0x834]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop esi
pop edi
add esp, 0x824
ret
mov edx, dword [esp + 0x830]
mov eax, dword [esp + 0x82c]
push edx
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
add esp, 0x824
ret
mov eax, dword [esp + 4]
pop edi
add esp, 0x824
ret
Function at 0x42bb60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46fd08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push esi
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00462e5b
push str.mailto:
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.00462e5b
mov byte [esp + 0x18], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 8]
push 0x40
mov edi, eax
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x24]
call fcn.004632b4
cmp eax, 0xffffffff
je 0x42bc26
push ebx
lea edx, [esp + 0x10]
push esi
push edx
lea ecx, [esp + 0x2c]
call fcn.0045c47b
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push eax
call fcn.00446652
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00462ded
test bl, bl
pop ebx
je 0x42bc26
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0046301c
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.00462f26
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call fcn.00462ded
mov edx, dword [esp + 0x20]
push 5
push 0x4a778c
push 0
push edx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.00462ded
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00462ded
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret