joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44d078
call fcn.0043a381
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0042f27e
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x424dcb
call fcn.0042f27e
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x424ddc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x424de9
or eax, 0xffffffff
jmp 0x424f45
mov ecx, esi
call fcn.004248c7
mov dword [ebp - 0x14], eax
call fcn.00427a17
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x424e67
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x424e67
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x424e67
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00424778
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x424e67
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x424e67
mov ecx, ebx
call fcn.00425256
test eax, eax
je 0x424e67
push 0
mov ecx, ebx
call fcn.00425271
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042929f
push dword [ebp - 0x14]
call fcn.0042796f
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00424b88
xor edi, edi
cmp eax, edi
je 0x424ec4
test byte [esi + 0x3c], 0x10
je 0x424eae
push 4
pop edi
mov ecx, esi
call fcn.0042513d
test ax, 0x100
je 0x424ea4
push 5
pop edi
push edi
mov ecx, esi
call fcn.00427537
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x424ec4
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004252d8
or dword [ebp - 4], 0xffffffff
jmp 0x424eef
cmp dword [ebp - 0x28], edi
je 0x424efd
push 1
mov ecx, ebx
call fcn.00425271
cmp dword [ebp - 0x2c], edi
je 0x424f0d
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x424f26
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x424f26
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00424901
cmp dword [esi + 0x58], edi
je 0x424f42
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043a426
ret
Function at 0x424fb2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x424fd2
cmp dword [edi + 0x54], 0
jne 0x424fd2
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042f27e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00424f76
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x42898e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4289c7
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00409449
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040556c
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x429ee5
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x458084
mov ecx, edi
call fcn.00401644
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x429f38
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x429f4b
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00409449
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040556c
jmp 0x429f4b
mov ecx, esi
call fcn.0042507d
test eax, eax
je 0x429f4b
push edi
mov ecx, eax
call fcn.0042898e
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x42a429
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42a46c
call fcn.0042f27e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a46c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42a487
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00429fe3
test ebx, ebx
mov esi, eax
je 0x42a485
test edi, edi
je 0x42a485
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x431253
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x46aca8]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x4312f1
push 0x45531c
push 4
push eax
call fcn.0043679b
push eax
call fcn.004015f0
add esp, 0x10
push ebx
push edi
call fcn.0043a716
mov edi, dword [eax]
call fcn.0043a716
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043a6bc
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0043a716
cmp dword [eax], ebx
je 0x431308
call fcn.0043a716
push dword [eax]
call fcn.00417340
pop ecx
jmp 0x43130f
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4312a2
jmp 0x431381
call fcn.0043a716
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x43137d
cmp dword [ebp - 0x40], esi
jae 0x43137d
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00435760
add esp, 0xc
push 0x4547c0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x43136f
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43136f
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x43136f
push ebx
push ebx
push esi
jmp 0x431375
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x43137f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.004356de
add ebp, 0x1f4
leave
ret
Function at 0x4356de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46aca8]
jne 0x4356e8
repz ret
jmp fcn.0043f418
Function at 0x4394fa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x439537
cmp dword [ebp + 0x14], edi
je 0x439537
cmp ecx, edi
jne 0x43953e
call fcn.0043a716
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043cdb9
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x439552
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x439573
cmp ebx, 0xffffffff
je 0x439562
push ebx
push edi
push ecx
call fcn.00435760
add esp, 0xc
cmp esi, edi
je 0x43951f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43951f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43958f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x439596
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x439687
test word [esi + 0xc], 0x10c
je 0x4395ea
mov eax, dword [esi + 4]
test eax, eax
je 0x4395ea
jl 0x4396e8
cmp ebx, eax
mov edi, ebx
jb 0x4395bb
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43968f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00435663
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43967f
cmp ebx, dword [ebp - 0xc]
jb 0x439657
cmp dword [ebp - 0xc], 0
je 0x439614
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x439609
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x439610
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43961f
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43961f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4396bb
push eax
push dword [ebp - 8]
push esi
call fcn.0043ac3a
pop ecx
push eax
call fcn.00444822
add esp, 0xc
test eax, eax
je 0x4396fa
cmp eax, 0xffffffff
je 0x4396e8
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43967f
push esi
call fcn.004429af
cmp eax, 0xffffffff
pop ecx
je 0x4396ec
cmp dword [ebp - 4], 0
je 0x4396bb
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43959e
mov eax, dword [ebp + 0x14]
jmp 0x439539
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4396a6
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00435760
add esp, 0xc
call fcn.0043a716
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43952f
cmp dword [ebp + 0xc], 0xffffffff
je 0x4396d1
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00435760
add esp, 0xc
call fcn.0043a716
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43952f
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x439539
or dword [esi + 0xc], 0x10
jmp 0x4396ec
Function at 0x43ba27
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46ae30]
je 0x43ba42
inc edi
cmp edi, 0x17
jb 0x43ba33
cmp edi, 0x17
jae 0x43bbc2
push ebp
push 3
call fcn.0044784f
cmp eax, 1
pop ecx
je 0x43bb8e
push 3
call fcn.0044784f
test eax, eax
pop ecx
jne 0x43ba76
cmp dword [0x46a9f8], 1
je 0x43bb8e
cmp ebx, 0xfc
je 0x43bbc1
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46ec10
push ebp
call fcn.004477ea
add esp, 0xc
test eax, eax
je 0x43baac
push esi
push esi
push esi
push esi
push esi
call fcn.0043ccbd
add esp, 0x14
push 0x104
mov esi, 0x46ec29
push esi
push 0
mov byte [0x46ed2d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43baf0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004477ea
add esp, 0xc
test eax, eax
je 0x43baf0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043ccbd
add esp, 0x14
push esi
call fcn.004366e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43bb35
push esi
call fcn.004366e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46ef24
push 0x4565d4
sub ecx, eax
push ecx
push eax
call fcn.00447737
add esp, 0x14
test eax, eax
je 0x43bb35
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043ccbd
add esp, 0x14
jmp 0x43bb37
xor esi, esi
push 0x4565d0
push ebx
push ebp
call fcn.004476c6
add esp, 0xc
test eax, eax
je 0x43bb57
push esi
push esi
push esi
push esi
push esi
call fcn.0043ccbd
add esp, 0x14
push dword [edi*8 + 0x46ae34]
push ebx
push ebp
call fcn.004476c6
add esp, 0xc
test eax, eax
je 0x43bb79
push esi
push esi
push esi
push esi
push esi
call fcn.0043ccbd
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00447509
add esp, 0xc
jmp 0x43bbc1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43bbc1
cmp ebp, 0xffffffff
je 0x43bbc1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46ae34]
push dword [esi]
call fcn.004366e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x447509
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043c5eb
xor ebx, ebx
cmp dword [0x46f71c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4475df
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4476bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4476bf
push eax
call fcn.0043c57d
mov dword [esp], 0x4569e8
push edi
mov dword [0x46f71c], eax
call esi
push eax
call fcn.0043c57d
mov dword [esp], 0x4569d4
push edi
mov dword [0x46f720], eax
call esi
push eax
call fcn.0043c57d
mov dword [0x46f724], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00436c4e
test eax, eax
pop ecx
pop ecx
je 0x4475ad
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043ccbd
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4475df
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043c57d
cmp eax, ebx
pop ecx
mov dword [0x46f72c], eax
je 0x4475df
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043c57d
pop ecx
mov dword [0x46f728], eax
mov eax, dword [0x46f728]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x447664
cmp dword [0x46f72c], ecx
je 0x447664
push eax
call fcn.0043c5f4
push dword [0x46f72c]
mov esi, eax
call fcn.0043c5f4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x447664
cmp edi, ebx
je 0x447664
call esi
cmp eax, ebx
je 0x447631
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x447631
test byte [ebp - 0x18], 1
jne 0x447664
lea eax, [ebp - 0x10]
push eax
call fcn.00436c85
test eax, eax
pop ecx
je 0x44764c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043ccbd
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44765b
or dword [ebp + 0x10], 0x200000
jmp 0x44769f
or dword [ebp + 0x10], 0x40000
jmp 0x44769f
mov eax, dword [0x46f720]
cmp eax, dword [ebp - 8]
je 0x44769f
push eax
call fcn.0043c5f4
cmp eax, ebx
pop ecx
je 0x44769f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44769f
mov eax, dword [0x46f724]
cmp eax, dword [ebp - 8]
je 0x44769f
push eax
call fcn.0043c5f4
cmp eax, ebx
pop ecx
je 0x44769f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46f71c]
call fcn.0043c5f4
cmp eax, ebx
pop ecx
je 0x4476bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4476c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42d1bd
Capabilities:
Terminate process

