joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x500
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call dword [sym.imp.ole32.dll_OleUninitialize]
leave
ret 0x10
Function at 0x107a3c8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0107a518
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x107a3ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107a3da
add dl, dl
jne 0x107a3f9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107a44c
xor eax, eax
add dl, dl
jne 0x107a406
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107a4ed
add dl, dl
jne 0x107a415
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107a420
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107a42b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107a436
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107a442
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x107a3e5
mov eax, 1
add dl, dl
jne 0x107a45a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107a465
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107a451
sub eax, ebx
mov ebx, 1
jne 0x107a498
mov ecx, 1
add dl, dl
jne 0x107a47e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107a489
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107a475
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107a3e5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x107a4af
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107a4ba
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107a4a6
cmp eax, 0x7d00
jae 0x107a4dd
cmp eax, 0x500
jb 0x107a4d8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107a3e5
cmp eax, 0x7f
ja 0x107a4e0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107a3e5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x107a50e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x107a3e5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100010d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
mov dl, byte [eax + 1]
sub esp, 8
push ebx
mov ebx, ecx
mov cl, byte [eax]
push ebp
mov ebp, dword [esp + 0x14]
test ebx, ebx
jle 0x10001166
sub ebp, dword [0x1001000c]
push esi
push edi
movzx esi, cl
mov ecx, dword [0x10010b20]
movzx edi, dl
mov dword [esp + 0x14], ebx
lea eax, [esi + 1]
cdq
mov esi, 0x2fa
idiv esi
mov ebx, 0x2fa
inc ebp
movzx esi, dl
movzx eax, byte [esi + ecx]
add eax, edi
mov byte [esp + 0x12], dl
cdq
mov edi, 0x2fa
idiv edi
mov al, byte [esi + ecx]
movzx edi, dl
mov byte [esp + 0x13], dl
movzx edx, byte [edi + ecx]
mov byte [esi + ecx], dl
mov byte [edi + ecx], al
movzx edx, byte [edi + ecx]
movzx eax, byte [esi + ecx]
add eax, edx
cdq
idiv ebx
movzx eax, dl
movzx edx, byte [eax + ecx]
xor byte [ebp - 1], dl
sub dword [esp + 0x14], 1
jne 0x10001100
mov cl, byte [esp + 0x12]
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
pop edi
pop esi
pop ebp
mov byte [eax + 1], dl
mov byte [eax], cl
pop ebx
add esp, 8
ret
Function at 0x10002d21
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000f090]
jne 0x10002d2b
repz ret
jmp fcn.100038ca

Function at 0x100099ed
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.10005dc8
and dword [ebp - 4], 0
cmp dword [0x100109f8], 0
mov ebx, eax
jne 0x10009a9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10009b4f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000ca6c
push edi
call esi
test eax, eax
je 0x10009b4f
push eax
call fcn.10005d56
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100109f8], eax
call esi
push eax
call fcn.10005d56
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100109fc], eax
call esi
push eax
call fcn.10005d56
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10010a00], eax
call esi
push eax
call fcn.10005d56
pop ecx
mov dword [0x10010a08], eax
test eax, eax
je 0x10009a9e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005d56
pop ecx
mov dword [0x10010a04], eax
mov eax, dword [0x10010a04]
cmp eax, ebx
je 0x10009af6
cmp dword [0x10010a08], ebx
je 0x10009af6
push eax
call fcn.10005dd1
push dword [0x10010a08]
mov esi, eax
call fcn.10005dd1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10009af6
test edi, edi
je 0x10009af6
call esi
test eax, eax
je 0x10009aed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10009aed
test byte [ebp - 0xc], 1
jne 0x10009af6
or dword [ebp + 0x10], 0x200000
jmp 0x10009b2f
mov eax, dword [0x100109fc]
cmp eax, ebx
je 0x10009b2f
push eax
call fcn.10005dd1
pop ecx
test eax, eax
je 0x10009b2f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10009b2f
mov eax, dword [0x10010a00]
cmp eax, ebx
je 0x10009b2f
push eax
call fcn.10005dd1
pop ecx
test eax, eax
je 0x10009b2f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100109f8]
call fcn.10005dd1
pop ecx
test eax, eax
je 0x10009b4f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10009b51
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000454f
Capabilities:
Send data
Send data on socket

Disassembly:
push 4
mov eax, 0x10007539
call fcn.100070ea
push 0x10
call fcn.10006079
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov ecx, eax
call fcn.1000244e
mov esi, eax
push 0xa8
mov ecx, esi
call fcn.10002476
push 1
call fcn.10002476
call fcn.100024c2
mov ecx, esi
call fcn.10005ea5
mov ecx, dword [esi + 0xc]
push 0
movzx eax, word [ecx]
add eax, 2
push eax
push ecx
push dword [0x1000b55c]
call dword [sym.imp.WS2_32.dll_send]
push dword [esi + 0xc]
call fcn.1000618f
push 0x10
push esi
call fcn.100060a9
add esp, 0xc
call fcn.100070c7
ret 8

Function at 0x100045c5
Capabilities:
Send data
Send data on socket

