joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4078b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x42fcec]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x407991
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x40790c
cmp dword [esp + 8], 0
jne 0x4079f6
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00413f57
add esp, 0x118
ret
cmp eax, 5
jne 0x407975
mov eax, dword [esp + 8]
test eax, eax
jne 0x407933
mov eax, 5
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00413f57
add esp, 0x118
ret
cmp eax, 1
jne 0x407952
mov eax, 6
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00413f57
add esp, 0x118
ret
cmp eax, 2
jne 0x4079f6
mov eax, 7
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00413f57
add esp, 0x118
ret
jbe 0x4079f6
mov eax, 8
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00413f57
add esp, 0x118
ret
cmp eax, 1
jne 0x4079f6
mov eax, dword [esp + 8]
test eax, eax
jne 0x4079b8
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00413f57
add esp, 0x118
ret
cmp eax, 0xa
jne 0x4079d7
mov eax, 2
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00413f57
add esp, 0x118
ret
cmp eax, 0x5a
jne 0x4079f6
mov eax, 3
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00413f57
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.00413f57
add esp, 0x118
ret

Function at 0x413f57
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fcec]
jne 0x413f61
repz ret
jmp fcn.00418d49
Function at 0x41efa3
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.00418758
and dword [ebp - 4], 0
cmp dword [0x433c00], 0
mov ebx, eax
jne 0x41f054
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41f105
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41f105
push eax
call fcn.004186e6
mov dword [esp], 0x428be0
push edi
mov dword [0x433c00], eax
call esi
push eax
call fcn.004186e6
mov dword [esp], 0x428bcc
push edi
mov dword [0x433c04], eax
call esi
push eax
call fcn.004186e6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433c08], eax
call esi
push eax
call fcn.004186e6
pop ecx
mov dword [0x433c10], eax
test eax, eax
je 0x41f054
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004186e6
pop ecx
mov dword [0x433c0c], eax
mov eax, dword [0x433c0c]
cmp eax, ebx
je 0x41f0ac
cmp dword [0x433c10], ebx
je 0x41f0ac
push eax
call fcn.00418761
push dword [0x433c10]
mov esi, eax
call fcn.00418761
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41f0ac
test edi, edi
je 0x41f0ac
call esi
test eax, eax
je 0x41f0a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41f0a3
test byte [ebp - 0xc], 1
jne 0x41f0ac
or dword [ebp + 0x10], 0x200000
jmp 0x41f0e5
mov eax, dword [0x433c04]
cmp eax, ebx
je 0x41f0e5
push eax
call fcn.00418761
pop ecx
test eax, eax
je 0x41f0e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41f0e5
mov eax, dword [0x433c08]
cmp eax, ebx
je 0x41f0e5
push eax
call fcn.00418761
pop ecx
test eax, eax
je 0x41f0e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433c00]
call fcn.00418761
pop ecx
test eax, eax
je 0x41f105
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41f107
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4738bd
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4735cc
inc ebx
call fcn.004738fb
or ebx, ebx
xor dword [eax], ecx
dec ebx
add ebx, 0xcffacfdf
add eax, 2
mov edi, ebx
sub ebx, 0x8ef83cae
cmp eax, esi
jl fcn.004738bd
add edi, 0xf660561
add edi, 0xad6013de
or edi, ebx
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x7b164664
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x73b664bf
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40114c
Capabilities:
Encode data using xor

