joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4572eb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4572f9
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4573b4
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x493c60]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x493c60]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x493c60]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x493c60]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x493c60]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x493c60]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x493c60]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x493c60]
add edx, 8
sub edi, 8
dec esi
jne 0x457317
pop ebx
test edi, edi
je 0x4573cd
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x493c60]
inc edx
dec edi
jne 0x4573b8
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x4573d3
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x493c60]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x493c60]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x45789a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x4578ce
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4578c9
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4578f6
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4578df
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0041c260
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret
Function at 0x45890a
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4ad3bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x45893e
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45893e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx ecx, word [esi]
test cx, cx
je 0x4589e8
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x45895a
cmp cx, 0x5c
jne 0x45895c
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x45894e
cmp eax, esi
je 0x45899c
sub eax, esi
push edi
sar eax, 1
lea edi, [eax + eax]
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0041c260
xor eax, eax
mov word [ebp + edi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push ebx
call fcn.0045890a
add esp, 0x14
pop edi
xor eax, eax
mov word [ebp - 0x20c], ax
test ebx, ebx
je 0x4589b8
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00482cf7
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00482cc6
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4589e8
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c9f1
leave
ret

Function at 0x459f85
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45a030
cmp dword [esi + 4], 0xffffffff
jne 0x45a030
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.0042aa9f
movzx eax, word [esi + eax*2 + 0x242]
pop ecx
cmp eax, 0x5c
je 0x459fd7
cmp eax, 0x2f
je 0x459fd7
push 0x4a1578
push edi
call fcn.00482cc6
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x459ff9
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x459ff9
mov eax, 0x2000000
jmp 0x45a035
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004576bf
add esp, 0x10
test eax, eax
jne 0x45a017
mov eax, dword [ebp + 0x10]
jmp 0x45a035
push eax
call fcn.00459a5a
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x45a035
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x45c62c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x69c], ebx
je 0x45c693
cmp dword [ebp + 8], 0x100
jne 0x45c682
cmp dword [ebp + 0xc], 0xd
jne 0x45c682
cmp byte [esi + 0x6a2], bl
je 0x45c669
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45c682
cmp byte [esi + 0x6a3], bl
jne 0x45c682
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
je 0x45c67e
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.0043829c
xor eax, eax
jmp 0x45c696
mov eax, dword [esi + 0x69c]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4639b2
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ad3bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [ebp + 0xc]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov esi, eax
cmp ebx, 0x21
jb 0x463a02
cmp ebx, 0x28
jbe 0x4639fc
cmp ebx, 0x2c
jbe 0x463a02
cmp ebx, 0x2e
ja 0x463a02
or esi, 0x100
cmp dword [ebp + 0x10], 0
je 0x463a0e
or esi, 0x1000000
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00420c90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
shl esi, 0x10
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.00431607
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c9f1
leave
ret 0xc

Function at 0x46f164
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00472a6e
Function at 0x470487
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4ad3bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
and dword [ebx + 0x778], 0
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x774], eax
mov dword [ebx + 0x77c], ecx
test eax, eax
jne 0x4704ef
call fcn.00470385
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0xc]
test esi, esi
je 0x4704ef
call fcn.00470385
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x14]
lea esi, [ebx + 0x10]
call fcn.00470385
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, dword [ebx + 0x774]
test ecx, ecx
jne 0x47050c
mov ecx, edi
jmp 0x470513
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0043466e
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.00430eed
push 0
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x88
push SysReAllocString
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp - 0x18]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00430e8a
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x470556
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x470551
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c9f1
leave
ret 0x1c
Function at 0x47882c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x4ad3bc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x478858
xor eax, eax
jmp 0x4788d7
push 0xfe
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.00420c90
add esp, 0xc
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x478854
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.0041c260
movzx eax, byte [ebp - 0x298]
movzx ecx, byte [ebp - 0x297]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add esp, 0xc
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c9f1
leave
ret

Function at 0x47bd7c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4ad3bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x47be08
cmp dword [esi + 0x10], ebx
je 0x47be08
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00429ef0
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x47be08
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1cc
call fcn.0043136f
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0043829c
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0043482d
test al, al
je 0x47be08
mov ecx, dword [esi + 0x10]
call fcn.0043c0cf
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c9f1
leave
ret 0x10
Function at 0x480640
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 8
call fcn.0041f600
mov eax, dword [esp + 0xc]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 3]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 4]
mov dword [esp], ecx
movzx ecx, byte [eax + 7]
push esi
movzx esi, byte [eax + 5]
movzx eax, byte [eax + 6]
shl ecx, 8
shl esi, 8
or ecx, eax
or edx, esi
shl ecx, 0x10
or ecx, edx
cmp dword [esp + 0x24], 0
mov dword [esp + 8], ecx
pop esi
je 0x4806b6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00481ca0
jmp 0x4806cf
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.00481dd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x14]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
add esp, 0x10
shr ecx, 0x18
mov byte [eax + 6], dl
mov byte [eax + 7], cl
add esp, 8
ret
Function at 0x40b1e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0x3b8
xor edi, edi
lea eax, [esi + 0x74]
push edi
push eax
call fcn.00500800
push 0x110
lea ecx, [ebp - 0x114]
push edi
push ecx
mov dword [esi + 0x42c], edi
mov dword [esi + 0x430], 1
mov dword [esi + 0x434], 1
mov dword [esi + 0x474], edi
mov dword [esi + 0x478], 1
mov dword [esi + 0x438], edi
mov dword [esi + 0x458], edi
mov dword [esi + 0x470], edi
mov dword [esi + 0x440], edi
mov dword [esi + 0x47c], edi
mov dword [ebp - 0x118], 0x114
call fcn.00500800
add esp, 0x18
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x40b2a9
cmp dword [ebp - 0x114], 5
jb 0x40b2a9
mov eax, 1
pop edi
mov dword [esi + 0x43c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffd80
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi + 0x43c], edi
pop edi
xor ecx, ebp
pop esi
call fcn.004ffd80
mov esp, ebp
pop ebp
ret

