joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e0fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100e0ffb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100e0ffb
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100e0fe8
cmp esi, edx
jae 0x100e0ffb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100e0fd6
cmp esi, edx
jae 0x100e0ffb
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x100e4540
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
xor esi, esi
mov dword [ebp - 4], eax
push edi
mov edi, edx
test ebx, ebx
jle 0x100e45aa
mov ecx, dword [edi]
mov eax, dword [eax]
mov ecx, dword [eax + ecx*4]
cmp dword [ecx - 0xc], 0
jl 0x100e45b3
movzx eax, word [ecx]
add eax, 0xffffffbf
cmp eax, 0x39
ja case.0x100e4576.66
movzx eax, byte [eax + 0x100e45c8]
jmp dword [eax*4 + 0x100e45c0]
call fcn.100e9bd0
mov eax, dword [ebp + 0xc]
movss dword [eax + esi*4], xmm0
inc esi
inc dword [edi]
cmp esi, ebx
jge 0x100e45aa
mov eax, dword [ebp - 4]
jmp 0x100e4557
push 0x1015a714
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.100e0eb0
nop dword [eax]
xchg esi, eax
inc ebp
push cs
adc byte [ebp + 0x45], bh
push cs
adc byte [eax], al
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add dword [eax], eax
add dword [eax], eax
add byte [ecx], al
add byte [ecx], al
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add dword [eax], eax
add dword [eax], eax
add byte [ecx], al
add byte [ecx], al
add dword [ecx], eax
add ah, cl
int3
Function at 0x100e5190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101313b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10158008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
push 0x40
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10110e24
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, esp
lea edi, [ebp - 0x1c]
push eax
call fcn.100e8c80
mov edx, edi
mov ecx, esi
call fcn.100e1db0
push 0x48
call fcn.10110e24
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov dword [edi], vtable.CSVGElementBase.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call dword [sym.imp.gdiplus.dll_GdipCreateMatrix]
mov dword [edi + 0x10], eax
lea ecx, [esi + 4]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0xc], eax
mov dword [edi], vtable.CSVGElementGroup.0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], vtable.CSVGImage.0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], edi
cmp eax, dword [ecx + 8]
je 0x100e52b6
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x100e52c0
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.100e9280
lea ecx, [ebp - 0x1c]
call fcn.100e1fe0
cvtss2sd xmm0, xmm0
sub esp, 0x10
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1011e1bd
movsd xmm0, qword [0x101429b0]
fstp qword [esp + 8]
movsd qword [esp], xmm0
call fcn.1011e501
add esp, 0xc
mov ecx, esp
fstp dword [edi + 0x14]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100e5313
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 1
call fcn.100e5370
mov eax, dword [ebp - 0x1c]
add esp, 4
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.100e93e0
push 0x40
push dword [ebp - 0x1c]
call fcn.10110e54
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
test eax, eax
je 0x100e5354
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100ea530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100ea57e
cmp byte [esi + 0xc], 0
jne 0x100ea57e
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 1
test eax, eax
je 0x100ea57e
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push esi
push 0x100ea290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 4
Function at 0x100ea590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100ea646
cmp byte [esi + 0xc], 0
jne 0x100ea646
cmp dword [esi + 0x24], 0
mov ecx, dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
jle 0x100ea5e3
mov eax, dword [esi + 4]
test eax, eax
je 0x100ea5e3
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ebx
test ebx, ebx
js 0x100ea64b
test edi, edi
js 0x100ea64b
push edi
push ebx
push eax
push 0
call ecx
test eax, eax
jne 0x100ea644
mov ecx, dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov edx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ebx
test edx, edx
je 0x100ea628
push 0x3a98
push 0x3a98
push edx
push 0
call ecx
push 0
push 0
push dword [esi + 4]
push 0x100ea350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 4]
mov dword [eax], 0
test ebx, ebx
js 0x100ea644
test edi, edi
js 0x100ea644
push dword [esi + 0x28]
push edi
push ebx
push esi
push 0x100ea370
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push dword [esi + 4]
push 0x100ea350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov dword [esi + 4], 0
pop esi
pop ebp
ret 0xc
Function at 0x100fe1e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp word [0x1015c4d0], 0
push esi
push edi
mov esi, ecx
jne 0x100fe2c9
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, str.C:ExuiKrnln_win32.ini
push ebx
push 0
push 0
push 3
push 0
push 1
test esi, esi
mov eax, str.C:ExuiKrnln_win64.ini
push SysReAllocString
cmove eax, ecx
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100fe24d
push 0
push 0
push 3
push 0
push 1
mov ecx, str.D:ExuiKrnln_win32.ini
test esi, esi
mov eax, str.D:ExuiKrnln_win64.ini
push SysReAllocString
cmove eax, ecx
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100fe2c8
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x208
push eax
push 0x104
push 0x1015c4d0
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100fe2c1
mov eax, dword [ebp - 4]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x100fe2e0
xor ecx, ecx
mov word [eax + 0x1015c4d0], cx
mov ecx, 0x1015c4d0
call fcn.100d58c0
mov esi, eax
mov ecx, 0x82
mov edi, 0x1015c4d0
mov eax, 0x206
rep movsd dword es:[edi], dword [esi]
cmp word [eax + 0x1015c4d0], 0x5c
je 0x100fe2c1
cmp eax, 0x208
jae 0x100fe2e0
xor ecx, ecx
mov word [eax + 0x1015c4d0], cx
sub eax, 2
jns 0x100fe2a2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, 0x82
mov esi, 0x1015c4d0
mov edi, 0x1015c6d8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10110f8d
int3
Function at 0x10106120
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
cmp ebx, 1
jge 0x1010613b
xor eax, eax
pop ebx
pop ebp
ret 4
push esi
push edi
lea esi, [ebx*2 + 4]
push esi
call fcn.10110e62
push esi
mov edi, eax
push 0
push edi
call fcn.10112ca0
add esp, 0x10
lea ecx, [ebx + 1]
push ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.100d5110
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x10109a70
Capabilities:
Get graphical window text

