joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eaa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x411550
push 0x40ef3a
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x41411c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov ecx, dword fs:[0x18]
mov esi, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push esi
push 0x414948
call edi
test eax, eax
je 0x40eb1a
cmp eax, esi
jne 0x40eb35
mov ebx, 1
mov edx, dword [0x414944]
mov esi, 1
cmp edx, esi
jne 0x40eb42
push 0x1f
call sub.MOZCRT19.dll__amsg_exit
add esp, 4
jmp 0x40eb72
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40eb03
mov eax, dword [0x414944]
test eax, eax
jne 0x40eb6c
mov dword [0x414944], esi
push 0x4103e0
push 0x4103cc
call sub.MOZCRT19.dll__initterm_e
add esp, 8
test eax, eax
je 0x40eb72
jmp 0x40ecbe
mov dword [0x414578], esi
mov ecx, dword [0x414944]
cmp ecx, esi
jne 0x40eb98
push 0x4103c8
push 0x410380
call sub.MOZCRT19.dll__initterm
add esp, 8
mov dword [0x414944], 2
test ebx, ebx
jne 0x40eba8
push ebx
push 0x414948
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x41494c], 0
je 0x40ebce
push 0x41494c
call fcn.0040f250
add esp, 4
test eax, eax
je 0x40ebce
push 0
push 2
push 0
call dword [0x41494c]
mov eax, dword [sym.imp.MOZCRT19.dll__wcmdln]
cmp dword [eax], 0
je 0x40ecbe
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp ax, 0x20
ja 0x40ec3e
test ax, ax
je 0x40ebf6
test edx, edx
jne 0x40ec3e
movzx eax, word [ecx]
test ax, ax
je 0x40ec0c
cmp ax, 0x20
ja 0x40ec0c
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x40ebf6
test byte [ebp - 0x3c], 1
movzx eax, word [ebp - 0x38]
jne 0x40ec1b
mov eax, 0xa
push eax
push ecx
push 0
push 0x400000
call main
mov dword [0x414574], eax
cmp dword [0x414568], 0
jne 0x40ec88
push eax
call dword [sym.imp.MOZCRT19.dll_exit]
cmp ax, 0x22
jne 0x40ec50
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x1c], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x40ebe4
cmp dword [0x414578], 0
jne 0x40ec97
call dword [sym.imp.MOZCRT19.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x414574]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ede0
Capabilities:
Terminate process

Disassembly:
call fcn.0040f360
jmp fcn.0040eaa0

Function at 0x4766e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x4766e3
lcall 0x5de5, 0x8b10c483
jmp loc.00a85340
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

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

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

