joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bf5a
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x48bfda
cmp dword [ebp + 0xc], ecx
jne 0x48bfda
cmp dword [ebx + 0x94], ecx
jne 0x48bfda
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x48bfd0
cmp eax, 0xffffffff
je 0x48bfd0
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.0040a445
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x48bfda
xor eax, eax
jmp 0x48c11a
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x48c015
cmp dword [ebp + 0xc], 0
jne 0x48c015
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.0040a445
test eax, eax
jne 0x48bfc9
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x48c03b
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x48c03b
cmp eax, 0xffffffff
je 0x48c03b
cmp dword [ebx + 0x90], ecx
jne 0x48c03b
cmp dword [ebx + 0xa8], ecx
je 0x48bfc9
push dword [ebx + 0x6c]
push 0x573534
call fcn.00414579
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x48c074
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x48c0da
push edi
jmp 0x48c0d5
push dword [ebx + 0x6c]
push 0x573174
call fcn.00414579
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x48c0a0
cmp eax, edi
je 0x48c0a0
cmp dword [0x5791dc], edi
jne 0x48c0a0
push 1
push ebx
mov ecx, eax
call fcn.00474203
jmp 0x48c0cd
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48c0b8
push edi
call fcn.00423e2c
cmp eax, edi
je 0x48c0b8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x48bfc9
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48c0da
push ebx
call fcn.00426aa5
cmp dword [ebx + 0x6c], edi
je 0x48c117
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00416cda
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4a0571
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x523eb5
call fcn.00503975
xor edi, edi
cmp dword [0x573054], edi
je 0x4a063a
cmp dword [0x573d44], 0xfffffffe
jne 0x4a0627
cmp dword [ebp + 8], 0xffffffff
je 0x4a063a
test byte [0x57aec8], 1
mov esi, 0x57aea8
jne 0x4a05d0
or dword [0x57aec8], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004355d1
push 0x52a8ff
call fcn.00503165
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.00435628
cmp dword [0x57aea4], edi
je 0x4a05e4
call fcn.00404d94
push edi
push edi
push 0x4a0519
call fcn.00507b34
add esp, 0xc
mov dword [0x57aea4], eax
cmp eax, edi
jbe 0x4a0614
cmp eax, 0xffffffff
je 0x4a0614
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x573d44], eax
jmp 0x4a061a
mov dword [0x57aea4], edi
push 0x57aeb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4a063a
mov eax, dword [ebp + 8]
mov dword [0x573d44], eax
cmp eax, 0xffffffff
jne 0x4a063a
mov dword [0x57aea4], edi
call fcn.00503a4d
ret
Function at 0x4dbba5
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x5264d9
call fcn.005039de
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.004e16ce
push 0x15c
call fcn.00403b24
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4dbbe9
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004e2fb0
jmp 0x4dbbeb
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004e16a0
call fcn.00409833
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x4dbd8b
cmp dword [edi + 4], ebx
jle 0x4dbd8b
lea ecx, [ebp - 0x21c]
call fcn.004015e0
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4dbd6f
lea ecx, [ebp - 0x220]
call fcn.004015e0
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4dbcc0
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.00401560
add esp, 0xc
jmp 0x4dbcf2
jge 0x4dbce0
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.00401560
add esp, 0x10
jmp 0x4dbcf2
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401e90
push 0x15c
call fcn.00403b24
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4dbd16
mov ecx, eax
call fcn.004b4a2c
mov esi, eax
jmp 0x4dbd18
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.00411797
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.004e16a0
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004015c0
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004015c0
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4dbc59
call fcn.00503a61
ret
Function at 0x4e0831
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e0849
mov edi, dword [esi + 0xc]
jmp 0x4e0889
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e0862
call fcn.00412684
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e0877
call fcn.00412684
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e0889
call fcn.00412684
call fcn.00409833
cmp dword [eax + 0x3c], 0
je 0x4e089e
push edi
mov ecx, ebx
call fcn.004df68a
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e0757
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4e08bc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e08c8
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4e7dd4
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4e7e1e
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e7e1e
call fcn.004e768f
test eax, eax
je 0x4e7e1e
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00403a90
xor eax, eax
inc eax
jmp 0x4e8036
cmp dword [ebx + 4], 0x100
push edi
jne 0x4e802d
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4e7f1b
push 0x11
call edi
test ax, ax
jl 0x4e7f1b
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e7f1b
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4e7e8e
cmp eax, 0x20
jbe 0x4e7f1b
cmp eax, 0x24
jbe 0x4e7e81
cmp eax, 0x26
je 0x4e7e81
cmp eax, 0x28
jne 0x4e7f1b
call fcn.004e768f
test eax, eax
je 0x4e7f1b
mov ecx, esi
call fcn.00413bc1
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004e768f
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4e7ec3
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00403a90
jmp 0x4e8028
call fcn.0040dd3b
test eax, eax
je 0x4e8028
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0040dd73
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4e7ef1
xor edi, edi
jmp 0x4e7ef4
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.0040dd3b
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4e8028
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4e7ff7
sub eax, 0x12
je 0x4e7fcf
sub eax, 0xb
je 0x4e7f3d
dec eax
dec eax
jne 0x4e802d
push 0x12
call edi
test ax, ax
jl 0x4e802d
push 0x11
call edi
test ax, ax
jl 0x4e802d
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e802d
call fcn.004e768f
test eax, eax
jne 0x4e8028
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004e7609
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040c6ae
test eax, eax
je 0x4e8028
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0040c6ae
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4e8028
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e7fe3
push 0
call fcn.004e7609
mov ecx, esi
call fcn.0040d809
test eax, eax
je 0x4e802d
mov ecx, esi
call fcn.0040d809
jmp 0x4e8021
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040c6ae
test eax, eax
je 0x4e802d
push dword [esi + 0x20]
call edi
push eax
call fcn.0040c6ae
push 0
push esi
mov ecx, eax
call fcn.0040fc7e
mov ecx, eax
call fcn.00413bc1
xor eax, eax
inc eax
jmp 0x4e8035
push ebx
mov ecx, esi
call fcn.0040a4b9
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4fd2cb
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x4fd310
test edi, edi
jl 0x4fd310
cmp ax, 0x20
je 0x4fd305
cmp word [ebp + 8], 0x71
jne 0x4fd310
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x50271c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x575834]
jne 0x502726
repz ret
jmp fcn.00509816