Disassembly:
push 0xff004010
and eax, sym.imp.MSVBVM60.DLL_rtcMsgBox
jmp dword [sym.imp.MSVBVM60.DLL_EVENT_SINK_QueryInterface]
push 0x4e7650
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6faa818f], dl
mov cl, 0x57
dec esp
lea esi, [eax - 0x6c]
mov ecx, 0xcb93dd12
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
mov bh, bh
xor ecx, dword [eax + 0x7250e9e0]
outsd dx, dword [esi]
push 0x65
arpl word [ecx + esi], si
jle 0x401128
push edi
xor ch, byte [esi]
sal dword [edx], cl
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
add dword [ecx], esp
xchg byte [eax + 0x69c61bd4], ah
inc edi
mov esi, 0x1d3d51b2
jg 0x4011de
imul ecx, esi, 0xffffff9b
mov byte [0x48639e91], al
test dword [eax*8 + 0x346c0364], edi
or eax, 0x33ad4f3a
cdq
iret
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx], cl
push cs
add bl, bl
arpl word [esi], cx
add byte [eax], al
add eax, 0x726f4600
insd dword es:[edi], dx
xor dword [eax], eax
or eax, 0x46000501
outsd dx, dword [esi]
jb 0x40127b
xor dword [eax], eax
sbb dword [ecx], eax
add byte [edx], al
and dword [eax + 0x6c000e63], ebx
je 0x40121d
add byte [eax + 0x47000e63], dl
dec ecx
inc esi
cmp byte [ecx], bh
popal
add dword [ecx], esi
add dword [ecx], esi
add edi, esi
add byte [eax], al
or al, 0x4e
xchg esp, eax
fmul qword [eax + 0x5c328490]
test byte [edx + 0x78], cl
in al, 0x11
sbb al, 0xcc
xor dword [esp + eax*2 + 0x3d], eax
jl 0x401229
invalid
inc edx
jae 0x4012ca
inc esi
jnp 0x401285
push esp
pushfd
in al, dx
fcmovu st(0), st(4)
hlt
fdivr st(4), st(0)
sub ch, byte [esp]
dec ebx
xchg ebx, eax
movsb byte es:[edi], byte [esi]
cmp ebx, dword [ebx - 0x2c]
sub esi, dword [esi]
in al, dx
jge 0x401313
in al, dx
xor eax, 0xf4504bec
stc
stc
in al, dx
pop esp
arpl sp, si
mov byte [edx - 0x1354560c], cl
and ah, byte [edi]
aam 0x2d
inc edi
add al, 0x4e
mov byte [0xec5d3694], al
adc al, 0x1b
hlt
aas
je 0x4012fd
xchg sp, ax
aas
push esp
cmp byte [eax - 0xc], dh
jo 0x4012c0
cmp al, 0x40
hlt
sar ah, cl
sbb ebx, dword [esp + edi*8]
adc al, 0x1b
fdivr qword [0x817cfc39]
fcom qword [ebx + edx*2 - 0x27]
add dword [edi + 0x44e31b9], 0xc0f4a452
sal dword [ebx + ecx*2 - 0x7e], 0xa4
inc edx
insb byte es:[edi], dx
aam 0x35
dec ecx
sbb al, 0x4a
mov ah, dh
inc esp
dec ecx
inc esp
dec edi
invalid
add al, 0x52
movsb byte es:[edi], byte [esi]
hlt
Function at 0x412b88
Capabilities:
Read file on windows

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

Function at 0x416d34
Capabilities:
Set environment variable

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

Function at 0x416d3f
Capabilities:
Set environment variable

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

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x41af53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push ebx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x14], edi
jne 0x41aef8
push 9
jmp 0x41af00
cmp dword [ebp + 8], 0
jne 0x41af06
push 0xf
pop eax
jmp 0x41af89
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jl 0x41af85
cmp esi, 0xff
jg 0x41af85
test edi, edi
mov ebx, 0x2c8
jne 0x41af37
mov eax, esi
shl eax, 7
add eax, ebx
push eax
call fcn.00410adc
mov edi, eax
test edi, edi
pop ecx
jne 0x41af37
push 0x12
jmp 0x41af87
push ebx
push dword [ebp + 0xc]
push edi
call fcn.004216d0
push esi
push edi
call fcn.0041a72b
shl esi, 7
push 0x80
lea eax, [esi + edi + 0x248]
push eax
push dword [ebp + 8]
call fcn.004216d0
add esp, 0x20
cmp dword [ebp + 0x14], 0
jne 0x41af81
add esi, 0x2c8
push esi
push 0
push edi
call fcn.00421a10
push edi
call fcn.00410b23
add esp, 0x10
xor eax, eax
jmp 0x41af88
push 0x11
pop eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41b1b7
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
cdq
push 4
pop ecx
idiv ecx
add eax, 0x28
cmp dword [esp + 8], 0
jle 0x41b1c3
cmp eax, 0x50
jge 0x41b1c3
push 0x50
pop eax
ret

