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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x483da8
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x483d97
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
dec ecx
je 0x483d3d
dec ecx
jne 0x483d8e
cmp eax, 4
jg 0x483ce8
mov dword [ebp - 4], 4
jmp 0x483d9e
cmp eax, 5
jne 0x483cfd
test edx, edx
jne 0x483cfd
mov dword [ebp - 4], 5
jmp 0x483d9e
cmp eax, 5
jne 0x483d13
cmp edx, 1
jne 0x483d13
mov dword [ebp - 4], 6
jmp 0x483d9e
cmp eax, 5
jne 0x483d26
cmp edx, 2
jne 0x483d26
mov dword [ebp - 4], 6
jmp 0x483d9e
cmp eax, 6
jl 0x483d34
mov dword [ebp - 4], 7
jmp 0x483d9e
mov dword [ebp - 4], 0xffffffff
jmp 0x483d9e
cmp eax, 4
jne 0x483d4d
test edx, edx
jne 0x483d4d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x483d9e
cmp eax, 4
jne 0x483d72
cmp edx, 0xa
jne 0x483d72
cmp byte [ebp - 0x83], 0x41
jne 0x483d69
mov dword [ebp - 4], 2
jmp 0x483d9e
mov dword [ebp - 4], 1
jmp 0x483d9e
cmp eax, 4
jne 0x483d85
cmp edx, 0x5a
jne 0x483d85
mov dword [ebp - 4], 3
jmp 0x483d9e
mov dword [ebp - 4], 0xffffffff
jmp 0x483d9e
mov dword [ebp - 4], 0xffffffff
jmp 0x483d9e
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x483db2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x485944
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x48598c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xffffffffffffffff
push ebx
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00418c9c
push 0
push 0x48599c
call sub.user32.dll_FindWindowA
test eax, eax
je 0x485982
push ebx
push eax
call sub.user32.dll_GetWindowRect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485996
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40a8f0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40a99f
push esi
call fcn.00424570
add esp, 4
test al, al
jne 0x40a99f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40a917
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0042ef60
add esp, 0xc
test eax, eax
je 0x40a94b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0042ef60
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40a94d
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x40a97e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.0041d690
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x40a960
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x411bb0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x14
mov eax, dword [0x46f440]
xor eax, esp
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 4]
and eax, 0xa
cmp al, 0xa
mov eax, dword [ecx + 0xc]
jne 0x411be7
mov esi, dword [eax + 0x78]
mov ebx, dword [eax + 0x7c]
mov ebp, dword [eax + 0x80]
jmp 0x411bf3
mov esi, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov ebp, dword [eax + 0x500]
test esi, esi
je 0x411cd4
mov eax, dword [edi]
test eax, eax
je 0x411c30
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x411c23
test dl, dl
je 0x411c1f
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x411c23
add ecx, 2
add eax, 2
test dl, dl
jne 0x411c03
xor eax, eax
jmp 0x411c28
sbb eax, eax
or eax, 1
test eax, eax
je 0x411cd4
push edi
call fcn.00411b60
push esi
call dword [0x46f00c]
mov edx, eax
add esp, 8
mov dword [edi], edx
test edx, edx
je 0x411c8a
test ebx, ebx
je 0x411cab
mov ecx, ebx
nop
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x411c70
test al, al
je 0x411c6c
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x411c70
add esi, 2
add ecx, 2
test al, al
jne 0x411c50
xor eax, eax
jmp 0x411c75
sbb eax, eax
or eax, 1
test eax, eax
je 0x411cab
push ebx
call dword [0x46f00c]
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x411cae
push edi
call fcn.00411b60
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0045ac79
add esp, 0x14
ret
mov dword [edi + 4], edx
mov esi, dword [edi]
test esi, esi
je 0x411d0a
cmp byte [esi], 0
je 0x411d0a
mov ebx, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [esp + 0x10]
push eax
push esi
push 2
call ebx
test eax, eax
je 0x411cf3
mov dword [edi + 0xc], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045ac79
add esp, 0x14
ret
lea eax, [esp + 0x10]
push eax
push esi
push 0x17
call ebx
test eax, eax
je 0x411d0a
mov dword [edi + 0xc], 2
jmp 0x411cd4
mov ecx, dword [edi]
mov dword [edi + 0xc], 0
cmp byte [ecx], 0
je 0x411cd4
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x411d20
sub esi, edx
je 0x411d33
cmp byte [ecx + esi - 1], 0x2e
jne 0x411d33
dec esi
cmp esi, 0xffff
jae 0x411cd4
lea eax, [esi + 1]
push eax
push 1
call dword [0x46f010]
add esp, 8
mov dword [edi + 8], eax
test eax, eax
je 0x411c8a
push esi
push dword [edi]
push eax
call fcn.0041d6f0
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x411cd4
Function at 0x417d90
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x696], 0
je 0x417e2d
cmp dword [esi + 0x194], 0
je 0x417de7
push esi
call fcn.004056d0
push 1
push esi
mov byte [esp + 0x14], al
call fcn.00405ec0
push dword [esi + 0x144]
mov eax, dword [esi + 0x194]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.00405ec0
add esp, 0x28
pop esi
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0
je 0x417dfc
sub eax, 1
je 0x417dfc
sub eax, 1
jne 0x417e2d
push dword [esi + 0x140]
lea eax, [ecx*2 + 0x45f0e8]
push 1
add eax, ecx
push 2
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
push dword [esi + 0x140]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x20
pop esi
ret

Function at 0x41b870
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x41b88a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x45fac8
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcspbrk
add esp, 8
test eax, eax
je 0x41b8d2
test ebp, ebp
je 0x41b8c3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x41b8f8
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b8f8
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x41b9d2
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b915
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41b9c8
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41b9c8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b956
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b971
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x41b990
test ebp, ebp
je 0x41b9bf
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x46f004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x46f004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x41ecc0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0x46f710]
mov dword [esp + 4], 0x4020
mov dword [esp], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x41ed11
push 3
push 2
push eax
push eax
push 6
call fcn.0044ee50
add esp, 0x14
test al, al
je 0x41ed05
mov dword [0x46f710], 2
add esp, 0xc
ret
mov dword [0x46f710], 1
jmp 0x41ed16
cmp eax, 2
je 0x41ed5c
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x41ed41
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jg 0x41ed5c
push 4
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
ret
Function at 0x41f820
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x46f440]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x194]
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [esi + 0x98]
cmp edi, 0xffffffff
je 0x41f958
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x2ac]
test dword [eax + 0x48], 0x800
jne 0x41f958
push 0x80
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x41f8e6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.0042e270
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.00417e30
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0045ac79
add esp, 0x188
ret
lea eax, [esi + 0xfc]
push eax
lea eax, [esi + 0xca]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
call fcn.0041a210
add esp, 0x10
test al, al
jne 0x41f958
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.0042e270
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00417e30
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0045ac79
add esp, 0x188
ret
mov ecx, dword [esp + 0x190]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045ac79
add esp, 0x188
ret

Function at 0x424570
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x18
mov eax, dword [0x46f440]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x4245b8
lea eax, [esp + 8]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
pop esi
setg al
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045ac79
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
mov al, 1
pop esi
xor ecx, esp
call fcn.0045ac79
add esp, 0x18
ret

