joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441614
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4417bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x4417a0
mov dl, 1
mov eax, dword [0x40c108]
call fcn.00402c28
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004038e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44178f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042fb9c
test al, al
je 0x441782
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4417d0
lea eax, [ebp - 0x254]
call fcn.0040859c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x441782
xor eax, eax
push ebp
push 0x44177b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x441808
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x441764
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b10
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x441764
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441782
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x441685
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040eda4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4417c6
lea eax, [ebp - 0x260]
call fcn.004038e0
ret

Function at 0x44200c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x44b7c8]
cmp byte [eax + 0x95], 0
jne 0x44207d
cmp dword [0x44b7e4], 0
jne 0x44203e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x441fc8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44b7e4], eax
cmp dword [0x44b7e0], 0
jne 0x442059
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x44b7e0], eax
cmp dword [0x44b7e8], 0
jne 0x44207d
push esp
push 0
push 0
push 0x441f6c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x44b7e8], eax
pop edx
ret
Function at 0x442174
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44218b
add esp, 0xfffffff0
call fcn.00402f58
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411d10
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40be08]
call fcn.00402c28
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40be08]
call fcn.00402c28
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x413b68]
call fcn.0041acbc
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x442300
mov eax, dword [0x44ac6c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041b08c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443c80
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44ac6c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040999c
test eax, eax
je 0x44227e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407f3c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004099c4
test eax, eax
je 0x442292
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403b10
mov eax, dword [0x44ab70]
cmp byte [eax], 0
jne 0x4422c3
mov eax, ebx
call fcn.004423ec
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4422f5
call fcn.00402fb0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44265c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44b7c8]
cmp dword [eax + 0x24], 0
je 0x4426ff
cmp dword [ebx + 0x84], 0
jne 0x4426f9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4425ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x4426f9
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 0x4426c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4426f9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040d4cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4426d1
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44310c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x443141
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004039c8
jmp 0x44314b
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403934
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x443ff4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44402c
mov eax, esi
call fcn.0042b910
test al, al
je 0x44402c
mov eax, dword [ebx + 0x74]
call fcn.0042b614
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44402c
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042b614
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10002850
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, 0xffffffff
xor edx, edx
mov si, word [esp + 0x2e]
mov word [esp + 0x2e], 0xb5b0
mov dword [esp + 0x28], 0x645ffa03
cmp eax, 0
mov dword [esp + 0x24], eax
mov word [esp + 0x22], si
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
je 0x100028a7
xor eax, eax
mov ecx, 0xffffffff
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jmp 0x100028e6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, 0x52
sete dl
cmp ecx, eax
sete dh
cmp eax, 4
sete bl
or eax, 2
mov ecx, dword [esp + 0x28]
xor ecx, 0x645ffa01
cmp eax, ecx
sete bh
or dl, bh
or bl, dl
and dh, bl
and dh, 1
movzx eax, dh
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
rdtsc
mov esi, eax
rdtsc
mov edi, eax
xor eax, eax
xor edx, edx
mov eax, dword [esp + 4]
add eax, 1
sub edi, esi
mov edx, dword [esp + 8]
cmp edx, edi
cmovb edx, edi
cmp ecx, edi
cmova ecx, edi
mov esi, dword [esp + 0x24]
cmp eax, esi
mov edi, edx
mov ebx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], edx
je 0x100028a7
jmp 0x100028e6
Function at 0x10012f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, 0x364d1d31
mov dword [esp + 0x48], 0x364d1d31
mov edi, dword [esp + 0x48]
sub esi, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp 0x1001304c
lea esp, [ebp - 0xc]
pop edi
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, ecx
xor edx, 0x364d1d30
mov esi, dword [esp + 0x2c]
mov edi, 0x364d1e31
sub edi, ecx
mov ecx, dword [esp + 0x18]
movzx ebx, byte [ecx + eax]
mov ecx, ebx
mov byte [esp + 0x17], cl
mov cx, word [esp + 0x3c]
or cx, 0xe284
mov word [esp + 0x3c], cx
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov edx, ecx
mov ecx, dword [esp + 0x20]
div ecx
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + edx]
mov al, byte [esp + 0x3f]
xor al, 0xd6
add esi, ebx
add esi, edx
mov byte [esp + 0xb], al
mov eax, esi
cdq
idiv edi
mov eax, edx
mov cl, byte [esp + 0xb]
mov byte [esp + 0x3f], cl
mov esi, dword [esp + 0x18]
mov cl, byte [esi + edx]
mov edi, dword [esp + 0x10]
mov byte [esi + edi], cl
mov cl, byte [esp + 0x17]
mov byte [esi + edx], cl
mov cl, byte [esp + 0x3f]
mov dword [esp + 4], eax
mov al, cl
mul cl
mov byte [esp + 0x3f], al
mov edx, dword [esp + 0xc]
add edi, edx
mov edx, dword [esp + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edi
cmp edi, 0x100
je 0x10012f7d
jmp 0x10012f95
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
and eax, 0x7a3c5ec1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x13b06405
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
xor ecx, 0x7c14c8de
or ecx, eax
mov dword [esp + 0x38], 0x3b096047
mov dword [esp], ecx
je 0x1001304c
jmp 0x10013098
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov dl, al
mov dh, byte [esp + 0x3f]
add dh, byte [esp + 0x3f]
mov byte [esp + 0x3f], dh
mov eax, dword [esp + 0x48]
xor eax, 0x364d1c31
mov esi, dword [esp + 0x18]
mov byte [esi + ecx], dl
mov ecx, dword [esp + 0x28]
add ecx, 1
mov dword [esp + 0x38], ecx
cmp ecx, eax
je 0x10012f85
jmp 0x1001304c
Function at 0x10013bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], 0xeb832598
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x2c], 0x6977a75e
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x74e8e69a
mov dx, word [esp + 0x36]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
xor edi, 0x6ba6cf1b
mov bl, byte [esp + 0x35]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], fcn.10013bc0
not ecx
not eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov word [esp + 0xa], dx
mov byte [esp + 9], bl
jmp 0x10013c6d
mov eax, dword [esp + 0x10]
lea esp, [ebp - 0xc]
pop esi
pop ebx
pop edi
pop ebp
ret
mov eax, dword [esp + 0x2c]
xor eax, 0x9688575e
mov ecx, dword [esp + 0x10]
mov dx, word [esp + 0xa]
imul dx, dx
mov word [esp + 0x36], dx
add ecx, eax
and ecx, 0xfffff000
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
sub eax, 0x171ddbf5
sbb ecx, 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], ecx
jb 0x10013c6d
jmp 0x10013ca0
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 9]
mov byte [esp + 0x35], cl
cmp word [eax], 0x5a4d
jne 0x10013c46
mov eax, dword [esp + 0x10]
mov word [esp + 0x36], 0x3d03
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
je 0x10013c3a
jmp 0x10013c46
Function at 0x10014970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp 0x10014a00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, ecx
mov bl, dl
inc eax
shr ecx, 1
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add edx, edx
adc esi, esi
mov edi, ecx
xor edi, 0xedb88320
test bl, 1
cmove edi, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
cmp eax, 8
mov ecx, edi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
jne 0x1001498b
mov eax, dword [esp + 0x24]
xor eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov dword [eax + ecx*4], edx
add ecx, 1
cmp ecx, 0x100
mov dword [esp + 0x10], ecx
jne 0x10014a00
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, eax
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
jmp 0x1001498b
Function at 0x41c06e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067cfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
lea edi, [ebp - 0x5c]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x34
call fcn.00448ece
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x41c0c2
mov ecx, dword [ebp - 0x18]
call fcn.00404797
mov dword [ebp - 0x1c], eax
jmp 0x41c0c9
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x2c], ecx
mov esi, esp
push 0xfffffffffffffffc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79b4]
cmp esi, esp
call fcn.00448e8e
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], eax
mov esi, esp
push 0x10001b4f
push 0xfffffffffffffffc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79b8]
cmp esi, esp
call fcn.00448e8e
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
push 0x10099040
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79bc]
cmp esi, esp
call fcn.00448e8e
mov esi, esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
push edx
push 0x10099030
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [0x100a79bc]
cmp esi, esp
call fcn.00448e8e
mov esi, esp
push 0x10001b4f
push 0x10099020
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79bc]
cmp esi, esp
call fcn.00448e8e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, 0x100a34b8
call fcn.00404233
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.00448e8e
mov esp, ebp
pop ebp
ret
Function at 0x4627fe
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b178
push 0x1004d448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x46283b
push 0
call dword [0x100a77a8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x462873
push 0xc1
call dword [0x100a76c8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x4629d7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x4628ab
push 0xbf
call dword [0x100a76c8]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x4629d7
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x14]
test ecx, ecx
jne 0x4628d9
push 0xc0
call dword [0x100a76c8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x4629d7
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x4628fe
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x4629b1
push 0x100a2838
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.0044e90e
add esp, 8
test eax, eax
jne 0x4629ac
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x46294d
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x46294f
jmp 0x4629b1
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0x30
jb 0x46297c
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0x727444
je 0x46297e
jmp 0x4629b1
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
jne 0x462992
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [0x100a76c8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x4629d7
jmp 0x4628f5
mov dword [ebp - 4], 0xffffffff
jmp 0x4629ca
push 0xc0
call dword [0x100a76c8]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x40d3c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x40d3da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d3e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d3d0
mov eax, 1
add ebx, ebx
jne 0x40d3f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d404
jne 0x40d423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d423
dec eax
add ebx, ebx
jne 0x40d410
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x40d3e8
add ebx, ebx
jne 0x40d41f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x40d475
xor ecx, ecx
sub eax, 3
jb 0x40d43b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d4aa
sar eax, 1
mov ebp, eax
jmp 0x40d446
add ebx, ebx
jne 0x40d446
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d414
inc ecx
add ebx, ebx
jne 0x40d454
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d414
add ebx, ebx
jne 0x40d461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d456
jne 0x40d472
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d456
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d494
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d486
jmp 0x40d3d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d494
add edi, ecx
jmp 0x40d3d6
pop esi
mov edi, esi
mov ecx, 0x5000
jmp 0x40d4e6
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x40d4c7
cmp al, 0x8f
ja 0x40d4c7
cmp byte [edi - 2], 0xf
je 0x40d4cd
sub al, 0xe8
cmp al, 1
ja 0x40d4f0
cmp byte [edi], 6
jne 0x40d4f0
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x40d4c7
sub ecx, 1
jg 0x40d4b4
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d53d
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd644]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd680]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d4fb
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd684]
or eax, eax
je 0x40d537
mov dword [ebx], eax
add ebx, 4
jmp 0x40d518
call dword [esi + 0xd694]
mov ebp, dword [esi + 0xd688]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x40d571
sub esp, 0xffffff80
jmp 0x403861
Function at 0x423580
Capabilities:
Delete directory
Get common file path
Read file on windows
Set console window title

Disassembly:
mov eax, 0x1464
call fcn.0040e6e0
cmp dword [0x7c13b8], 0x37
jne 0x423672
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4046a4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
push 0
lea edx, [esp + 0x868]
push edx
push 0x4046c0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0xc68]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0x4046ec
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
lea eax, [esp + 8]
push eax
push 0x404720
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0x404758
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0
lea ecx, [esp + 0x68]
push ecx
push 0
push 0x40478c
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
lea edx, [esp + 0x464]
push edx
push 0
push 0x4047c4
push 0x4047d8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 0
push 0
push 0x4047dc
push 0x40480c
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov eax, dword [0x7c13bc]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x44141c]
mov byte [eax + esi], dl
add esp, 0x1464
ret