Disassembly:
cmp edx, 0x40
jg 0x10109b7e
je 0x10109b5d
dec edx
cmp edx, 0x1f
ja case.0x10109a90.3
movzx eax, byte [edx + 0x10109c60]
jmp dword [eax*4 + 0x10109c44]
cmp dword [ecx + 0x6c], 0xf
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0xf
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x11
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x11
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x13
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x13
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x12
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x12
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x10
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x10
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x14
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x14
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x15
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x15
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp edx, 0x400
jg 0x10109bf7
je 0x10109bda
cmp edx, 0x80
je 0x10109bbd
cmp edx, 0x200
jne case.0x10109a90.3
cmp dword [ecx + 0x6c], 0xd
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x16
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x16
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp edx, 0x800
je 0x10109c24
cmp edx, 0x1000
jne case.0x10109a90.3
cmp dword [ecx + 0x6c], 6
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 6
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 3
je case.0x10109a90.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 3
call dword [sym.imp.USER32.dll_SendMessageW]
ret
Function at 0x10110ca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jl 0x10110e09
cmp dword [esi + 0x2c], 0xffffffff
jge 0x10110d23
mov edi, dword [esi + 0x180]
mov dword [esi + 0x17c], 0
test edi, edi
je 0x10110e09
cmp byte [edi + 0xc], 0
jne 0x10110d11
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10110d11
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100ea290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x180], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [esi + 0x178]
lea edi, [esi + 0x180]
mov ebx, edi
cmp dword [eax + 0xc], 0
jle 0x10110d51
mov eax, dword [eax + 0x10]
cmp dword [eax], 0
je 0x10110d51
mov eax, dword [esi + 0x17c]
inc eax
mov dword [esi + 0x17c], eax
cmp eax, 4
jle 0x10110dc2
mov edi, dword [edi]
mov dword [esi + 0x17c], 0
test edi, edi
je 0x10110da6
cmp byte [edi + 0xc], 0
jne 0x10110da0
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10110da0
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100ea290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
cmp dword [edi], 0
jne 0x10110e09
mov ecx, dword [esi + 0x178]
cmp dword [ecx + 0xc], 0
jg 0x10110ded
xor edx, edx
xor eax, eax
jmp 0x10110df4
mov eax, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, edx
push 0x20
push 0
push 0
push esi
push fcn.10110ca0
push edx
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [ebx], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18

Function at 0x101257d1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10125491

Function at 0x1012c2d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1012c2fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1012c2fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100096d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000989d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x100096fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10009701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100096f0
mov eax, 1
add ebx, ebx
jne 0x10009713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10009708
jne 0x10009724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10009708
xor ecx, ecx
sub eax, 3
jb 0x10009738
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100097aa
mov ebp, eax
add ebx, ebx
jne 0x10009743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10009750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10009774
inc ecx
add ebx, ebx
jne 0x10009760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10009755
jne 0x10009771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10009755
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10009794
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10009785
jmp 0x100096f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10009794
add edi, ecx
jmp 0x100096f6
pop esi
mov edi, esi
mov ecx, 0x7b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100097b2
cmp byte [edi], 4
jne 0x100097b2
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 0x100097b7
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x1000982f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x921c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100097e4
mov ecx, edi
jns 0x10009813
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 + 0x9220]
or eax, eax
je 0x10009829
mov dword [ebx], eax
add ebx, 4
jmp 0x10009801
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 0x10009860
cmp al, 0xef
ja 0x10009853
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10009835
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10009842
mov ebp, dword [esi + 0x9224]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x10009894
sub esp, 0xffffff80
jmp 0x100032af

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x40668f
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00406178
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test cl, 8
je 0x4066c4
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x470668], eax
jmp 0x40686a
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x4066df
test eax, eax
je 0x406815
test cl, 2
je 0x406815
push edi
push ebx
mov esi, 0x45b908
push esi
call fcn.00405bee
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x406702
push 0x4089dc
push esi
call edi
jmp 0x406708
push ebx
call fcn.0040614b
cmp word [ebx], 0
jne 0x406718
cmp word [0x45b908], 0x5c
jne 0x406720
push 0x4082c8
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebx + eax*2]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x406804
lea esi, [ebp - 0x230]
push 0x3f
mov eax, esi
push eax
call fcn.004058e9
xor edi, edi
cmp word [eax], di
je 0x406767
cmp word [ebp - 0x28], di
je 0x406767
lea esi, [ebp - 0x28]
cmp word [esi], 0x2e
jne 0x406782
movzx eax, word [esi + 2]
cmp ax, di
je 0x4067e1
cmp ax, 0x2e
jne 0x406782
cmp word [esi + 4], di
je 0x4067e1
push esi
push dword [ebp - 4]
call fcn.00405bee
test byte [ebp - 0x25c], 0x10
je 0x4067a9
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4067e1
push dword [ebp + 0xc]
push ebx
call fcn.0040668f
jmp 0x4067e1
push ebx
call fcn.00405a14
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4067d9
test byte [ebp + 0xc], 4
je 0x4067d1
push ebx
push 0xfffffffffffffff1
call fcn.00404ba9
push edi
push ebx
call fcn.0040665c
jmp 0x4067e1
inc dword [0x470668]
jmp 0x4067e1
push ebx
push 0xfffffffffffffff2
call fcn.00404ba9
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406747
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x406806
xor edi, edi
cmp dword [ebp + 8], edi
pop edi
je 0x406815
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ecx - 2], ax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x406869
cmp dword [ebp - 0xc], esi
je 0x406859
push ebx
call fcn.00405cce
test eax, eax
je 0x406869
push ebx
call fcn.0040611c
push ebx
call fcn.00405a14
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x406861
test byte [ebp + 0xc], 4
je 0x406859
push ebx
push 0xfffffffffffffff1
call fcn.00404ba9
push esi
push ebx
call fcn.0040665c
jmp 0x406869
inc dword [0x470668]
jmp 0x406869
push ebx
push 0xffffffffffffffe5
call fcn.00404ba9
pop esi
pop ebx
leave
ret 8
Function at 0x81e3c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x217000]
push edi
or ebp, 0xffffffff
jmp 0x81e3e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x81e3e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81e3d8
mov eax, 1
add ebx, ebx
jne 0x81e3fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x81e40c
jne 0x81e42b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81e42b
dec eax
add ebx, ebx
jne 0x81e418
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x81e3f0
add ebx, ebx
jne 0x81e427
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x81e47d
xor ecx, ecx
sub eax, 3
jb 0x81e443
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x81e4b2
sar eax, 1
mov ebp, eax
jmp 0x81e44e
add ebx, ebx
jne 0x81e44e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81e41c
inc ecx
add ebx, ebx
jne 0x81e45c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81e41c
add ebx, ebx
jne 0x81e469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x81e45e
jne 0x81e47a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x81e45e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x81e49c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x81e48e
jmp 0x81e3de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x81e49c
add edi, ecx
jmp 0x81e3de
pop esi
mov edi, esi
mov ecx, 0x1284d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x81e4ba
cmp byte [edi], 0xa3
jne 0x81e4ba
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 0x81e4bf
lea edi, [esi + 0x414000]
mov eax, dword [edi]
or eax, eax
je 0x81e52e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4222c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4223f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x81e4ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4223f8]
or eax, eax
je 0x81e528
mov dword [ebx], eax
add ebx, 4
jmp 0x81e509
call dword [esi + 0x422408]
mov ebp, dword [esi + 0x4223fc]
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 0x81e562
sub esp, 0xffffff80
jmp 0x6126cc