Disassembly:
sahf
inc edi
mov eax, 0xb78e5463
outsb dx, byte [esi]
xchg edi, eax
dec esi
mov bl, 0x6b
in eax, dx
add eax, 0x479e66bf
mov eax, 0xba825b61
arpl word [ebp - 0x2e9749b2], dx
or dword [eax - 0x12b56c96], esi
pop esp
cmp dword [edx - 0x4cb06993], 0xbd046d54
pushfd
inc ebp
mov esp, 0xbe875f66
sahf
inc edi
mov ecx, 0xb900d960
popal
cwde
inc edx
mov ebx, 0xba835a63
insb byte es:[edi], dx
xchg ebp, eax
dec ebp
mov ah, 0x6d
xlatb
push cs
mov dh, 0x6f
xchg ecx, eax
in al, 0xbc
pop esp
test dword [edi - 0x40b9609a], edi
fild word [edi]
mov esi, 0xbe479e67
pop esi
xchg dword [esi - 0x46bf66a0], edi
pushal
fld dword [eax]
mov ecx, 0xb8409960
popal
pop eax
cmp dword [eax - 0x44bd649f], 0x9c7bb162
sbb bl, byte [ebp - 0x6de562c6]
cmc
xchg ebx, eax
adc al, 0x91
xor dword [edi - 0x65b26aed], edx
sbb al, 0x98
lahf
sbb edx, dword [edx - 0x55e96c0c]
cmp eax, 0x7e981c9a
cdq
sbb dword [esi - 0x6de460c8], ebx
cmc
xchg ebx, eax
sahf
cmp byte [edi - 0x6c0a6de5], bl
adc al, 0x93
aaa
nop
sub eax, 0x129f7caa
stosb byte es:[edi], al
aas
cdq
sbb dword [esi - 0x6eeb6007], ebx
or eax, 0x799e2daa
sahf
sbb dword [esi - 0x63e661c7], ebx
cli
xchg edx, eax
adc al, 0x90
xor dword [edx + edx + 0x1c9a7daa], edx
sbb al, 0x98
aas
cwde
pop ds
cwde
call [eax - 0x60c666e2]
sbb ebx, dword [ebp - 0x68ef698a]
xor edx, dword [edx + edx + 0x1d9acdaa]
wait
aas
lahf
sbb byte [ecx - 0x6bef688f], dl
xor dl, byte [ebp - 0x670265d3]
pop ds
cdq
cmp byte [edx - 0x688e6feb], dl
adc ch, byte [edx - 0x63e463c8]
cmc
xchg ebx, eax
pop ss
xchg edi, eax
jo 0x46927a
sub eax, 0x3f814879
invalid
Function at 0x46de9d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x58679686
sbb dl, byte [edi + 0x1bf5a6e]
add al, 0x99
xchg edi, eax
outsb dx, byte [esi]
pop edx
mov edi, 0x6d990401
cdq
insd dword es:[edi], dx
fstp xword [0x310002ac]
add ebp, edi
lodsb al, byte [esi]
add al, byte [eax]
xor dword [ebx], eax
out dx, eax
mov esi, 0xdf76e8d8
mov ebx, 0x949b2428
cld
out 0xd7, al
push eax
jg 0x46dea7
jmp 0x690a5686
les esi, [edi - 0x3d]
push 0x1ce3315f
push ecx
clc
jne 0x46df48
in eax, dx
int 0xd
or eax, 0xdee09461
jl 0x46de97
xchg ebp, eax
ficomp word [esi - 0x177933c8]
cmp ah, cl
xchg al, ch
mov cl, ah
jle 0x46debd
push ds
sahf
xchg esi, eax
jb 0x46dec6
jb 0x46df3a
out dx, eax
loopne 0x46df44
or bl, byte [eax - 0x19ff1e25]
inc eax
pop ebx
sub eax, edi
sbb eax, 0x3ac17698
popfd
sar dword [edx], 0x9d
or eax, 0x8abfc85f
iretd
cmp ah, byte [ecx + 0x57]
mov word [edi], ds
fucomp st(3)
jbe 0x46de9c
loop 0x46dea3
xor al, 0xd6
or byte [ecx + 0x552274fc], dl
leave
pop esi
out dx, al
push edi
sub esp, dword [edx + ebp*2]
aad 0x28
xchg edx, eax
loop 0x46df68
dec eax
mov dl, 0x74
dec ecx
mov ebx, 0xbd911be0
test al, 0x28
sub byte [esi], dl
outsb dx, byte [esi]
sbb eax, 0x991b03c3
std
mov al, ah
push cs
xchg byte [edi], bh
add bh, ch
or ecx, edi
lahf
jecxz 0x46ded7
push edi
push edi
or byte [eax + ebx*4 + 0x1f], ch
jns 0x46df7f
sbb dh, dl
aad 0xb7
lahf
mov ebx, 0x24b4e12d
jle 0x46def7
invalid
scasd eax, dword es:[edi]
les edx, [eax + 0x62491f7a]
pop esi
sbb eax, 0x62b37eb3
jae 0x46dfe5
daa
ror ebp, 1
mov bh, 0x4d
xor al, 0xfc
cld
mov ah, byte [ebp - 0x31]
jmp 0x46df08
leave
jo 0x46e03b
mov gs, edi
sbb byte ds:[esi + ecx*4 - 0x4447192d], bl
movsd dword es:[edi], dword [esi]
adc esi, ecx
xchg ebx, eax
mov dword [edx], esi
pop edi
cli
mov ch, byte [ebp + 9]
salc
out 0xfb, eax
dec eax
not byte [edi]
pop ss
push es
mov gs, word [esi - 0x10]
and eax, 0xa1312ffb
cmp dword [esi - 0x34], esi
int1
pop ss
xor esi, ecx
je 0x46e003
mov byte [0x2c1c5a15], al
fiadd word [edi + 0x2a]
mov ds, esi
aas
aaa
les esi, [ebp - 3]
mov eax, 0xc3de6971
das
pop esp
or edx, dword [ecx + edi*2]
enter 0xffffffffffffbd24, 0x52
add bh, byte [esi]
push esi
adc ah, byte [edx]
out 0xcb, al
ror byte [edx + 0x14], cl
imul eax
mov eax, dword [0xb35b634]
add eax, 0x1b3fee9c
aam 0x73
and al, 0x54
add eax, 0xb84cac04
mov dl, 0xad
fiadd word [esi + 0x67]
in eax, 0x71
cld
or al, 0xc7
and al, 0x5b
add ah, byte [ebp + 0x2416f62c]
xchg dword [0x82648bea], ebp
jae 0x46e0cf
sub eax, 0x18057030
adc eax, 0x53a52d
xchg ebp, ebp
mov eax, 0x65186bb
mov esp, 0xc007e033
adc al, 8
mov esi, 0xeefa385
inc esp
sbb dword [ebx - 0x3ff83d7d], 0xffffffac
push edx
mov dl, 0xf9
inc esi
xchg esi, eax
ror esi, 0xba
test edi, edx
push cs
je 0x46e0f0
pop es
rol byte [esi], 0xd6
invalid
scasd eax, dword es:[edi]
stc
imul ebp, esi, 0xcce4680a
salc
scasb al, byte es:[edi]
loop 0x46e09d
int 0x56
call 0xb6c89d8
xlatb
salc
jbe 0x46e105
jmp 0x14a5db5e
pop ecx
cmp esp, esi
cmc
retf
out dx, al
sti
invalid
Function at 0x4835dc
Capabilities:
Authenticate hmac

