joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100711e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100818d8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1008a8e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov eax, dword [0x10003930]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x10003934]
mov dword [ecx + 0x20], eax
mov eax, dword [0x10003938]
mov dword [ecx + 0x24], eax
mov eax, dword [0x1000393c]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1007c580
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1007c5be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1007c5b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1007c5c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1007c5a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1007c690
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1007c6a6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1007c6c1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x403aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00403b60
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0xe27347
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jle 0x183162f
clc
sub ecx, dword [edx + 0x10]
jmp 0xe32476
xchg edi, eax
mov al, byte [0xd88323c1]
imul esp, edi, 0x39a34ea7
out 0x5e, eax
rcl byte [eax - 0x48]
fild qword [ebx]
or al, 0x9d
xlatb
mov eax, 0x2474ff03
or al, 0x8d
and al, 0x4c
push dword [esp + 0xc]
lea esp, [esp + 0x4c]
jbe 0xe15114
clc
inc di
cmc
mov edi, dword [edx + 0x24]
shrd ebx, ebp, 8
add edi, eax
mov cl, 0x2a
bt sp, 0xe
add bl, 0x11
ror bh, cl
mov ebx, dword [edx + 0x20]
shl ch, 7
add ebx, eax
bts cx, 0xd
not cl
bswap ecx
mov dword [ebp - 8], 0
bswap cx
movsx cx, cl
mov ecx, dword [edx + 0x18]
stc
push ebx
cmp al, bl
cmp bx, bx
cmp ecx, dword [ebp - 8]
call fcn.00e2604d
add eax, 0x2ebf8c2
inc edi
int 0x1b
loopne 0xe161f2
ret 0xebf8
int1
xor eax, 0x1531f194
vandnpd xmm3, xmm5, xmmword [eax + 0xd]
in eax, 0xa1
add byte [edi*8 - 0x1ea613d6], al
lds edx, [ecx + esi*2 - 0x133527a9]
jae 0xe162ae
dec ebx
stosb byte es:[edi], al
int 0xd9
mov eax, 0xadd4334d
cmpsd dword [esi], dword es:[edi]
in eax, 0xb5
dec ebx
movsd dword es:[edi], dword [esi]
push ebp
js 0xe16264
cmp cl, cl
invalid
stosb byte es:[edi], al
add edi, ebx
out 0xe6, al
xchg edx, eax
cmc
bnd call 0x541b2dd9
stosd dword es:[edi], eax
mov eax, dword [0xa35b0e08]
out 0x68, eax
adc dword [ebp + 0xa], edx
push ss
pop esp
cmpsd dword [esi], dword es:[edi]
inc esp
sub dword [ebx - 0x5b], ecx
dec ebp
push esp
cdq
invalid
test eax, eax
pushal
lea esp, [esp + 0x40]
je 0xe1aeb7
shr esi, 9
bsf dx, bx
add dh, 0x96
xor dx, 0x5beb
mov esi, dword [eax + 0x3c]
add dh, cl
adc edx, ebx
movsx dx, bl
add esi, eax
shld dx, bx, cl
push esi
mov edx, dword [esi + 0x78]
cmp dl, 0xb3
stc
mov word [esp], 0xf1a8
push 0x28187405
test edx, edx
pushfd
lea esp, [esp + 0xc]
je 0xe1aeb7
cmp esi, ebx
bt cx, 0xf
pushfd
bts cx, cx
add edx, eax
stc
ror cx, cl
btc cx, di
mov ecx, dword [esi + 0x7c]
pushal
jmp 0x1833d9f
pushal
add al, 0xb3
mov dword [esp + 0x1c], ebp
bsf bp, di
bt dx, cx
lea ebp, [esp + 0x1c]
pushal
daa
rcr ah, cl
sub esp, 0xffffffdc
bts eax, 0xf
seto al
lahf
shr ax, 2
push esi
aad 0xbe
and ah, 0x1c
btc ax, 2
and ax, 0xacc
push edi
rcr ah, cl
bts ax, 7
shl al, cl
rol al, 6
push ebx
shr eax, 5
push edx
shl ax, 1
mov eax, dword [ebp + 8]
pushal
jmp 0xe1fe21
mov dword [0xf766fffd], eax
lds edx, [esi + 0x27]
test bp, 0x2756
clc
call fcn.00e0daa7
jnp 0xe32473
sbb cl, byte [ecx]
inc esp
inc ebp
int 0x27
inc eax
in al, 0x25
popal
pop esp
jmp 0xaedbfe80
call fcn.01830c5f
invalid
add ecx, edx
test ch, 0x35
mov dword [ebp - 0x10], ecx
dec ch
and cx, 0x6220
mov ecx, dword [ebp + 0xc]
pushal
pushfd
cmp ecx, 0xffff
jmp 0xe1620a
Function at 0x8071e7
Capabilities:
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push ebx
push esi
mov esi, 0x100
push edi
push esi
lea eax, [ebp - 0x178]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x178]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp byte [ebp - 0x178], 0
je 0x807230
lea eax, [ebp - 0x178]
or byte [eax], 0x20
inc eax
cmp byte [eax], 0
jne 0x807227
lea eax, [ebp - 0x78]
push eax
call fcn.00806cd1
lea eax, [ebp - 0x178]
push esi
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00806e83
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00806f2b
movzx eax, byte [ebp - 0x11]
push 8
cdq
pop ecx
idiv ecx
mov edi, edx
add edi, 4
lea eax, [edi + 0x110]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 0x1c
test ebx, ebx
mov dword [ebp - 0x10], ebx
je 0x807336
lea eax, [edi + 0x110]
push eax
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push ebx
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x8072c1
mov al, byte [ebx + eax - 1]
cmp al, 0x5c
je 0x8072c1
cmp al, 0x2f
je 0x8072c1
push 0x801360
push ebx
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
cmp byte [ebx], 0
mov esi, ebx
je 0x8072ce
inc esi
cmp byte [esi], 0
jne 0x8072c8
and dword [ebp - 8], 0
test edi, edi
jle 0x807324
mov eax, dword [ebp - 8]
push 0xb
and eax, 0xf
pop ecx
mov al, byte [ebp + eax - 0x20]
mov byte [ebp - 1], al
movzx eax, al
mov dword [ebp - 0xc], eax
cdq
idiv ecx
mov eax, dword [ebp - 0xc]
test edx, edx
cdq
jle 0x807311
cmp byte [ebp - 1], 0xee
push 0x1a
pop ebx
sbb cl, cl
idiv ebx
mov ebx, dword [ebp - 0x10]
and cl, 0x20
add cl, 0x41
add cl, dl
mov byte [esi], cl
jmp 0x80731b
push 0xa
pop ecx
idiv ecx
add dl, 0x30
mov byte [esi], dl
inc dword [ebp - 8]
inc esi
cmp dword [ebp - 8], edi
jl 0x8072d6
and byte [esi], 0
push 0x802768
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, ebx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x807400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
call fcn.008073e8
push 0x802770
push dword [esi + 0x24]
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x80749a
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push 4
lea eax, [ebp - 4]
push 1
push eax
call edi
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x504f6c30
jne 0x807491
and dword [ebp + 8], 0
and dword [ebp - 4], 0
push ebx
push 4
lea eax, [ebp - 4]
push 1
push eax
call edi
add esp, 0x10
cmp eax, 4
jb 0x807491
cmp dword [ebp - 4], 0
je 0x807491
push 0xf9138c5d
call dword [sym.imp.WS2_32.dll_htonl]
xor dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.0080733b
inc dword [ebp + 8]
pop ecx
cmp dword [ebp + 8], 0x10000
jl 0x807451
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
and dword [esi + 0x14], 0
pop esi
pop ebx
leave
ret
Function at 0x8074a2
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
call fcn.008073e8
push 0x802774
push dword [esi + 0x24]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 8], eax
test eax, eax
pop ecx
je 0x807533
push ebx
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push 0x504f6c30
call edi
push dword [ebp - 8]
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push 1
push eax
call ebx
and dword [ebp + 8], 0
add esp, 0x10
cmp dword [esi + 0x1c], 0
jle 0x807527
push 0xf9138c5d
call edi
mov ecx, dword [esi + 0x18]
mov edx, dword [ebp + 8]
push dword [ebp - 8]
xor eax, dword [ecx + edx*4]
push 4
push 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call ebx
add esp, 0x10
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1c]
jl 0x8074f9
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
pop ebx
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_time]
and dword [esi + 0x14], 0
pop ecx
pop esi
leave
ret
Function at 0x807983
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
push edi
inc esi
push 6
push esi
push 2
pop edi
push edi
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x18], ebx
jne 0x8079ad
xor eax, eax
jmp 0x807a76
push 0x10
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x807a6b
push eax
lea eax, [ebp - 0xc]
push edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
jne 0x807a6b
push dword [ebp - 0xc]
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
call esi
push eax
mov dword [ebp - 0xc], eax
call fcn.008077fe
pop ecx
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
push dword [ebp - 8]
call esi
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
shr eax, 1
shr ebx, 1
and dword [ebp - 0x10], 0
mov byte [ebp - 1], al
xor edi, edi
lea esi, [ebp + edi - 0x14]
push 0
push 1
push esi
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x807a3c
xor byte [esi], bl
add bl, byte [ebp - 1]
inc edi
cmp edi, 4
jl 0x807a1b
cmp edi, 4
jl 0x807a69
mov eax, dword [ebp - 0x10]
push 0x10
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x807a57
cmp dword [ebp - 0x14], edx
jne 0x807a69
test edx, edx
je 0x807a64
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.00807545
pop ecx
pop ecx
inc dword [ebp - 0x10]
jmp 0x807a19
xor esi, esi
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x807b94
Capabilities:
Get hostname
Resolve dns
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x807bb6
mov esi, dword [0x808244]
cmp esi, ebx
je 0x807c73
push dword [ebp + 0xc]
call fcn.0080317f
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
je 0x807c73
push edi
push ebx
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
call fcn.008073e8
xor edi, edi
cmp dword [esi + 0x1c], ebx
jle 0x807c06
mov eax, dword [esi + 0x18]
push ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push 4
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
inc edi
cmp edi, dword [esi + 0x1c]
jl 0x807be3
lea eax, [ebp - 0x144]
push 0x100
push eax
mov dword [esi + 0x14], ebx
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x807c69
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov edx, dword [edx + ecx*4]
cmp edx, ebx
je 0x807c44
mov edx, dword [edx]
mov dword [ebp + ecx*4 - 0x44], edx
inc ecx
cmp ecx, 0x10
jl 0x807c2e
cmp ecx, ebx
jle 0x807c69
lea esi, [ebp + ecx*4 - 0x44]
mov edi, ecx
sub esi, 4
cmp dword [esi], ebx
je 0x807c66
lea eax, [ebp + 8]
push ebx
push eax
push 4
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
dec edi
jne 0x807c4e
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x807c77
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
lea eax, [ebp - 0x108]
push 0x100
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push esi
push 0x80
push 3
push esi
push 3
lea eax, [ebp - 0x108]
push bind
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x807d15
push ebx
call fcn.0080317f
cmp eax, esi
pop ecx
jne 0x807ccf
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x807d15
push edi
push esi
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.DLL_ReadFile]
jmp 0x807cf4
cmp dword [ebp - 8], esi
je 0x807d0d
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00807545
pop ecx
pop ecx
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 8]
push 4
push eax
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edi
cmp dword [ebp - 4], esi
jne 0x807ce2
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x807d19
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
lea eax, [ebp - 0x140]
push 0x100
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x807d7f
mov eax, dword [eax + 0xc]
push esi
lea ecx, [ebp - 0x40]
xor esi, esi
sub ecx, eax
mov edx, dword [eax]
test edx, edx
je 0x807d7a
mov edx, dword [edx]
inc esi
mov dword [ecx + eax], edx
add eax, 4
cmp esi, 0x10
jl 0x807d50
jmp 0x807d7a
mov eax, dword [ebp + esi*4 - 0x44]
dec esi
test eax, eax
je 0x807d7a
push eax
push dword [ebp + 8]
call fcn.00807545
pop ecx
pop ecx
test esi, esi
jg 0x807d66
pop esi
leave
ret

Function at 0x807d81
Capabilities:
Create tcp socket
Create thread
Create udp socket
Start tcp server

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x2c
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
push 0x2c
push 0
push esi
mov dword [0x808244], esi
call sub.MSVCRT.dll_memset
call fcn.008071e7
push esi
mov dword [esi + 0x24], eax
call fcn.00807d19
push esi
call fcn.00807c77
push esi
call fcn.00807400
push esi
call fcn.008074a2
mov edi, dword [sym.imp.WS2_32.dll_htons]
and dword [esi + 4], 0
add esp, 0x20
mov word [esi], 2
push 0x412
call edi
mov ebx, dword [sym.imp.WS2_32.dll_socket]
push 6
push 1
push 2
mov word [esi + 2], ax
call ebx
mov ebp, dword [sym.imp.WS2_32.dll_bind]
jmp 0x807e23
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov word [esi], 2
and dword [esi + 4], 0
push 0x412
call edi
push 6
push 1
push 2
mov word [esi + 2], ax
call ebx
push 0x10
push esi
push eax
mov dword [esi + 0x10], eax
call ebp
test eax, eax
jne 0x807df3
push bind
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_listen]
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateThread]
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebx
push esi
push 0x807b7a
push ebx
push ebx
call ebp
push 0x1c
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
push 0x1c
push ebx
push edi
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [edi + 0x18]
mov dword [edi], esi
mov dword [eax], 0x10
push eax
lea eax, [edi + 8]
push eax
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_accept]
cmp eax, ebx
mov dword [edi + 4], eax
jg 0x807e9e
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
jmp 0x807e56
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push 0x80783e
jmp 0x807e52
Function at 0x417020
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
mov eax, dword [0x41b008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc10], eax
cmp ebx, 0x182
jne 0x417055
lea ecx, [ebp - 0xc30]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x41707f
cmp ebx, 0x19f
jne 0x41707f
push str.nehadanifowanositiwepogihawiwam_kojujobofoliv_mayihiyonatadihaxawodirifuf_gitupal
push str.vilijafoxo_vijifewirecekaruludugugadularewu
push str.nicolicetihutamuto_wafasegixa_nanudavanajazabarerehu_teyexahemadusixadoxirocoluci_vetefewodipeyevehoc
push str.loxudusupexalojabedok_tayuzuxodatalahefe_hof_pelozemobodofeh_guyecakarulegixahujutababizah
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
xor edi, edi
test ebx, ebx
jle 0x41712f
push esi
jmp 0x417090
lea esi, [ebp - 0xc0c]
mov dword [ebp - 0xc08], 5
mov dword [ebp - 0xc0c], 0
call fcn.00417010
mov eax, dword [ebp - 0xc0c]
add eax, 0x46
mov dword [ebp - 0xc08], eax
sub dword [ebp - 0xc08], 0x46
mov dl, byte [ebp - 0xc08]
mov eax, dword [ebp - 0xc10]
xor byte [eax + edi], dl
cmp ebx, 0xf
jne 0x417125
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
lea eax, [ebp - 0xc14]
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push str.nacuroyayo
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
lea edx, [ebp - 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
inc edi
cmp edi, ebx
jl 0x417090
pop esi
pop edi
cmp ebx, 0x2d
jne 0x417149
mov dword [0x2b1b0a0], 0xa62e7790
mov dword [0x2b1b0a4], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x417160
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x41b008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x2b1af6c]
push ebx
push esi
mov esi, dword [0x2b1adb4]
mov ebx, eax
cmp eax, 0x5dd
jne 0x41719a
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x41bef0]
call fcn.00416fe0
cmp dword [0x2b1af6c], 0x2f
jne 0x4171b5
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.00417020
add esp, 4
cmp dword [0x2b1af6c], 0x568
pop esi
pop ebx
jne 0x4171dc
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x41d86c], 0
push esi
jne 0x401d35
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x401d0c
mov dword [ecx*4 + 0x41d868], edx
inc ecx
cmp ecx, 0x100
jl 0x401d07
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
not ecx
test edx, edx
je 0x401d5c
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41d868]
inc esi
sub edx, 1
jne 0x401d44
not ecx
mov eax, ecx
pop esi
pop ebp
ret 0xc
Function at 0x403a50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 4]
push ebx
push edi
push eax
mov eax, dword [0x41dc98]
xor edi, edi
or eax, 8
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403ae2
mov ebx, 0x105
jmp 0x403a9b
cmp dword [ebp + 0x10], edi
jne 0x403ad6
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.00403a50
test eax, eax
jne 0x403ab1
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x403a82
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004097ed
test eax, eax
je 0x403ae8
push edi
push dword [0x41dc98]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x403ae2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 0xc
cmp dword [0x41dc98], edi
jne 0x403adf
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x403adf
mov eax, edi
jmp 0x403ae2

Function at 0x403b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jb 0x403bc3
ja 0x403b8b
cmp dword [ebp + 0xc], 0
jbe 0x403bc3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [ebp + 0x18]
and ecx, 7
shl ecx, 3
call fcn.0040a250
xor word [ebx + esi*2], ax
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0x10]
jb 0x403b97
ja 0x403bc0
cmp esi, dword [ebp + 0xc]
jb 0x403b97
pop edi
pop esi
pop ebx
leave
ret