Disassembly:
jmp 0x433f30
jmp fcn.0043c7b0
cmp ecx, dword [0x49c060]
jne 0x433f3a
repz ret
jmp 0x42d68b
Function at 0x40a680
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4681db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045c466
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a702
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045a37d
mov eax, dword [eax]
push 0x4aa1c0
push eax
call fcn.0044d1e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045c6f1
test bl, bl
je 0x40a702
push 0x4aa1c0
lea ecx, [esp + 0xc]
call fcn.0045ca81
push 0x4add3c
lea ecx, [esp + 0xc]
call fcn.0045ca81
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a73e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045c6f1
jmp 0x40a809
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a7c2
lea edx, [esp + 0x7c]
push 0x4add38
push edx
call fcn.0044d1e4
add esp, 8
test eax, eax
je 0x40a7c2
lea eax, [esp + 0x7c]
push 0x4add34
push eax
call fcn.0044d1e4
add esp, 8
test eax, eax
je 0x40a7c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a752
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045c6f1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b020
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b082
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40b090
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46825b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b41e8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b1c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b0f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045c6f1
xor eax, eax
jmp 0x40b23f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045c82e
push esi
lea ecx, [esp + 0xc]
call fcn.0045cabd
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b21d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040b020
test eax, eax
jne 0x40b21d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040b020
test eax, eax
jne 0x40b21d
lea eax, [esp + 0x14]
push 0x4add50
push eax
call fcn.0044e220
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b1fc
lea ecx, [esp + 0x14]
push 0x4add4c
push ecx
call fcn.0044e1a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b1fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b1ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045c7de
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b10e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045c6f1
xor eax, eax
jmp 0x40b23f
mov byte [esi], 0
push 0x4add48
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045c6f1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x40de5a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x468548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0045dca2
xor ebp, ebp
mov dword [esi], 0x49bdbc
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0x49b6b8
call fcn.00401570
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0045b7d3
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00401570
mov dword [ebx], 0x499e7c
mov dword [edi], 0x49bce0
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x49b838
lea ecx, [esi + 0xb0]
call fcn.00401570
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x49bce8
mov dword [esi + 0xac], ebp
call fcn.004662fe
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00463338
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x40e010
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4685d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x49bce8
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0046338f
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x499e78
call fcn.00401770
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0046338f
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x499e78
call fcn.00401770
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0045b806
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x499e78
call fcn.00401770
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0046478b
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret