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

Disassembly:
push ebx
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
add eax, 0x15
mov dword [esp + 0x28], eax
mov eax, dword [0x10067398]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add eax, 0x21811bd1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp eax, 1
sete al
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, 1
mov dword [esp + 0xc], eax
jne 0x10050394
jmp 0x10050312
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 8], eax
mov bh, byte [edx + eax]
mov esi, 0x15
xor edx, edx
div esi
mov eax, dword [esp + 8]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x98
mov cl, 0xff
xor cl, 0x98
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x98
and bl, cl
mov ecx, dword [esp + 0x24]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 0x8d
mov dword [esp + 0xc], eax
jne 0x10050312
mov eax, dword [0x10067398]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x21811bd1
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10050394
add esp, 0x2c
pop esi
pop ebx
ret
Function at 0x100566ad
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100566ec
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100566ec
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100566ec
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100566ec
cmp dword [ecx + 0x74], 0xe
jbe 0x100566ec
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1005939d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1005943a
push ebx
push esi
call fcn.10059366
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100592fa
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100593e7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10059439
push edi
push eax
call fcn.10057377
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10059407
call fcn.1005733d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10059438
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100592fa
add esp, 0x20
test eax, eax
jne 0x10059426
push edi
call fcn.1005733d
jmp 0x1005942e
push ebx
call fcn.1005733d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100596a7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10062030
push 0x10062028
push str.FlsAlloc
push 0x1f
call fcn.100595c3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100596db
push dword [ebp + 8]
mov ecx, esi
call dword [0x10060148]
call esi
jmp 0x100596e1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10059725
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10062040
push 0x10062038
push str.FlsGetValue
push 0x21
call fcn.100595c3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005975c
push dword [ebp + 8]
mov ecx, esi
call dword [0x10060148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10059764
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10062048
push 0x10062040
push str.FlsSetValue
push 0x22
call fcn.100595c3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005979e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10060148]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1005ede0
Capabilities:
Parse pe header

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