Function at 0x424710
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x42474e
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x144], 0
jne 0x42473f
push 0
call fcn.00424710
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x144], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x144], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x424768
xor esi, esi
test esi, esi
pop esi
setne al
ret
push eax
mov esi, 1
call dword [sym.imp.WS2_32.dll_closesocket]
test esi, esi
pop esi
setne al
ret
Function at 0x425490
Capabilities:
Convert ip address from string
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x46f440]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x78]
push edi
xor edi, edi
mov dword [esp + 8], eax
cmp byte [eax + 0x696], 0
je 0x425669
cmp byte [ebp + 0x18], 0
push ebx
lea ebx, [ebp + 0x18]
je 0x425668
push esi
mov esi, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [esp + 0x34]
push eax
push ebx
push 2
call esi
test eax, eax
jg 0x425667
lea eax, [esp + 0x38]
push eax
push ebx
push 0x17
call esi
test eax, eax
jg 0x425667
push dword [ebp + 0x14]
cmp byte [ebx], 0
mov eax, str._none_
mov esi, dword [ebp]
mov ebp, dword [esp + 0x14]
cmovne eax, ebx
push eax
push str.Host__s:_d_was_resolved.
push ebp
call fcn.00417f00
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.0040af30
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.0040af30
add esp, 0x20
test esi, esi
je 0x4255db
lea edx, [edi + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x425552
cmp ecx, 2
jne 0x4255d0
xor eax, eax
mov byte [esp + 0x48], 0
cmp ecx, 2
lea ebx, [esp + 0x14]
cmovne eax, edx
add ebx, eax
sub ecx, 2
je 0x425581
sub ecx, 0x15
jne 0x425596
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x425591
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call sub.WS2_32.dll_inet_ntop
push ebx
call fcn.0040af50
add esp, 4
test eax, eax
je 0x4255b5
push 2
push 0x45f128
push ebx
call fcn.0040aef0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4255fb
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.0040ae90
mov edi, eax
add esp, 8
test edi, edi
jne 0x4255fb
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x425541
lea eax, [esp + 0x24]
push eax
call fcn.0040af50
add esp, 4
test eax, eax
je 0x42560b
lea eax, [esp + 0x24]
push eax
call fcn.0040af60
add esp, 4
jmp 0x425610
push str.too_many_IP__cannot_show
push ebp
call fcn.00417f00
add esp, 8
jmp 0x425650
mov eax, str._none_
push eax
push str.IPv6:__s
push ebp
call fcn.00417f00
lea eax, [esp + 0x20]
push eax
call fcn.0040af50
add esp, 0x10
test eax, eax
je 0x42563c
lea eax, [esp + 0x14]
push eax
call fcn.0040af60
add esp, 4
jmp 0x425641
mov eax, str._none_
push eax
push str.IPv4:__s
push ebp
call fcn.00417f00
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.0040af00
lea eax, [esp + 0x28]
push eax
call fcn.0040af00
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
xor ecx, esp
call fcn.0045ac79
add esp, 0x6c
ret
Function at 0x42f6c0
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040ac50
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.0042d8c0
push dword [esp + 0x40]
mov edi, eax
call fcn.0042d8c0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x42f755
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0040ac50
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.0040ad00
add esp, 0x20
test edx, edx
ja 0x42f779
jb 0x42f747
cmp eax, 0x3e8
ja 0x42f779
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x42f710
test edi, edi
je 0x42f762
push edi
call fcn.0045bf66
add esp, 4
test esi, esi
je 0x42f76f
push esi
call fcn.0045bf66
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x42f786
push edi
call fcn.0045bf66
add esp, 4
test esi, esi
je 0x42f793
push esi
call fcn.0045bf66
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x42fc90
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x42fe1f
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x42fe0a
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42fcec
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fce0
sub eax, edx
inc eax
jmp 0x42fcee
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x42fcff
lea ebp, [ecx + 0xe]
jmp 0x42fd0b
cmp ecx, 0x17
jne 0x42fdac
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x42fdac
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x42fdac
cmp ecx, ebp
jb 0x42fdac
add eax, 0x20
add eax, ebp
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42fdfb
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x42fd98
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x42fda8
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x42fcd2
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x42fdcc
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x42fe06
test edi, edi
je 0x42fdeb
mov esi, dword [edi + 0x1c]
push edi
call dword [0x46f004]
add esp, 4
mov edi, esi
test esi, esi
jne 0x42fdd4
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x42fdbb
test edi, edi
jne 0x42fe16
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x430220
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x430246
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x431cc0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x2b
test edi, edi
je 0x431d6b
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ebx, 4
lea eax, [esp + 0x1c]
push 4
push eax
cmp edi, ebx
push ebp
cmovb ebx, edi
call fcn.00411e50
mov ecx, eax
add esp, 0xc
cmp ecx, 4
jne 0x431d28
cmp byte [0x46f718], 0
jne 0x431d32
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb ecx, ecx
and ecx, 2
test ecx, ecx
jne 0x431d6b
mov eax, dword [esp + 0x1c]
jmp 0x431d4f
imul eax, dword [0x46f714], 0x41c64e6d
add eax, 0x3039
mov dword [0x46f714], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x431d63
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x431d53
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x431ce0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret

Function at 0x431d80
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
sub ebx, 1
je 0x431e18
mov esi, dword [esp + 0x14]
mov ebp, 0x3e
nop
push 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00411e50
add esp, 0xc
cmp eax, 4
jne 0x431ddc
cmp byte [0x46f718], 0
jne 0x431de6
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x431e1d
mov eax, dword [esp + 0x1c]
jmp 0x431e01
imul eax, dword [0x46f714], 0x41c64e6d
add eax, 0x3039
mov dword [0x46f714], eax
ror eax, 0x10
mov dword [esp + 0x1c], eax
cmp eax, 0xfffffffc
jae 0x431da0
xor edx, edx
div ebp
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
mov byte [edi], al
inc edi
sub ebx, 1
jne 0x431da0
mov byte [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x431e30
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
ret
Function at 0x435810
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x46f008]
mov edi, eax
add esp, 8
test edi, edi
je 0x435867
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x43587f
cmp esi, ebx
je 0x43587f
cmp esi, 0x8000
ja 0x43587f
cmp esi, ebx
jb 0x435878
push esi
push edi
call dword [0x46f008]
mov edi, eax
add esp, 8
test edi, edi
jne 0x435830
push ebp
call dword [0x46f004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x46f004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x436d30
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
mov byte [esp + 0x12], cl
lea ecx, [esp + 0x10]
push 3
mov eax, dword [esi + 0x18]
push ecx
mov byte [esp + 0x18], 0xff
mov byte [esp + 0x19], bl
push dword [eax + 0x1a0]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x436d7c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00417e30
add esp, 0xc
push dword [esp + 0x14]
push ebx
push str.SENT
push esi
call fcn.00436950
add esp, 0x10
pop esi
pop ebx
ret