Function at 0x415a72
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x415ab9
call fcn.0040f5dc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x415ab9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x415ad5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00415572
mov esi, eax
test edi, edi
je 0x415ad3
test ebx, ebx
je 0x415ad3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416571
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x519a1d
call fcn.005013fe
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x416596
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4165e8
call fcn.0040ce35
push eax
lea ecx, [ebp - 0x10]
call fcn.00401590
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00500b9c
push eax
call fcn.00401050
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401270
mov eax, esi
call fcn.005014d6
ret 8
Function at 0x416614
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x416659
push 0x52df38
push 4
push eax
call fcn.00500b39
push eax
call fcn.00401050
add esp, 0x10
jmp 0x41666f
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4166ef
push edi
call fcn.0050158f
mov edi, dword [eax]
call fcn.0050158f
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00500898
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0050158f
cmp dword [eax], 0
je 0x4166c3
call fcn.0050158f
push dword [eax]
call fcn.0040c6f6
pop ecx
jmp 0x4166ca
call fcn.0050158f
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x4166ef
cmp dword [ebp - 0x234], esi
jae 0x4166ef
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4166f1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ffd80
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x354154a2
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x26133ecf
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x101787f0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101789d4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
or ebp, 0xffffffff
jmp 0x1017881a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10178821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10178810
mov eax, 1
add ebx, ebx
jne 0x10178833
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10178844
jne 0x10178863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10178863
dec eax
add ebx, ebx
jne 0x10178850
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10178828
add ebx, ebx
jne 0x1017885f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101788b5
xor ecx, ecx
sub eax, 3
jb 0x1017887b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101788ea
sar eax, 1
mov ebp, eax
jmp 0x10178886
add ebx, ebx
jne 0x10178886
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10178854
inc ecx
add ebx, ebx
jne 0x10178894
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10178854
add ebx, ebx
jne 0x101788a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10178896
jne 0x101788b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10178896
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101788d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101788c6
jmp 0x10178816
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101788d4
add edi, ecx
jmp 0x10178816
pop esi
mov edi, esi
mov ecx, 0x32c9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101788f2
cmp byte [edi], 0xc
jne 0x101788f2
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 0x101788f7
lea edi, [esi + 0x169000]
mov eax, dword [edi]
or eax, eax
je 0x10178966
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1788f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1789e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10178924
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1789ec]
or eax, eax
je 0x10178960
mov dword [ebx], eax
add ebx, 4
jmp 0x10178941
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10178997
cmp al, 0xef
ja 0x1017898a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1017896c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10178979
mov ebp, dword [esi + 0x1789f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x101789cb
sub esp, 0xffffff80
jmp 0x100de665
Function at 0x210053d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x18], 0
jge 0x210053e2
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
jmp 0x21005404
push 2
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x2100545d
cmp dword [ebp + 0x14], 0
jle 0x2100541e
push 5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x21005430
cmp dword [ebp + 0x14], 0
jne 0x21005430
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x18], 0
jl 0x21005444
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jne 0x2100545b
jmp 0x2100545d
jmp 0x210053f5
mov esp, ebp
pop ebp
ret 0x14

Function at 0x210074c1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.21030110
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop ebp
ret 0xc
Function at 0x21008213
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x21008223
xor eax, eax
jmp 0x2100828a
mov dword [ebp - 0x10], 0
push 4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.21030960
add esp, 0xc
push 4
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 8]
push eax
call fcn.21030960
add esp, 0xc
push 4
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.21030960
add esp, 0xc
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2100827c
jmp 0x21008288
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
jmp 0x2100828a
jmp 0x21008283
mov esp, ebp
pop ebp
ret 0x10

Function at 0x21008290
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
jne 0x210082a3
xor eax, eax
jmp 0x2100835c
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
call fcn.2103d925
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x210082d6
xor eax, eax
jmp 0x2100835c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
cmp dword [ebp + 0x14], 0
je 0x210082fb
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.21030960
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x14]
add edx, 4
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2100831c
jmp 0x2100835a
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x2100833a
jmp 0x21008358
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.2103d94e
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x2100835c
jmp 0x21008341
jmp 0x21008341
mov esp, ebp
pop ebp
ret 0x18