Disassembly:
pushal
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10014663
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10014672
pop dword [ebp - 0x4c]
mov eax, 0x10014672
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3a510
push 0
mov eax, 0xc05dd2d5
sub eax, 0xb05c6195
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x49ac
xor ebx, ebx
add ebx, eax
mov edi, 0x89551716
sub edi, 0x7952c316
add edi, dword [ebp - 0x4c]
mov edx, 0x89c303b9
add edx, 0x654f0f6b
xor dword [ebp - 0x20], ebx
mov esi, dword [edi]
sub dword [ebp - 0x34], 0xd25ef64d
xor esi, edx
mov dword [ebx], esi
xor dword [ebp - 0x24], 0x1c39f8f3
add ebx, 0x2ec81aa9
sub ebx, 0x2ec81aa5
add edi, 0x9a35ea33
add edi, 0x65ca15d1
loop 0x100146c8
add eax, 0xfad0cf9c
add eax, 0x53049e7
mov ebx, eax
add eax, 0x5607bce8
sub eax, 0x5607bce3
mov ecx, 0x5360e882
sub ecx, 0x4360e882
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
mov ecx, 0x63384fb4
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..rdata
nop
mov ebx, 0x42f314
nop
mov ecx, 0x1cd13682
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
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
pop eax
nop
nop
nop
mov esi, 0x7eaa6729
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xa897c46
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x545180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe1000]
push edi
or ebp, 0xffffffff
jmp 0x5451a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5451a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x545198
mov eax, 1
add ebx, ebx
jne 0x5451bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5451cc
jne 0x5451eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5451eb
dec eax
add ebx, ebx
jne 0x5451d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5451b0
add ebx, ebx
jne 0x5451e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54523d
xor ecx, ecx
sub eax, 3
jb 0x545203
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x545272
sar eax, 1
mov ebp, eax
jmp 0x54520e
add ebx, ebx
jne 0x54520e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5451dc
inc ecx
add ebx, ebx
jne 0x54521c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5451dc
add ebx, ebx
jne 0x545229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54521e
jne 0x54523a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54521e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54525c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54524e
jmp 0x54519e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54525c
add edi, ecx
jmp 0x54519e
pop esi
mov edi, esi
mov ecx, 0x4425
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54527a
cmp byte [edi], 0x1e
jne 0x54527a
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 0x54527f
lea edi, [esi + 0x142000]
mov eax, dword [edi]
or eax, eax
je 0x5452f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x149538]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x149684]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5452ac
mov ecx, edi
jns 0x5452db
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 + 0x14968c]
or eax, eax
je 0x5452f1
mov dword [ebx], eax
add ebx, 4
jmp 0x5452c9
call dword [esi + 0x149688]
mov ebp, dword [esi + 0x149690]
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 0x54532b
sub esp, 0xffffff80
jmp 0x49c0fa
Function at 0x4011f0
Capabilities:
Encode data using add xor sub operations

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sbb edi, 0x6f
dec ebx
not ebx
add esi, 0x94
sbb ebx, 0x82
bswap esi
imul eax
neg ebx
sub eax, 0x6f
or ebx, 0x1c
not esi
dec esi
rcl edi, 0xd6
mov esi, 0xc2
dec esi
bswap edx
rcl esi, 0x40
rol esi, 0xda
bswap edx
dec ebx
add eax, 0x16
not edx
inc ebx
rol edx, 0xe8
ror ebx, 4
not edi
inc eax
dec edx
rcl ebx, 0x6f
and edi, 2
sbb eax, 0x33
neg ebx
sub esi, 0x34
sbb esi, 0xa0
add edi, 0x12
bswap eax
not ebx
and eax, 0xc0
dec esi
and edi, 0xb3
rcl ebx, 0x20
sbb edx, 0x55
sbb edx, 0xf3
neg ebx
neg esi
sub edx, 0xf2
rcl esi, 0xc3
rol edx, 0x2d
imul edi
dec ebx
xor ecx, ecx
xor edi, edi
neg edx
inc edi
rol ebx, 0x94
neg ebx
rol esi, 0x87
rcl ebx, 0x49
not edi
or ebx, 0xff
sbb eax, 0x80
and edi, 0xdb
bswap eax
inc edi
inc eax
sbb edi, 0x1b
bswap eax
inc esi
ror edi, 0xb4
inc ebx
inc eax
add edx, 0x6a
inc ebx
sbb edx, 0x5b
add edi, 0x60
rcl edi, 0x13
and edx, 0x47
sbb esi, 0x23
rcr esi, 3
rol edx, 0x3d
rcl esi, 0xa2
dec esi
rcl eax, 0xb
not edi
rcl edi, 0xb8
rcr eax, 0x20
add eax, 0x48
dec edi
mov esi, 0xcd
not esi
and edi, 0x71
ror eax, 0x3b
ror edi, 1
rcr eax, 0xf6
neg edi
and edx, 0x33
bswap ebx
dec eax
sub eax, 0xc6
add esi, 0x49
neg eax
sub ebx, 0xf0
mov ecx, dword [ebp + 0xc]
not esi
mov esi, 0x33
not eax
inc edx
ror eax, 0xd7
inc esi
dec ebx
or ebx, 0x68
not edi
add eax, 0x27
neg eax
rol eax, 0xd6
imul esi
sub edx, 0x76
rcl esi, 0xaf
not esi
add edx, 0xb1
rcr esi, 0x26
dec edx
not esi
sub edx, 0x75
bswap edx
dec edi
and edx, 4
rcr edx, 0xdd
bswap esi
add ebx, 0x23
inc esi
rcl edx, 0x20
rcl edx, 0x24
inc edx
ror esi, 0x49
inc edx
and eax, 0x2a
dec ebx
or edi, 0xeb
not ebx
sub edx, 0x9f
or eax, 0x6e
imul edx
rol edx, 0x8c
neg eax
not eax
dec edx
bswap edi
sub ebx, 0xfe
ror edx, 0x6f
rol esi, 0x89
dec edx
inc ebx
mov edi, dword [ebp + 8]
mov ebx, esi
mov ebx, eax
mov eax, eax
not byte [edi]
xor esi, eax
mov ebx, ebx
mov esi, eax
xor eax, esi
xor esi, esi
xor eax, eax
mov esi, ebx
xor esi, eax
mov eax, ebx
add byte [edi], 0x37
xor ebx, esi
mov esi, eax
mov eax, eax
xor ebx, eax
xor esi, ebx
mov ebx, eax
mov eax, esi
xor eax, ebx
xor eax, eax
sub byte [edi], 0x75
xor esi, ebx
xor eax, ebx
xor eax, esi
mov esi, esi
mov eax, esi
mov eax, esi
xor ebx, ebx
mov esi, ebx
mov ebx, eax
imul byte [edi]
inc edi
loop 0x401395
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401410
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
das
insb byte es:[edi], dx
aad 0x40
aad 0xb1
rol cl, 0xc1
outsb dx, byte [esi]
imul ebp, dword [edx + 0x4d], 0xffffffbc
dec esp
mov esi, 0x931fe09
loopne 0x4013d4
add ecx, 0xcaf1c279
out 0, al
sti
push 0xe9caf3b2
notrack jmp dword ds:[esi]
Function at 0x4060e3
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.00404fce
and dword [ebp - 4], 0
cmp dword [0x439c60], 0
mov ebx, eax
jne 0x406194
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406245
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406245
push eax
call fcn.00404f5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x439c60], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x439c64], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x439c68], eax
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x439c70], eax
test eax, eax
je 0x406194
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x439c6c], eax
mov eax, dword [0x439c6c]
cmp eax, ebx
je 0x4061ec
cmp dword [0x439c70], ebx
je 0x4061ec
push eax
call fcn.00404fd7
push dword [0x439c70]
mov esi, eax
call fcn.00404fd7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061ec
test edi, edi
je 0x4061ec
call esi
test eax, eax
je 0x4061e3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061e3
test byte [ebp - 0xc], 1
jne 0x4061ec
or dword [ebp + 0x10], 0x200000
jmp 0x406225
mov eax, dword [0x439c64]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406225
mov eax, dword [0x439c68]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439c60]
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406245
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406247
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407f4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439408]
jne 0x407f58
repz ret
jmp fcn.00409675
Function at 0x40a561
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0040a5e0
jae 0x40a56d
xor ecx, ecx
call fcn.0040a5e0
jae 0x40a597
xor eax, eax
call fcn.0040a5e0
jae 0x40a5a8
mov al, 0x10
call fcn.0040a5e0
adc al, al
jae 0x40a589
jne 0x40a5d5
stosb byte es:[edi], al
jmp 0x40a56e
call fcn.0040a5ec
dec ecx
loop 0x40a5b4
mov eax, ebp
call fcn.0040a5ea
jmp 0x40a5d6
lodsb al, byte [esi]
shr eax, 1
je 0x40a5fc
adc ecx, 2
mov ebp, eax
jmp 0x40a5d6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0040a5ea
cmp eax, 0x7d00
jae 0x40a5d4
cmp eax, 0x500
jae 0x40a5d5
cmp eax, 0x7f
ja 0x40a5d6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40a56e
pop ebp
ret 8

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x832b4c77
mov ecx, 0x2015635b
pop ebx
je 0x414acb
arpl word [edi + ecx*4 - 0x44], cx
mov ecx, 0x46de335b
movsb byte es:[edi], byte [esi]
mov dh, byte [esi]
insb byte es:[edi], dx
sti
je 0x414ac7
lodsd eax, dword [esi]
mov al, 0x74
jmp 0x414ac1
ficom word [edi - 0x5d]
bound ecx, qword [esi - 0x741ae8f2]
push edi
mov dword [0x170e8e62], eax
in eax, 0x8b
fild qword [esi]
je 0x414b16
pushfd
inc esi
into
jge 0x414b08
cmp al, 0x61
jne 0x414af7
push ss
dec esp
das
sbb byte [eax - 0x5921cda5], bh
out 0x8b, al
inc edx
inc esp
leave
fdivp st(6)
xchg esp, eax
jmp 0x414a89
invalid
mov ebx, esi
inc esi
movsb byte es:[edi], byte [esi]
mov ebx, esi
inc esi
movsb byte es:[edi], byte [esi]
je 0x414b33
mov ecx, 0x46de8b5b
inc esi
movsb byte es:[edi], byte [esi]
je 0x414b3b
mov ecx, 0x46de8b5b
movsb byte es:[edi], byte [esi]
mov ebx, esi
inc esi
movsb byte es:[edi], byte [esi]
mov ebx, esi
inc esi
movsb byte es:[edi], byte [esi]
mov ebx, esi
lds ecx, [eax - 0x71]
sbb dword [edx - 0x80], eax
jbe 0x414b37
movsb byte es:[edi], byte [esi]
and byte [0xae8bcc09], 7
int3
movsb byte es:[edi], byte [esi]
lds ebx, [ecx - 0x1bf68302]
rcr byte [edi], 0x44
invalid
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401029
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401021
cmp al, 0x22
jne 0x401015
cmp byte [esi], 0x22
jne 0x401033
inc esi
jmp 0x401033
cmp al, 0x20
jle 0x401033
inc esi
cmp byte [esi], 0x20
jg 0x40102d
mov al, byte [esi]
test al, al
je 0x40103d
cmp al, 0x20
jle 0x401026
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004018d4
push 0x404004
push section..data
call fcn.004018ba
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40106d
movzx eax, word [ebp - 0x14]
jmp 0x401070
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00401123
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x7c7c4b6e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x4f2531f1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4252a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4252b8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x42535c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x425357
mov ecx, dword [ebp - 8]
push ecx
call fcn.004257c0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x425316
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x425316
xor eax, eax
jmp 0x42535c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4252af
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, reloc.wtsapi32.dll_WTSVirtualChannelPurgeInput
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219