Function at 0x5152b8
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.0050917a
and dword [ebp - 4], 0
cmp dword [0x57cc74], 0
mov ebx, eax
jne 0x515369
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51541a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x51541a
push eax
call fcn.00509108
mov dword [esp], 0x552f10
push edi
mov dword [0x57cc74], eax
call esi
push eax
call fcn.00509108
mov dword [esp], 0x552efc
push edi
mov dword [0x57cc78], eax
call esi
push eax
call fcn.00509108
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x57cc7c], eax
call esi
push eax
call fcn.00509108
pop ecx
mov dword [0x57cc84], eax
test eax, eax
je 0x515369
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00509108
pop ecx
mov dword [0x57cc80], eax
mov eax, dword [0x57cc80]
cmp eax, ebx
je 0x5153c1
cmp dword [0x57cc84], ebx
je 0x5153c1
push eax
call fcn.00509183
push dword [0x57cc84]
mov esi, eax
call fcn.00509183
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5153c1
test edi, edi
je 0x5153c1
call esi
test eax, eax
je 0x5153b8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5153b8
test byte [ebp - 0xc], 1
jne 0x5153c1
or dword [ebp + 0x10], 0x200000
jmp 0x5153fa
mov eax, dword [0x57cc78]
cmp eax, ebx
je 0x5153fa
push eax
call fcn.00509183
pop ecx
test eax, eax
je 0x5153fa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5153fa
mov eax, dword [0x57cc7c]
cmp eax, ebx
je 0x5153fa
push eax
call fcn.00509183
pop ecx
test eax, eax
je 0x5153fa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x57cc74]
call fcn.00509183
pop ecx
test eax, eax
je 0x51541a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x51541c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3af90606
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x66dd2eba
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1001cf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1001cf4f
pop dword [ebp - 0x44]
mov eax, 0x1eaa2d56
sub eax, 0xea85e07
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xcdbe8402
add dword [ebp - 0x54], 0x8093c149
mov dword [ebp - 0x50], 0x612cc4d
add dword [ebp - 0x50], 0x2c207ff8
mov dword [ebp - 0x4c], 0x29e9fef6
sub dword [ebp - 0x4c], 0xdd9dbac8
mov dword [ebp - 0x48], 0x13109667
sub dword [ebp - 0x48], 0x13109667
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x9427f699
sub dword [ebp - 0x54], 0x1fb58d43
mov dword [ebp - 0x50], 0x694ff15c
add dword [ebp - 0x50], 0xd81c7019
mov dword [ebp - 0x4c], 0xfe9badf9
add dword [ebp - 0x4c], 0x64d3be73
mov dword [ebp - 0x48], 0x30a8f0d3
sub dword [ebp - 0x48], 0x30a8f0d3
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xf8f321b2
add eax, 0x17114f32
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x442af
push 0
call eax
mov ecx, 0x41bb70a8
add ecx, 0xbe44de2e
mov edx, eax
mov esi, 0xed5f2064
add esi, 0x22a70f9c
add esi, dword [ebp - 0x44]
mov ebx, 0xed54fb0a
add ebx, 0x4e684c44
xor dword [ebp - 0x38], 0x5e19d96c
mov edi, dword [esi]
add dword [ebp - 0x30], 0xe7ada62a
xor edi, ebx
add dword [ebp - 0x20], 0x825ecf84
mov dword [edx], edi
xor dword [ebp - 0x20], ecx
add edx, 0x3d0648eb
sub edx, 0x3d0648e7
add esi, 0xb3e69a33
add esi, 0x4c1965d1
loop 0x1001d06c
add eax, 0xf222d71c
sub eax, 0xf221a8f1
mov ebx, eax
add eax, 0x49e0a491
sub eax, 0x49e0a48c
mov ecx, 0x41a33fbe
add ecx, 0xce5cc042
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1045e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1045e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1045e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1045e06a
add dl, dl
jne 0x1045e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1045e0dc
xor eax, eax
add dl, dl
jne 0x1045e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1045e17d
add dl, dl
jne 0x1045e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1045e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1045e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1045e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1045e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1045e075
mov eax, 1
add dl, dl
jne 0x1045e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1045e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1045e0e1
sub eax, ebx
mov ebx, 1
jne 0x1045e128
mov ecx, 1
add dl, dl
jne 0x1045e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1045e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1045e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1045e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1045e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1045e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1045e136
cmp eax, 0x7d00
jae 0x1045e16d
cmp eax, 0x500
jb 0x1045e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1045e075
cmp eax, 0x7f
ja 0x1045e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1045e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1045e19e
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 0x1045e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4016e1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.USER32.dll_FindWindowA
or eax, eax
je 0x401761
mov dword [0x40353b], eax
push 0x403543
push dword [0x40353b]
call sub.USER32.dll_GetWindowThreadProcessId
push dword [0x403543]
push 0
push 0x1f0fff
call sub.KERNEL32.dll_OpenProcess
mov dword [0x40353f], eax
push 0x403547
push 0x40
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [0x40353f]
call sub.KERNEL32.dll_VirtualProtectEx
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [0x40353f]
call sub.KERNEL32.dll_WriteProcessMemory
push dword [0x40353f]
call sub.KERNEL32.dll_CloseHandle
mov eax, 1
leave
ret 0x14
mov eax, 0
leave
ret 0x14
Function at 0x566440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf1000]
push edi
or ebp, 0xffffffff
jmp 0x566462
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x566469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x566458
mov eax, 1
add ebx, ebx
jne 0x56647b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56648c
jne 0x5664ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5664ab
dec eax
add ebx, ebx
jne 0x566498
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x566470
add ebx, ebx
jne 0x5664a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5664fd
xor ecx, ecx
sub eax, 3
jb 0x5664c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x566532
sar eax, 1
mov ebp, eax
jmp 0x5664ce
add ebx, ebx
jne 0x5664ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56649c
inc ecx
add ebx, ebx
jne 0x5664dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56649c
add ebx, ebx
jne 0x5664e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5664de
jne 0x5664fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5664de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56651c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56650e
jmp 0x56645e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56651c
add edi, ecx
jmp 0x56645e
pop esi
mov edi, esi
mov ecx, 0x445b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56653a
cmp byte [edi], 0x26
jne 0x56653a
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 0x56653f
lea edi, [esi + 0x163000]
mov eax, dword [edi]
or eax, eax
je 0x5665b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a8628]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a872c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56656c
mov ecx, edi
jns 0x56659b
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 + 0x1a8730]
or eax, eax
je 0x5665b1
mov dword [ebx], eax
add ebx, 4
jmp 0x566589
call dword [esi + 0x1a8740]
mov ebp, dword [esi + 0x1a8734]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x5665eb
sub esp, 0xffffff80
jmp 0x4930dd
Function at 0x418398
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x4183b1
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4183d0
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4183c7
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4183bf
mov eax, ebx
leave
ret

Function at 0x4183f6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x418418
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x418424
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x418473
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x41845f
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x418449
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret