joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ss
inc ebp
or al, 0x33
leave
push esi
sub esi, esi
or byte [eax + 0xe], cl
or byte [eax + 0xe], cl
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 8]
shl edx, 3
mov dword [eax], ebx
xor edx, edx
mov dx, word [eax + 0xc]
push 0x8733b551
mov dx, word [eax + 0xa]
push ebx
add al, 8
xor eax, ebp
sub al, 0x8b
push eax
or byte [ebp + 0x51], ah
or al, 0x33
sal ch, cl
mov edx, dword [eax + 6]
mov dword [ecx + 0x10], edx
xor ebp, dword [ebx]
jbe 0x406a49
mov al, byte [0x51894a02]
adc al, 0x33
shl byte [esi + 0x76], cl
adc byte [ecx + 0x742ea], al
add byte [ecx - 0x2de4e7af], cl
movsw word es:[edi], word [esi]
push eax
add al, 0x60
push ecx
sbb al, 0x8b
push ecx
adc al, 0x66
dec esp
jo 0x406ab2
mov edx, dword [edx*4 + 0x40c240]
lea edx, [edx + esi - 1]
xor esi, esi
mov dword [ecx + 0x20], edx
xor edx, edx
mov dword [ecx + 0x24], edx
xor edx, dword [ecx + 0x40]
add byte [ebp + 0x33ff3254], cl
test byte [ecx - 0x2dccdfaf], 0x89
push ecx
and al, 0x33
push ecx
inc eax
pop ebp
stosb byte es:[edi], al
xor byte [edx], bh
invalid

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
adc byte [eax], ah
and byte [ebx], ch
add byte [eax], al
loope 0x408702
add dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0xc]
push ecx

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

Disassembly:
outsd dx, dword [esi]
or dword [ebx + ecx*4 - 0x146ff3ae], esp
or edi, ebx
dec ebp
test eax, 0x8e64a201
invalid

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x3e3cc43d
in eax, 0xc3
xor ah, ah
insd dword es:[edi], dx
jmp 0xc21a8515
inc ebp
dec ecx
sbb al, 0x85
inc edi
pop esi
lodsd eax, dword [esi]
and byte [ebp + 0x49], al
leave
inc ebp
jnp 0x41499a
xchg esp, eax
sub byte [ecx], cl
mov byte [esi + 0x3f], ch
in al, 0xe8
retf 0x7809
js 0x4149ca
xchg ecx, eax
sar byte [ebx - 0x443f6e4a], 0xb6
xchg ecx, eax
sar byte [ebx + 0x440b79b6], 0x49
outsb dx, byte [esi]
add edi, dword [ebx - 0x443f6e4a]
mov dh, 0x91
sar byte [ebx - 0x443fad4a], 0xb6
xchg ecx, eax
sar byte [ebx - 0x443f6e4a], 0xb6
xchg ecx, eax
sar byte [ebx - 0x443fad4a], 0xb6
xchg ecx, eax
sar byte [ebx - 0x443f6e4a], 0xb6
xchg ecx, eax
sar byte [ebx - 0x144fce4a], 0xf7
xchg ecx, eax
bound ebx, qword [ebx + 0x78c0d0d6]
mov dh, 0x91
salc
rol al, 1
js 0x414a12
sar byte [eax - 0x4a], 0x91
xchg ecx, eax
sar byte [ebx + 0x5e49c4b6], 0x3d
aam 0xc8
xor bl, dh
popfd
dec ebx
out dx, al
cmpsb byte [esi], byte es:[edi]
adc ebp, edi
jnp 0x414a57
rol al, 1
mov ebx, 0x4343d6c3
mov bh, 0xe3
cmp byte [eax], 0x5e
nop
mov ah, CoUninitialize
xor eax, 0xa5cfc179
adc ch, byte [eax]
mov edx, 0x8a2b8ec2
pop esi
xor dword [ebp + 0xb794944], ebx
fisttp qword [ecx + 0x6e]
sub ebx, dword [esi + 0x44a2955e]
dec ecx
sub eax, eax
mov ebx, 0x912890b6
jmp 0xa2918a16
les ecx, [ecx + 0x5e]
jo 0x414a59
adc dl, ch
not dword [ecx + 0x5366d3c1]
cmp byte [ebx - 0x3ed79824], 0x73
outsd dx, dword [esi]
aas
jmp 0x414b36
hlt
Function at 0x402ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402ad9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402b14
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402b10
lea ebx, [ebx]
cmp esi, eax
jae 0x402b14
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402b00
cmp esi, eax
jb 0x402b1a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402e00
Capabilities:
Query service status

Disassembly:
sub esp, 0x28
push ebx
push edi
xor ebx, ebx
push 1
push ebx
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x402e6a
push ebp
push esi
push 4
push str.ClientMateD
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push 0xa
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp esi, ebx
je 0x402e65
lea eax, [esp + 0x10]
push eax
push 0x24
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push esi
mov dword [edx], eax
mov ebx, 1
call ebp
push edi
call ebp
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x28
ret

Function at 0x402e80
Capabilities:
Query service status
Stop service

Disassembly:
sub esp, 0x20
push ebp
push esi
xor esi, esi
push 1
push esi
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
je 0x402f32
push edi
push 0xf01ff
push str.ClientMateD
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x402f00
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
je 0x402eff
cmp dword [esp + 0x18], 3
jne 0x402eff
push 0x3e8
call ebx
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
jne 0x402ee5
pop ebx
lea eax, [esp + 0x10]
push eax
push esi
call edi
pop edi
test eax, eax
je 0x402f1c
mov eax, 1
cmp dword [esp + 0x10], eax
jne 0x402f1c
mov dword [esp + 8], eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
mov eax, dword [esp + 8]
pop esi
pop ebp
add esp, 0x20
ret
mov eax, esi
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x402f40
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x20
push ebp
push esi
xor esi, esi
push 1
push esi
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
je 0x402fef
push edi
push 0xf01ff
push str.ClientMateD
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x402fbd
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
lea eax, [esp + 0x14]
push eax
push esi
call edi
test eax, eax
je 0x402fbc
cmp dword [esp + 0x18], 2
jne 0x402fbc
push 0x3e8
call ebx
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x402fa2
pop ebx
lea edx, [esp + 0x10]
push edx
push esi
call edi
pop edi
test eax, eax
je 0x402fd9
cmp dword [esp + 0x10], 4
jne 0x402fd9
mov dword [esp + 8], 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
mov eax, dword [esp + 8]
pop esi
pop ebp
add esp, 0x20
ret
mov eax, esi
pop esi
pop ebp
add esp, 0x20
ret

Function at 0x4030a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x154
mov eax, dword [0x42fc5c]
xor eax, esp
mov dword [esp + 0x150], eax
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00412e70
push 0x426640
push str.closent.exe
lea edx, [esp + 0x68]
mov ecx, 1
push str._s__s
push edx
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x34], str.winsta0default
mov dword [esp + 0x58], 1
mov word [esp + 0x5c], cx
call fcn.00412eea
add esp, 0x1c
lea eax, [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x20
push 1
push 0
push 0
lea edx, [esp + 0x74]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00412e58
add esp, 0x154
ret

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

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403160
mov ecx, dword [esp + 0xc]
push 0x10
push ecx
push 0
sub eax, esi
push eax
push edx
mov edx, dword [0x42f078]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
pop esi
ret
Function at 0x4036a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x19c
mov eax, dword [0x42fc5c]
xor eax, esp
mov dword [esp + 0x198], eax
mov eax, dword [0x430fec]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov edi, dword [esp + 0x1a8]
push 0x64
push 0x430ff0
push 0x6a
push eax
call esi
mov ecx, dword [0x430fec]
push 0x64
push 0x431480
push 0x6c
push ecx
call esi
mov edx, dword [0x430fec]
push 0x64
push 0x4317c8
push 0x6d
push edx
call esi
mov eax, dword [0x430fec]
push 0x64
push 0x431068
push 0x6b
push eax
call esi
mov ecx, dword [0x430fec]
push 0x64
push 0x4311a0
push 0x6e
push ecx
call esi
mov edx, dword [0x430fec]
push 0x64
push 0x431418
push 0x6f
push edx
call esi
mov eax, dword [0x430fec]
push 0x64
push 0x431830
push 0x70
push eax
call esi
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x431138
push 0x4314e8
push 0
mov dword [0x430fec], edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x64
push 0
push 0x4310d0
mov dword [0x430fe8], eax
call fcn.00412e70
push 0x64
push 0
push 0x431550
call fcn.00412e70
push 0x431898
push 0x4318a0
push 0x4310cc
push 0x431550
call fcn.004031b0
add esp, 0x28
pop edi
pop esi
test eax, eax
je 0x4037d2
mov ecx, dword [0x4310cc]
mov dword [0x4318a4], ecx
xor eax, eax
mov cl, byte [eax + 0x431550]
mov byte [eax + 0x4310d0], cl
inc eax
test cl, cl
jne 0x4037c1
push 0x4318b4
call fcn.00403000
add esp, 4
cmp dword [0x430fe8], 0
jne 0x4037ff
xor eax, eax
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00412e58
add esp, 0x19c
ret
lea edx, [esp]
push edx
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x4038b6
mov eax, dword [0x430fe8]
push 0
push 0x44c
push 1
push eax
mov dword [0x431064], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x431894], eax
push 0x103
lea ecx, [esp + 0x99]
push 0
push ecx
mov byte [esp + 0xa0], 0
call fcn.00412e70
add esp, 0xc
lea edx, [esp + 0x94]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x94]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403880
sub eax, edx
push eax
lea eax, [esp + 0x98]
push eax
mov ecx, 0x4318c0
call fcn.004017b0
mov ecx, dword [esp + 0x198]
xor ecx, esp
mov eax, 1
call fcn.00412e58
add esp, 0x19c
ret
mov dword [0x431064], 0
jmp 0x403840
Function at 0x403990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x424e88
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x42fc5c]
xor eax, esp
mov dword [esp + 0x314], eax
push esi
push edi
mov eax, dword [0x42fc5c]
xor eax, esp
push eax
lea eax, [esp + 0x324]
mov dword fs:[0], eax
mov eax, dword [esp + 0x338]
mov edi, dword [esp + 0x334]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x224]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x340], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
call fcn.0041333b
add esp, 0x14
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.004038d0
mov esi, eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x330], 1
call fcn.004038d0
push esi
push eax
push edi
mov byte [esp + 0x338], 2
call fcn.004035a0
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x18], 1
mov byte [esp + 0x32c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403a7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x32c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403aa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x403acc
add ecx, 0xffffffff
js 0x403af4
cmp ecx, dword [eax - 0xc]
jg 0x403af4
cmp byte [eax + ecx], 0x5c
je 0x403acc
push 1
push 0x42664c
mov ecx, edi
call fcn.004034c0
mov eax, edi
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.00412e58
add esp, 0x324
ret
push 0x80070057
call fcn.00401000
int3

Function at 0x403d20
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x42f080], 0xffffffff
jne 0x403d6e
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0
push ecx
push 0x403b00
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x42f080], eax
cmp eax, 0xffffffff
je 0x403d6e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x42f080], 0xffffffff
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x412e58
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fc5c]
jne 0x412e62
repz ret
jmp fcn.0041953c
Function at 0x41ebad
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.00418f30
and dword [ebp - 4], 0
cmp dword [0x434148], 0
mov ebx, eax
jne 0x41ec5e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41ed0f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x429238
push edi
call esi
test eax, eax
je 0x41ed0f
push eax
call fcn.00418ebe
mov dword [esp], 0x429228
push edi
mov dword [0x434148], eax
call esi
push eax
call fcn.00418ebe
mov dword [esp], 0x429214
push edi
mov dword [0x43414c], eax
call esi
push eax
call fcn.00418ebe
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x434150], eax
call esi
push eax
call fcn.00418ebe
pop ecx
mov dword [0x434158], eax
test eax, eax
je 0x41ec5e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00418ebe
pop ecx
mov dword [0x434154], eax
mov eax, dword [0x434154]
cmp eax, ebx
je 0x41ecb6
cmp dword [0x434158], ebx
je 0x41ecb6
push eax
call fcn.00418f39
push dword [0x434158]
mov esi, eax
call fcn.00418f39
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41ecb6
test edi, edi
je 0x41ecb6
call esi
test eax, eax
je 0x41ecad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41ecad
test byte [ebp - 0xc], 1
jne 0x41ecb6
or dword [ebp + 0x10], 0x200000
jmp 0x41ecef
mov eax, dword [0x43414c]
cmp eax, ebx
je 0x41ecef
push eax
call fcn.00418f39
pop ecx
test eax, eax
je 0x41ecef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41ecef
mov eax, dword [0x434150]
cmp eax, ebx
je 0x41ecef
push eax
call fcn.00418f39
pop ecx
test eax, eax
je 0x41ecef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434148]
call fcn.00418f39
pop ecx
test eax, eax
je 0x41ed0f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41ed11
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x80b4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x80b4c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x80b4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x80b4b8
mov eax, 1
add ebx, ebx
jne 0x80b4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x80b4d0
jne 0x80b4ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80b4d0
xor ecx, ecx
sub eax, 3
jb 0x80b500
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x80b572
mov ebp, eax
add ebx, ebx
jne 0x80b50b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x80b518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x80b53c
inc ecx
add ebx, ebx
jne 0x80b528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x80b51d
jne 0x80b539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80b51d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x80b55c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x80b54d
jmp 0x80b4be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x80b55c
add edi, ecx
jmp 0x80b4be
pop esi
mov edi, esi
mov ecx, 0x147
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x80b57a
cmp byte [edi], 1
jne 0x80b57a
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 eax, ebx
loop 0x80b57f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x80b5f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb514]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb58c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x80b5ac
mov ecx, edi
jns 0x80b5db
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 + 0xb590]
or eax, eax
je 0x80b5f1
mov dword [ebx], eax
add ebx, 4
jmp 0x80b5c9
call dword [esi + 0xb594]
popal
jmp 0x802d68
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408e84
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x60fb5bcf
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x67a20261
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x52fe76dd
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1e562a6d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402219
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, eax
sub ecx, dword [esi + 0x14]
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 0x10]
mov edx, dword [esi]
push edi
push 1
push ecx
xor ebx, ebx
mov dword [ebp + 0x10], ecx
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x8c]
mov edi, dword [esi + 0x174]
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x402360
push edi
call fcn.004322a4
mov ebx, eax
test ebx, ebx
pop ecx
je 0x402330
mov eax, dword [ebx + 0xc]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
test eax, eax
je 0x402296
lea eax, [ebx + 0x10]
push eax
call fcn.00427635
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00432532
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x174], eax
jne 0x4022ed
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
cmp eax, ecx
je 0x4022df
cmp word [eax], cx
je 0x4022df
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x402330
cmp dword [ebx + 0xc], ecx
je 0x402330
mov dword [ebp - 4], 1
jmp 0x402330
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
test eax, eax
je 0x40230c
lea eax, [ebx + 0x10]
push eax
call fcn.00427635
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00432532
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x174], ecx
je 0x402341
push 0x67
jmp 0x402359
cmp dword [ebp - 8], ecx
je 0x402360
cmp dword [ebp - 0xc], ecx
je 0x402360
lea eax, [esi + 0x170]
cmp edi, dword [eax]
jne 0x402357
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.00401e24
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4039bc
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4d237f
call fcn.004cc470
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.0043295b
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.004134b9
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4