Disassembly:
push 4
mov eax, 0x10007539
call fcn.100070ea
push 0x10
call fcn.10006079
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov ecx, eax
call fcn.1000244e
mov esi, eax
push 0x6e
mov ecx, esi
call fcn.10002476
movzx ecx, word [0x1000b4f8]
push ecx
mov ecx, esi
call fcn.1000249a
movzx ecx, word [0x1000b4fc]
push ecx
mov ecx, esi
call fcn.1000249a
movzx eax, word [0x1000b540]
push eax
call fcn.1000249a
movzx eax, word [0x1000b53c]
push eax
call fcn.1000249a
call fcn.100024c2
mov ecx, esi
call fcn.10005ea5
mov ecx, dword [esi + 0xc]
push 0
movzx eax, word [ecx]
add eax, 2
push eax
push ecx
push dword [0x1000b55c]
call dword [sym.imp.WS2_32.dll_send]
push dword [esi + 0xc]
call fcn.1000618f
push 0x10
push esi
call fcn.100060a9
add esp, 0xc
call fcn.100070c7
ret
Function at 0x10005669
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0x40
push dword [ebp + 8]
mov ebx, edx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [ebp + 8], 2
jne 0x1000568f
mov word [esi], bx
jmp 0x10005697
cmp dword [ebp + 8], 1
jne 0x10005697
mov byte [esi], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
leave
ret

Function at 0x100056ac
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
mov ebx, edx
push eax
mov esi, ecx
push 0x40
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy]
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push dword [ebp - 4]
call esi
pop esi
pop ebx
leave
ret

Function at 0x10005ea5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x719d78]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x719d7c]
xor ebx, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [0x719d80]
cmp dword [edi + 8], 2
mov esi, dword [edi]
sete bl
mov dword [ebp - 0x20], eax
mov eax, dword [0x719d84]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
lea ebx, [ebx*4 + 2]
add esi, ebx
mov dword [ebp - 0x14], ebx
mov ecx, esi
mov dword [ebp - 8], esi
and ecx, 0x80000007
jns 0x10005efe
dec ecx
or ecx, 0xfffffff8
add ecx, 1
je 0x10005f0a
push 8
pop eax
sub eax, ecx
add esi, eax
mov dword [ebp - 8], esi
mov ecx, dword [edi + 0xc]
mov eax, esi
cdq
add ecx, ebx
and edx, 3
mov dword [ebp - 0xc], ecx
add eax, edx
xor edx, edx
sar eax, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
test eax, eax
jle 0x10005f9e
mov edi, dword [ecx + edx*4]
xor esi, esi
mov ebx, dword [ecx + edx*4 + 4]
push 0x20
pop edx
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
and eax, 3
add ecx, ebx
mov eax, dword [ebp + eax*4 - 0x28]
add eax, esi
sub esi, 0x61c88647
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
shr eax, 0xd
add ecx, edi
and eax, 3
mov eax, dword [ebp + eax*4 - 0x28]
add eax, esi
xor ecx, eax
add ebx, ecx
sub edx, 1
jne 0x10005f35
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + edx*4], edi
mov dword [ecx + edx*4 + 4], ebx
add edx, 2
mov dword [ebp - 4], edx
cmp edx, dword [ebp - 0x10]
jl 0x10005f29
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0xc]
lea ecx, [ebx - 2]
add ecx, esi
mov word [eax], cx
mov dword [edi], esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x719d78]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x719d7c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x719d80]
mov dword [ebp - 0x14], eax
mov eax, dword [0x719d84]
mov dword [ebp - 0x10], eax
mov eax, edx
cdq
and edx, 3
add eax, edx
xor edx, edx
sar eax, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
test eax, eax
jle 0x10006068
push ebx
push edi
mov edi, dword [esi + edx*4 + 2]
mov ebx, dword [esi + edx*4 + 6]
mov esi, 0xc6ef3720
push 0x20
pop edx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
shr eax, 0xd
add ecx, edi
and eax, 3
mov eax, dword [ebp + eax*4 - 0x1c]
add eax, esi
add esi, 0x61c88647
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
and eax, 3
add ecx, ebx
mov eax, dword [ebp + eax*4 - 0x1c]
add eax, esi
xor ecx, eax
sub edi, ecx
sub edx, 1
jne 0x10006005
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dword [esi + edx*4 + 2], edi
mov dword [esi + edx*4 + 6], ebx
add edx, 2
mov dword [ebp - 4], edx
cmp edx, dword [ebp - 0xc]
jl 0x10005ff5
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
push 0x5cbb9c65
mov ecx, 0x516ae53f
pop edi
xor ecx, edi
mov ebx, ecx
xor ebx, 0xffffffff
and ebx, 0x41b0da58
and ecx, 0xbe4f25a7
mov ebx, 0xa402068
mov ecx, 0x509dd207
xor ebx, ecx
push ebx
mov edi, 0x10504d01
mov ebx, 0x48213290
xor edi, ebx
pop eax
xor edi, eax
mov esi, 0x240814
mov ebx, 0x80c8
xor esi, ebx
mov ebx, 0x15f990ea
mov eax, 0x177195c8
xor eax, ebx
xor esi, eax
xor esi, edi
xor eax, eax
add eax, esi
add eax, esi
je 0x403f46
shl byte [ebx + 0x40c02c], 0xc6
add eax, 0x40c033
add al, dh
add eax, 0x40c034
add al, dh
add eax, 0x40c035
add esp, dword [esi - 0x39]
add eax, 0x40c3dc
add byte [eax], al
mov word [0x40c3ec], 1
call fcn.0040285c
mov eax, 0x40c038
mov edx, 0x404398
call fcn.00403c25
mov eax, 0x40c204
mov edx, 0x404398
call fcn.00403c25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404391
ret