Function at 0x41b72b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp esi, eax
jne 0x41b6dd
push 3
jmp 0x41b6f0
cmp dword [esi + 0xcc], eax
jne 0x41b6e9
push 5
jmp 0x41b6f0
cmp dword [ebp + 0xc], eax
jne 0x41b6f6
push 8
pop eax
jmp 0x41b7f1
cmp dword [ebp + 0x14], eax
push ebx
mov dword [ebp + 8], eax
jb 0x41b7ee
ja 0x41b70e
cmp dword [ebp + 0x10], eax
jbe 0x41b7ee
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, 0x1000
sub ecx, dword [esi + 0x3b3c]
xor ebx, ebx
sub edx, dword [ebp + 8]
sbb eax, ebx
cmp eax, ebx
ja 0x41b734
jb 0x41b730
cmp edx, ecx
jae 0x41b734
mov ebx, edx
jmp 0x41b736
mov ebx, ecx
test bl, 7
jne 0x41b770
mov eax, dword [esi + 0x3b3c]
test al, 7
jne 0x41b770
test byte [ebp + 8], 7
jne 0x41b770
mov ecx, ebx
shr ecx, 3
push ecx
mov ecx, dword [ebp + 8]
shr ecx, 3
add ecx, dword [ebp + 0xc]
shr eax, 3
push ecx
lea eax, [eax + esi + 0x338]
push eax
call fcn.004216d0
add esp, 0xc
jmp 0x41b790
mov eax, dword [ebp + 8]
shr eax, 3
add eax, dword [ebp + 0xc]
push ebx
push eax
push dword [esi + 0x3b3c]
lea eax, [esi + 0x338]
push eax
call fcn.0041b26c
add esp, 0x10
add dword [esi + 0x3b3c], ebx
add dword [ebp + 8], ebx
add dword [esi + 0xd0], ebx
mov eax, dword [esi + 0x3b3c]
adc dword [esi + 0xd4], 0
cmp eax, 0x1000
jne 0x41b7d5
xor eax, eax
cmp eax, dword [ebp + 0x14]
ja 0x41b7d5
jb 0x41b7c4
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x10]
jae 0x41b7d5
push 0
push 1
push esi
call fcn.0041b577
add esp, 0xc
test eax, eax
jne 0x41b7f0
xor eax, eax
cmp eax, dword [ebp + 0x14]
jb 0x41b70e
ja 0x41b7ee
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 8], eax
jb 0x41b70e
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x423943
Capabilities:
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
fld qword [0x42b898]
fstp qword [ebp - 8]
fld qword [0x42b890]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [ebp - 8]
fmul qword [ebp - 8]
fsubr qword [ebp - 0x10]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fcomp qword [0x42b888]
fnstsw ax
test ah, 0x41
jne 0x42397c
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x424ff6
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x44f2ec]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x44f1c0]
je 0x424fc2
inc eax
cmp eax, 0x13
jb 0x424fb3
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x44f1c0]
jne 0x4250e8
mov eax, dword [0x463b00]
cmp eax, 1
je 0x4250c0
cmp eax, edx
jne 0x424ff2
cmp dword [0x44ede4], 1
je 0x4250c0
cmp ecx, 0xfc
je 0x4250e8
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [0x42a0d4]
test eax, eax
jne 0x425028
lea eax, [ebp - 0x80]
push 0x42c224
push eax
call fcn.00421e50
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00422530
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42505c
mov eax, edi
push eax
call fcn.00422530
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x42c220
push edi
call fcn.00421be0
add esp, 0x10
push edi
call fcn.00422530
push dword [esi + 0x44f1c4]
mov ebx, eax
call fcn.00422530
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00421ba0
mov ebx, esp
push 0x42c204
push ebx
call fcn.00421e50
push edi
push ebx
call fcn.00421e60
push 0x42c200
push ebx
call fcn.00421e60
push dword [esi + 0x44f1c4]
push ebx
call fcn.00421e60
push 0x12010
push 0x42c1d8
push ebx
call fcn.00427f02
add esp, 0x2c
jmp 0x4250e8
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x44f1c4]
push dword [esi]
call fcn.00422530
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [0x42a190]
push eax
call dword [0x42a1d0]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00425ed8
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x412e87
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x31
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x20
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x8c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x93
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x2c
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x80
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x75
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xb7
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x92
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x36
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xcf
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xfd
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x55
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd8
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x86
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x97
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe7
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xad
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x89
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x21
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x62
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa9
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x47
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x28
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x24
inc edi
cmp edi, ebx
jb 0x412d20
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451c59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451c6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405902
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b112
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b123
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aff9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b14b
push ebx
push esi
push edi
call fcn.004056f5
add esp, 0xc
push 0
call fcn.0040623f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x401078
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x40109a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
fninit
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.004b14c0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40113b
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040128f
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40117c
push 0xa8
push 0x402a814
push 6
call fcn.004b0a81
add esp, 0xc
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_connect
push 0
push 0x4c3200
push 2
mov ebx, 0x138
call fcn.004b14f0
add esp, 0x1c
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004012b0
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4011c5
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x526609], eax
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 8
push 2
mov ebx, 0xc8
call fcn.004b1550
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.00401416
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40121f
push ebx
call fcn.004b0a7b
add esp, 4
push 0
mov ebx, 4
mov eax, 0x4b7530
call fcn.004b1420
add esp, 4
mov dword [0x52660d], eax
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x401264
nop
nop
nop
nop
nop
nop
call fcn.00401516
mov eax, 0
jmp 0x401279
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40128a
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4049fa
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x404a18
mov eax, 0x4c3252
push eax
push 1
mov ebx, 0x194
call fcn.004b1c10
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404a42
mov eax, 0
jmp 0x404ab6
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x404aa3
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x404a8c
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x404a7b
xor ecx, eax
xor edx, ebx
dec edi
jne 0x404a6c
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4