Disassembly:
idiv esp
fisttp dword [eax]
xor edi, ecx
mov dword [ebx], ebx
jae 0x483658
sbb edi, dword [esp]
xchg edx, eax
cli
movsb byte es:[edi], byte [esi]
imul dword [ecx]
scasd eax, dword es:[edi]
xchg ecx, eax
int 0x98
pop esp
lahf
inc esp
int3
fdiv qword [ebx - 0x46]
inc ecx
mov edi, 0x4a7811c2
dec esp
mov byte [0x390acfa1], al
stosb byte es:[edi], al
mov ebx, 0xeb08a0db
or bl, ch
dec ebx
cmp cl, dh
scasb al, byte es:[edi]
xchg ecx, eax
dec esp
ja 0x48366b
call 0xeaa3ef7a
push ds
insb byte es:[edi], dx
push 0xe862f1f2
pop esi
cmp al, 0xc9
out 0xc8, eax
mov esi, 0x42d7bacf
add eax, 0x2b3c6bee
xchg ecx, eax
adc byte [0xb2d9ed20], ah
xchg edx, eax
and bl, bl
push 0xb8ea2ee5
lds edi, [ecx]
or eax, dword [eax + 0x7e93c58f]
cmp eax, edx
xchg edi, ebp
and dword [esi], edx
ror dword [ecx + 0xd49d9c8], cl
mov al, byte [0x8839c8a5]
pop eax
popal
adc ecx, esi
and eax, 0xc0edffb0
mov ebx, 0xd6e7a83e
mov al, byte [0xc1380af9]
salc
mov bh, 0x99
fsub qword cs:[ebp - 0x2335feb8]
push ss
jns 0x4836e7
lahf
pop ss
aaa
imul ecx, ecx, 0x79a378be
mov ch, 0x74
adc dword [edx - 0x15336dbc], 0x28
leave
dec edi
jp 0x48374e
xchg edx, eax
int3
test byte [ecx - 0x6db61d05], dl
xchg edx, eax
sbb al, 0x5c
loope 0x483754
int 0x70
or dl, al
push edi
stosd dword es:[edi], eax
popal
xchg ebx, eax
push edx
or ah, ah
or dword [ecx - 0x57010139], edi
push cs
outsb dx, byte [esi]
xchg dword [eax], edi
leave
fisub dword [esi - 5]
lodsb al, byte [esi]
invalid
xlatb
test al, 0x36
shl byte [eax + edi*2 + 0x75c6afae], 0x71
xor dword [edx + 0x3b], edi
fucom st(5)
test eax, 0x315a9b9c
mov dl, byte [ebp + 0x7a4e7447]
invalid
dec ebx
wait
add edx, dword [esi + 4]
dec ecx
sub ecx, dword [eax]
xor al, 0x98
sbb eax, dword [edx + 0x7e181a00]
loope 0x483753
stc
scasd eax, dword es:[edi]
jle 0x48370c
push ds
or eax, 0x3a3add31
add dh, byte [edi + 0x20]
and eax, 0x5d781937
xchg ebp, eax
not byte [ebx + 0x29]
les ebx, [ecx + 0x7d]
scasb al, byte es:[edi]
jge 0x483729
xor dword [0xe908fbfe], 0xd03c276
lodsb al, byte [esi]
jb 0x48371e
sub edi, dword [0xd67962ed]
mov esp, 0x40f5f11
out 0xbb, eax
insd dword es:[edi], dx
add byte [ebx + 0x3b750e5b], ah
scasd eax, dword es:[edi]
add esp, dword [ecx + 0x1bbafb58]
nop
loop 0x4837ef
and dword [ebx + 0x1d], eax
or byte [ebp + 0x55], 0xb9
out 0x87, al
arpl word [edx - 0x4a], cx
wait
pop ebx
adc dword [ecx], 0x3cbb2318
push esp
dec esp
sbb dword [edx], 0x762f1b04
add esi, dword [ebx - 3]
or al, 0x8c
jnp 0x483779
xchg dword [ecx - 0x1a], edx
xor dword [ebp + edi*8 - 0x26afd41d], edx
xchg ecx, eax
arpl word [ebx], sp
pushal
imul esp, dword [esi], 0xffffffaa
stc
cld
jmp 0xa685261
sbb dword [eax - 0x6ec9d268], ecx
adc esp, ebx
call dword cs:[ebx - 0x67]
bound ecx, qword [eax]
or byte [ebp + 0x5d], 0xbc
xor dword [ebx - 0x2090d4a7], 0xfffffff3
xchg ecx, eax
int1
invalid
Function at 0x628d15
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6323e8
cmp edx, dword [eax]
je 0x628d37
add eax, 8
inc ecx
cmp eax, 0x632478
jl 0x628d28
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6323e8]
jne 0x628e65
mov eax, dword [0x63ad88]
cmp eax, 1
je 0x628e3f
test eax, eax
jne 0x628d68
cmp dword [0x632310], 1
je 0x628e3f
cmp edx, 0xfc
je 0x628e65
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x628d9f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629700
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629b90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628de2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629b90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62ea5c
push edi
call fcn.0062ba60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629700
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629710
lea eax, [ebp - 0xa0]
push 0x62ea3c
push eax
call fcn.00629710
push dword [esi + 0x6323ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629710
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b9d4
add esp, 0x2c
pop edi
jmp 0x628e65
lea eax, [ebp + 8]
lea esi, [esi + 0x6323ec]
push 0
push eax
push dword [esi]
call fcn.00629b90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Get hostname
Get networking interfaces
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x344
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x407020
push 0x407088
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetVersionExA
push 0x407078
mov dword [esp + 0x88], eax
call esi
push eax
call edi
push 0x407010
push 0x407088
mov ebx, eax
call esi
push eax
call edi
push str.GetSystemInfo
push 0x407078
mov dword [esp + 0x74], eax
call esi
push eax
call edi
push str.GlobalMemoryStatusEx
jmp loc.0040f416

Function at 0x401940
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 8

Function at 0x401c64
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407164
push 0x407180
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x407188
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
cmp dword [0x407464], 0
mov dword [ebp - 8], eax
jmp loc.0040fdce

Function at 0x401e67
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 0xc]
push 4
push eax
push 8
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne fcn.00401eb8
push eax
lea ecx, [ebp + 0xc]
push eax
push ecx
push eax
push eax
jmp loc.00410187
Function at 0x402217
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x384
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407144
push str.GetShortPathNameA
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetEnvironmentVariableA
push ebx
mov dword [ebp - 0x2c], eax
call esi
push eax
call edi
push 0x407304
push ebx
mov dword [ebp - 0x30], eax
call esi
push eax
call edi
push 0x4071e0
push ebx
mov dword [ebp - 0x38], eax
call esi
push eax
call edi
push str.SetPriorityClass
push ebx
mov dword [ebp - 0x24], eax
call esi
push eax
call edi
push str.SetThreadPriority
push ebx
mov dword [ebp - 0x28], eax
call esi
push eax
call edi
push str.WinExec
push ebx
mov dword [ebp - 0x3c], eax
call esi
push eax
call edi
push str.SetFileAttributesA
push ebx
call esi
push eax
call edi
push 0x40
mov dword [ebp - 0x34], eax
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x17b]
mov byte [ebp - 0x17c], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x383]
mov byte [ebp - 0x384], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x27f]
mov byte [ebp - 0x280], bl
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push esi
lea eax, [ebp - 0x17c]
push eax
push ebx
call dword [ebp - 0x38]
lea eax, [ebp - 0x17c]
push esi
push eax
lea eax, [ebp - 0x17c]
push eax
call dword [ebp - 0x2c]
lea eax, [ebp - 0x384]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x4f
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1d], 0x53
mov byte [ebp - 0x1c], 0x50
jmp loc.004107f8