Function at 0x4051fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40523e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405248
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405269
mov al, byte [esp]
jmp 0x40526b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret
Function at 0x4c7e5d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
pop eax
pop ebx
pop edi
push eax
cmp edi, 0xffff
ja 0x4c7e6d
mov ecx, edi
xor edi, edi
mov edx, ebx
cmp word [ebx], 0x5a4d
jne 0x4c7edc
movzx eax, word [ebx + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
jne 0x4c7edc
mov ebx, dword [ebx + 0x78]
add ebx, edx
or edi, edi
je 0x4c7ecd
mov esi, dword [ebx + 0x20]
add esi, edx
mov ecx, dword [ebx + 0x18]
push ebx
xor ebx, ebx
lodsd eax, dword [esi]
add eax, edx
push esi
push edi
xchg esi, edi
xchg edi, eax
lodsb al, byte [esi]
or al, al
jne 0x4c7eab
cmp byte [edi], 0
je 0x4c7eb4
jmp 0x4c7eb2
cmp byte [edi], al
jne 0x4c7eb2
inc edi
jmp 0x4c7e9f
mov al, 1
pop edi
pop esi
or al, al
je 0x4c7ec0
inc ebx
loop 0x4c7e97
pop ebx
jmp 0x4c7edc
xchg ebx, eax
pop ebx
mov esi, dword [ebx + 0x24]
add esi, edx
movzx ecx, word [esi + eax*2]
jmp 0x4c7ed0
sub ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x1c]
add esi, edx
xchg ecx, eax
mov eax, dword [esi + eax*4]
add eax, edx
ret
xor eax, eax
ret

Function at 0x4c855f
Capabilities:
Parse pe header

Disassembly:
enter 4, 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c8596
cmp word [eax], 0x5a4d
jne 0x4c8596
mov ecx, eax
add eax, dword [eax + 0x3c]
cmp word [eax], 0x4550
jne 0x4c8596
cmp dword [eax + 0x88], 0
je 0x4c8596
push ecx
call fcn.004c86ce
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x58f072
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [ebp + 8]
cmp eax, 0x40b
jne 0x58f0d3
cmp byte [0x505fa8], 2
jne 0x58f0d3
mov ecx, dword [0x500e28]
cmp byte [ecx + 0x2a], 0
jne 0x58f0d3
push ecx
call fcn.00482715
push eax
call fcn.0041d8fa
add esp, 4
push edx
push 0
jmp 0x58f0ac
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp al, 5
je 0x58f0c1
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.005448b1
jmp 0x58f0a9
add esp, 4
mov eax, dword [0x505f40]
call fcn.00586550
call fcn.00544961
popal
leave
ret 4

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x4dc547]
shl eax, 2
mov dword [0x4dc54b], eax
push edx
push 0
call fcn.004da5b8
mov edx, eax
call fcn.004cf948
pop edx
call fcn.004cece4
call fcn.004cf94c
push 0
call fcn.004d08d0
pop ecx
push 0x4dc4f0
push 0
call fcn.004da5b8
mov dword [0x4dc54f], eax
push 0
jmp fcn.004d80a8
Function at 0x41f0fa
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push 0
cmp dword [ebp + 0xc], 0
je 0x41f110
mov eax, 2
jmp 0x41f112
xor eax, eax
push eax
push 0
xor edx, edx
mov dl, bl
push edx
call fcn.004daed4
push eax
push ebx
call fcn.004db042
pop ebx
pop ebp
ret
Function at 0x424727
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.004dac16
mov esi, eax
push ebx
call fcn.004dae38
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
inc eax
push eax
call sym.SISCOM.EXE__hb_xgrab
pop ecx
mov edi, eax
push 0
push 0
push 0x31
push ebx
call fcn.004dadf0
push eax
call fcn.004dadf0
push eax
call fcn.004daf58
push eax
push esi
call fcn.004dab3c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.004dad7e
push 1
push esi
call fcn.004dab4e
mov edx, dword [ebp - 4]
inc edx
push edx
push edi
push ebx
call fcn.004dae32
push 0
lea ecx, [ebp - 0x58]
push ecx
push 0xffffffffffffffff
push edi
push esi
call fcn.004dad0c
push edi
call sym.SISCOM.EXE__hb_xfree
pop ecx
push dword [ebp - 8]
push esi
call fcn.004dab3c
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.004dad30
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret