joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460ad0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x483c2c]
cmp dword [eax + 0x30], 0
je 0x460b7a
cmp dword [ebx + 0x94], 0
jne 0x460b74
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460a60
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460b74
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x460b3a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460b74
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b1e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460b49
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461658
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46168d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404680
jmp 0x46169a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462760
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4627a1
mov eax, esi
call fcn.00448560
test al, al
je 0x4627a1
mov eax, dword [ebx + 0x84]
call fcn.0044825c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4627a1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044825c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4694c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00468f78
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404a40
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46951e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4829c0]
mov dl, 1
mov eax, dword [0x468e04]
call fcn.0040c600
call fcn.00403ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x469528
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a40
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x469580
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x482be4]
mov dl, 1
mov eax, dword [0x468e04]
call fcn.0040c600
call fcn.00403ff0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00468fa8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46b5d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x46b664
push 0
mov eax, ebx
call fcn.00404a40
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x46b63f
mov eax, esi
call fcn.00404848
inc eax
push eax
mov eax, esi
call fcn.00404a40
push eax
push 1
push 0
mov eax, edi
call fcn.00404a40
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
test ebx, ebx
je 0x46b65a
mov ecx, dword [0x4828c0]
mov dl, 1
mov eax, dword [0x46a3c8]
call fcn.0040c5c4
call fcn.00403ff0
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x46b6b8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4180ac]
call fcn.00405068
xor eax, eax
push ebp
push 0x46b7fc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4824f4], 0
jne 0x46b70b
mov ecx, dword [0x482774]
mov dl, 1
mov eax, dword [0x407bb8]
call fcn.0040c5c4
call fcn.00403ff0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403114
mov eax, ebx
call fcn.00404e2c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46b80c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406404
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e3c
test eax, eax
jle 0x46b7a3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x46b79c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404810
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047f8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a04
test eax, eax
jne 0x46b79c
mov ebx, 0x15
jmp 0x46b7a8
mov ebx, 0x10
jmp 0x46b7a8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4824f4]
call fcn.0046b560
mov eax, dword [ebp - 8]
call fcn.0046b560
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040641c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b803
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045b4
lea eax, [ebp - 0x10]
mov edx, dword [0x4180ac]
call fcn.00405138
ret
Function at 0x44e988
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404914
mov eax, dword [ebp - 8]
call fcn.00404914
sub eax, eax
push ebp
push 0x44eaea
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xc1c23
push esi
pop eax
mov edx, 0x44eb04
call fcn.004044b8
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004044fc
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x5c
jne 0x44e9fe
lea eax, [ebp - 0x18]
push 1
pop ecx
pushal
popal
push edi
pop edi
push 1
pop edx
call fcn.004049c4
mov eax, dword [ebp - 0x18]
call fcn.00404724
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
jne 0x44ea27
mov eax, dword [ebp - 0x18]
call fcn.00404724
push eax
pop edx
lea eax, [ebp - 0x18]
pushfd
xor ecx, ecx
inc ecx
popfd
call fcn.004049c4
lea edx, [ebp - 0x41c]
mov eax, dword [ebp - 0x18]
call fcn.004081a0
mov edx, dword [ebp - 0x41c]
lea eax, [ebp - 0x18]
call fcn.004044fc
push ebx
pop eax
sub eax, 0xc1c22
mov dword [ebp - 0x14], eax
push ebx
pop eax
sub eax, 0xc1823
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
sub ebx, 0xa1c0a
push ebx
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404924
push eax
push edi
call dword [0x452bb0]
or eax, eax
jne 0x44eabc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404924
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x452bb8]
test eax, eax
jne 0x44eab2
push esi
pop eax
lea edx, [ebp - 0x418]
mov ecx, 0x400
call fcn.004046d4
mov eax, dword [ebp - 0xc]
push eax
call dword [0x452bbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eaf1
lea eax, [ebp - 0x41c]
call fcn.00404464
lea eax, [ebp - 0x18]
call fcn.00404464
lea eax, [ebp - 8]
nop
push 2
nop
pop edx
call fcn.00404488
ret
Function at 0x404ff3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403ee4
and dword [ebp - 4], 0
cmp dword [0x40e558], 0
mov ebx, eax
jne 0x4050a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405155
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40ab1c
push edi
call esi
test eax, eax
je 0x405155
push eax
call fcn.00403e72
mov dword [esp], 0x40ab0c
push edi
mov dword [0x40e558], eax
call esi
push eax
call fcn.00403e72
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e55c], eax
call esi
push eax
call fcn.00403e72
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e560], eax
call esi
push eax
call fcn.00403e72
pop ecx
mov dword [0x40e568], eax
test eax, eax
je 0x4050a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403e72
pop ecx
mov dword [0x40e564], eax
mov eax, dword [0x40e564]
cmp eax, ebx
je 0x4050fc
cmp dword [0x40e568], ebx
je 0x4050fc
push eax
call fcn.00403eed
push dword [0x40e568]
mov esi, eax
call fcn.00403eed
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4050fc
test edi, edi
je 0x4050fc
call esi
test eax, eax
je 0x4050f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4050f3
test byte [ebp - 0xc], 1
jne 0x4050fc
or dword [ebp + 0x10], 0x200000
jmp 0x405135
mov eax, dword [0x40e55c]
cmp eax, ebx
je 0x405135
push eax
call fcn.00403eed
pop ecx
test eax, eax
je 0x405135
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405135
mov eax, dword [0x40e560]
cmp eax, ebx
je 0x405135
push eax
call fcn.00403eed
pop ecx
test eax, eax
je 0x405135
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e558]
call fcn.00403eed
pop ecx
test eax, eax
je 0x405155
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405157
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406e88
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40da08]
jne 0x406e92
repz ret
jmp fcn.004085b5
Function at 0x401490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004597d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4014d5
push ebx
call fcn.00457791
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401500
push 6
call fcn.00457797
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x40151c
push eax
mov ebx, eax
call fcn.0040104d
inc eax
push eax
call fcn.0045778b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x401521
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401532
push ebx
call fcn.00457791
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x402ab5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x184
call fcn.004597d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402afa
push ebx
call fcn.00457791
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push pe_nt_image_headers32
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402b28
push 6
call fcn.00457797
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x402b44
push eax
mov ebx, eax
call fcn.0040104d
inc eax
push eax
call fcn.0045778b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402b49
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402b5a
push ebx
call fcn.00457791
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x409f4b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x409f66
call fcn.00409fd6
mov dword [ebp + 8], eax
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x409f92
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x409fbc
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x409fd0
mov esp, ebp
pop ebp
ret 8
Function at 0x40c603
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40c646
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40c670
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40c6a4
push 6
call fcn.00457797
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x40c6ac
mov esp, ebp
pop ebp
ret 4
Function at 0x4241e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 1
jne 0x424203
mov dword [ebp + 0x14], 0
jmp 0x424220
cmp dword [ebp + 0x14], 2
jne 0x424219
mov dword [ebp + 0x14], 7
jmp 0x424220
mov dword [ebp + 0x14], 1
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0x4654f7
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x42425b
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x424277
mov eax, 0
jmp 0x424281
mov eax, 1
jmp 0x424281
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4244cd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x184
call fcn.004597d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x424512
push ebx
call fcn.00457791
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push pe_nt_image_headers32
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42453d
push 6
call fcn.00457797
add esp, 4
push 0x465531
push dword [ebp - 4]
mov ecx, 2
call fcn.004010b8
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x42455d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42456e
push ebx
call fcn.00457791
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x42566d
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 2
jne 0x4257b5
mov dword [ebp - 8], esp
push str.Comet_Thread
push dword [ebp + 8]
call dword [0x46acfe]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4256ae
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x425704
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4256e2
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x425704
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 8], esp
push str.Comet_Image
push dword [ebp + 8]
call dword [0x46acfe]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42572b
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42575a
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42575a
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 8], esp
push str.Comet_Stream
push dword [ebp + 8]
call dword [0x46acfe]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x425781
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4257b0
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4257b0
push 6
call fcn.00457797
add esp, 4
jmp 0x42587c
cmp dword [ebp + 0xc], 0x201
jne 0x42587c
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x46ad02]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4257ed
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push str.CometHitMove
push dword [ebp + 8]
call dword [0x46acfe]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x425817
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x425874
mov dword [ebp - 8], esp
call dword [0x46ad06]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x425843
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 8], esp
push 0
push 2
push 0xa1
push dword [ebp + 8]
call dword [0x46ad0a]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x425874
push 6
call fcn.00457797
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x4258ac
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x46ad02]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4258a7
push 6
call fcn.00457797
add esp, 4
jmp 0x4258ac
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43e4fa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x43e540
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x465798]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00401b5a
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.004597d0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43e593
push ebx
call fcn.00457791
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x43e5cc
push 6
call fcn.00457797
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x43e5e8
push eax
mov ebx, eax
call fcn.0040104d
inc eax
push eax
call fcn.0045778b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x43e5ed
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43e5fe
push ebx
call fcn.00457791
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x459810
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x459879
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00459290
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x41c998
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push ebx
call sub.ADVAPI32.DLL_CryptAcquireContextA
add esp, 0xc
test eax, eax
je 0x41c9d4
sub esp, 0xc
lea eax, [ebx + 4]
push eax
push 0
push 0
push 0x8003
push dword [ebx]
call sub.ADVAPI32.DLL_CryptCreateHash
add esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x763a36f8
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x60aa6ad1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401140
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.004043b0
push ebx
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0x80
push 3
push 0
stosb byte es:[edi], al
mov eax, dword [esp + 0x1024]
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401193
pop edi
xor eax, eax
pop ebx
add esp, 0x1004
ret
push ebp
mov ebp, dword [esp + 0x101c]
push esi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x1000
push edx
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4011fc
mov edi, dword [ebp]
mov eax, dword [esp + 0x1018]
add edi, eax
mov eax, ecx
lea esi, [esp + 0x14]
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 [esp + 0x10]
mov eax, dword [ebp]
add eax, ecx
mov dword [ebp], eax
jmp 0x40119c
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ebp
pop edi
mov eax, 1
pop ebx
add esp, 0x1004
ret