Function at 0x402446
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x40245f
push 1
pop eax
jmp fcn.004024d4
mov eax, dword [0x408498]
push 0
mov dword [ebp - 0x100], eax
push 0
lea eax, [ebp - 0x104]
push 0
push eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x104], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4024cd
test eax, eax
je 0x40245f
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
jmp loc.00411375
xor eax, eax
jmp loc.0040f4c2

Function at 0x402c37
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402cac
push edi
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp + 8], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
jmp loc.004115bd
pop esi
pop ebx
leave
ret
Function at 0x402f1b
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x407144
push str.GetLastError
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.ExitProcess
push ebx
call esi
push eax
call edi
push str.GetCurrentThreadId
push ebx
call esi
push eax
call edi
jmp loc.004119a2

Function at 0x403000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.ADVAPI32.dll
push str.RegCloseKey
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.RegOpenKeyExA
push ebx
mov dword [ebp - 0x28], eax
call esi
push eax
call edi
push 0x40
mov dword [ebp - 0x30], eax
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], dl
mov byte [ebp - 0x24], 0x53
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x24]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0x23], 0x59
mov byte [ebp - 0x22], 0x53
mov byte [ebp - 0x21], 0x54
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x4d
mov byte [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1d], 0x43
mov byte [ebp - 0x1c], 0x75
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x63
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x5c
mov byte [ebp - 2], dl
lea ebx, [ebp - 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [ebp - 0x134]
jmp loc.004107b8

Function at 0x403161
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406160
push 0x403950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x468
push ebx
push esi
push edi
push str.RegCloseKey
mov ebx, str.ADVAPI32.dll
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x340], eax
jmp loc.0040f316

Function at 0x403956
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406170
push 0x403950
jmp loc.004118d1

Function at 0x403ac0
Capabilities:
Packed with generic packer

Disassembly:
push 0x30000
push 0x10000
jmp loc.0041048a