joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424440
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2d0], 2
jne 0x424452
jmp fcn.004243e0
mov eax, 1
ret

Function at 0x424ff0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
push esi
push str.kernel32
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x42500a
pop esi
pop ebp
pop ecx
ret
push ebx
push edi
push 0x674ce8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [esp + 0x18]
mov edi, eax
push 0x674ce4
push ebx
mov dword [esp + 0x18], edi
call fcn.004c0880
add esp, 8
test eax, eax
je 0x425056
test edi, edi
je 0x425047
push 8
push 0
push ebx
call edi
pop edi
pop ebx
pop esi
mov ebp, eax
pop ebp
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop ebx
pop esi
mov ebp, eax
pop ebp
pop ecx
ret
test edi, edi
je 0x42507c
push str.AddDllDirectory
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42507c
push 0x800
push 0
push ebx
call edi
pop edi
pop ebx
pop esi
mov ebp, eax
pop ebp
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
test edi, edi
je 0x425130
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425095
sub eax, edx
lea eax, [eax + edi + 1]
push eax
call dword [0x6f0020]
mov esi, eax
add esp, 4
test esi, esi
je 0x425126
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x425126
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4250c3
sub eax, edx
mov ecx, 0x5c
mov word [eax + esi], cx
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4250e0
sub eax, edx
lea edx, [eax + esi]
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4250f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42511d
push 8
push 0
push esi
call eax
push esi
mov ebp, eax
call dword [0x6f0024]
add esp, 4
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
push esi
call dword [0x6f0024]
add esp, 4
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x425140
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x230
mov eax, dword [0x6f33d4]
xor eax, esp
mov dword [esp + 0x22c], eax
test byte [esp + 0x234], 2
je 0x4251a7
lea eax, [esp + 0x9c]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x42518d
mov eax, dword [esp + 0x9c]
cmp al, 2
jne 0x425187
shr eax, 8
cmp al, 2
je 0x4251a7
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004bec6d
add esp, 0x230
ret
push str.iphlpapi.dll
call fcn.00424ff0
add esp, 4
mov dword [0x6f6584], eax
test eax, eax
je 0x4251d2
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4251d2
mov dword [0x6f6588], eax
push esi
push 0x9c
lea ecx, [esp + 8]
push 0
push ecx
call fcn.004bee40
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
push 3
push 2
push 0
push 0
mov dword [esp + 0x14], 0x9c
mov dword [esp + 0x18], 6
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 2
call esi
push 3
push 1
push edx
push eax
call esi
push 3
push 0x20
push edx
push eax
call esi
push 3
push 0x10
push edx
push eax
call esi
push 1
push 8
push edx
push eax
call esi
push edx
push eax
push 0x33
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
pop esi
test eax, eax
je 0x425277
push 0x6fd768
mov dword [0x6fd770], 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004bec6d
add esp, 0x230
ret
mov ecx, dword [esp + 0x22c]
xor ecx, esp
mov dword [0x6fd770], 0
xor eax, eax
call fcn.004bec6d
add esp, 0x230
ret
Function at 0x429620
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x6f33d4]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xaa0]
push 4
lea ecx, [esp + 4]
push ecx
push 8
shr eax, 0xb
push 0xffff
and eax, 1
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.WSOCK32.dll_setsockopt]
test eax, eax
jns 0x429675
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00423120
add esp, 0xc
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004bec6d
add esp, 0x18
ret
mov edx, dword [esi + 0xa60]
push edx
mov dword [esp + 0xc], 1
call fcn.004239e0
imul eax, eax, 0x3e8
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xa64]
push eax
call fcn.004239e0
imul eax, eax, 0x3e8
add esp, 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0xc
lea edx, [esp + 0x20]
push edx
push 0x98000004
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x4296ee
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.00423120
add esp, 0x10
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004bec6d
add esp, 0x18
ret
Function at 0x429ea0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18c
mov eax, dword [0x6f33d4]
xor eax, esp
mov dword [esp + 0x188], eax
push ebp
mov ebp, dword [esp + 0x194]
cmp dword [ebp + 0x90], 2
je 0x42a05e
mov eax, dword [ebp + 0x2a4]
push ebx
push esi
push edi
test al, 2
jne 0x42a052
test eax, 0x8000000
jne 0x42a052
mov edi, dword [ebp]
mov esi, dword [esp + 0x1a4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ebx, 0x80
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WSOCK32.dll_getpeername]
test eax, eax
je 0x429f40
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push ebx
lea edx, [esp + 0x11c]
mov esi, eax
push edx
push esi
call fcn.00417630
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push edi
call fcn.00423270
add esp, 0x1c
jmp 0x42a05b
push ebx
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x1c], ebx
call fcn.004bee40
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
call dword [sym.imp.WSOCK32.dll_getsockname]
test eax, eax
je 0x429f95
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov esi, eax
push ebx
lea eax, [esp + 0x11c]
push eax
push esi
call fcn.00417630
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.00423270
add esp, 0x1c
jmp 0x42a05b
lea edi, [ebp + 0x10a]
lea ebx, [ebp + 0x138]
lea esi, [esp + 0x98]
call fcn.00429e20
test eax, eax
jne 0x429fec
call fcn.004bf527
mov esi, eax
call fcn.004bf527
mov edx, dword [esi]
push 0x80
lea ecx, [esp + 0x11c]
push ecx
push edx
mov edi, eax
call fcn.00417630
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [edi]
push eax
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ecx
call fcn.00423270
add esp, 0x1c
jmp 0x42a05b
lea edi, [ebp + 0x5c]
mov ecx, 0xb
lea esi, [ebp + 0x10a]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ebx, [ebp + 0x16c]
lea edi, [ebp + 0x13c]
lea esi, [esp + 0x18]
call fcn.00429e20
test eax, eax
jne 0x42a052
call fcn.004bf527
mov esi, eax
call fcn.004bf527
push 0x80
lea edx, [esp + 0x11c]
mov edi, eax
mov eax, dword [esi]
push edx
push eax
call fcn.00417630
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push eax
push ecx
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edx
call fcn.00423270
add esp, 0x1c
jmp 0x42a05b
push ebp
call fcn.00429da0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18c]
pop ebp
xor ecx, esp
call fcn.004bec6d
add esp, 0x18c
ret
Function at 0x42a080
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x88
mov eax, dword [0x6f33d4]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
push esi
mov esi, dword [eax]
push 4
lea eax, [esp + 8]
push eax
push 1
push 6
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
test eax, eax
jns 0x42a0f7
push 0x80
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
call fcn.00417630
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00423120
add esp, 0x18
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004bec6d
add esp, 0x88
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00423120
mov ecx, dword [esp + 0x90]
add esp, 8
pop esi
xor ecx, esp
call fcn.004bec6d
add esp, 0x88
ret
Function at 0x434890
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push str.Connected_for_receive
push 0x674830
push ecx
call fcn.00423120
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.004337c0
test eax, eax
jne 0x4348c0
mov ecx, esi
jmp fcn.00433cf0
ret
Function at 0x436b40
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov edx, dword [esi + 0x1b8]
mov al, byte [esp + 8]
push edi
mov edi, dword [esi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WSOCK32.dll_send]
test eax, eax
jns 0x436b84
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.00423270
add esp, 0xc
mov edx, dword [esp + 0xc]
mov ecx, dword [esi]
mov eax, ebx
mov edi, str.SENT
call fcn.00436a40
pop edi
pop ecx
ret
Function at 0x4374a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x90c
mov eax, dword [0x6f33d4]
xor eax, esp
mov dword [esp + 0x908], eax
push ebx
push ebp
push esi
push edi
push 0x7f
lea eax, [esp + 0x9d]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0xa4], 0
call fcn.004bee40
push 0x7f
lea ecx, [esp + 0x29]
push 0
push ecx
mov byte [esp + 0x30], 0
call fcn.004bee40
mov ebp, dword [ebx]
mov edi, dword [ebp + 0x15c]
mov edx, dword [edi + 0x1eb4]
sub edx, dword [edi + 0x1eb0]
lea eax, [edi + 0x1cb0]
add edx, 2
push edx
push 0x3c
mov esi, ebp
mov dword [esp + 0x30], ebp
call fcn.00436ec0
mov eax, dword [edi + 0x1eb0]
movzx ecx, byte [eax]
inc eax
add esp, 0x20
mov dword [edi + 0x1eb0], eax
cmp ecx, 0x18
je 0x437688
cmp ecx, 0x23
je 0x437662
cmp ecx, 0x27
jne 0x43771a
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [esp + 0x12c]
push 0x800
push eax
call fcn.0042b8f0
mov esi, dword [edi + 0x1cac]
add esp, 0x1c
mov ebp, 4
test esi, esi
je 0x4375f6
lea esp, [esp]
mov ebx, dword [esi]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437587
sub eax, edx
lea edi, [eax + ebp + 1]
cmp edi, 0x7fa
jae 0x4375eb
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x9c]
push edx
push str._127_____127s
push ebx
call fcn.004c0358
add esp, 0x10
test eax, eax
je 0x4375eb
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0xa0]
push ecx
push 0
mov edx, 0x800
push str._c_s_c_s
sub edx, ebp
push edx
lea eax, [esp + ebp + 0x130]
push eax
call fcn.0042b8f0
add esp, 0x1c
mov ebp, edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x437580
mov ebx, dword [esp + 0x14]
push 0xf0
push 0xff
mov ecx, 0x800
push 0x6770a0
sub ecx, ebp
push ecx
lea edx, [esp + ebp + 0x128]
push edx
call fcn.0042b8f0
mov ecx, dword [ebx + 0x1b8]
add esp, 0x14
push 0
add ebp, 2
push ebp
lea eax, [esp + 0x120]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_send]
test eax, eax
jns 0x437655
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov edx, dword [esp + 0x10]
push eax
push str.Sending_data_failed___d_
push edx
call fcn.00423270
add esp, 0xc
mov esi, dword [esp + 0x10]
add ebp, 0xfffffffe
push ebp
jmp 0x437709
lea ecx, [edi + 0x1c28]
mov eax, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437670
push 0xf0
push 0xff
push ecx
push 0
push 0x23
jmp 0x4376a9
lea ecx, [edi + 0x1c08]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437693
push 0xf0
push 0xff
push ecx
push 0
push 0x18
push 0xfa
push 0xff
sub eax, esi
push str._c_c_c_c_s_c_c
lea edi, [eax + 6]
lea eax, [esp + 0x138]
push 0x800
push eax
call fcn.0042b8f0
mov edx, dword [ebx + 0x1b8]
add esp, 0x28
push 0
push edi
lea ecx, [esp + 0x120]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
test eax, eax
jns 0x437703
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebp
call fcn.00423270
add esp, 0xc
add edi, 0xfffffffe
mov esi, ebp
push edi
push 0x3e
lea eax, [esp + 0x122]
call fcn.00436ec0
add esp, 8
mov ecx, dword [esp + 0x918]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bec6d
add esp, 0x90c
ret
Function at 0x4379b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
mov eax, dword [eax]
push ebp
mov ebp, dword [eax + 0x15c]
mov dword [esp + 4], eax
jne 0x437b07
push ebx
push esi
push edi
lea ebx, [ebp + 0x1cb0]
lea edi, [ebp + 0x1eb0]
mov dword [edi], ebx
cmp ebx, edi
jae 0x4379e7
mov byte [ebx], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4379f2
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4379fd
mov byte [eax], 0x1f
inc dword [edi]
movzx ecx, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WSOCK32.dll_htons]
push ecx
call esi
movzx edx, ax
movzx eax, word [ebp + 0x1caa]
push eax
mov dword [esp + 0x20], edx
call esi
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x437a2f
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x437a3d
mov dl, byte [esp + 0x1d]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x437a47
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x437a51
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x437a5c
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x437a67
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x1eb4], eax
sub eax, ebx
sub eax, 2
push eax
lea eax, [ebp + 0x1cb2]
push 0x3e
mov dword [edi], ebx
call fcn.00436ec0
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x1b8]
add esp, 8
push 0
push 3
push ebx
mov ebx, dword [sym.imp.WSOCK32.dll_send]
push edx
call ebx
mov esi, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
jns 0x437ac2
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.00423270
add esp, 0xc
lea ecx, [ebp + 0x1cb3]
push ecx
push edi
mov eax, 4
call fcn.00437740
mov edx, dword [edi + 0x1b8]
add esp, 8
push 0
push 2
add ebp, 0x1cb7
push ebp
push edx
call ebx
test eax, eax
jns 0x437b04
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.00423270
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x438700
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x6f33d4]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esi + 0x1bc]
push edi
mov edi, dword [esi]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebp
or ebx, 0xffffffff
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WSOCK32.dll_getsockname]
test eax, eax
jne 0x43875a
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WSOCK32.dll_accept]
mov ebx, eax
push ebp
push esi
call fcn.0042a2c0
add esp, 8
cmp ebx, 0xffffffff
jne 0x438794
push str.Error_accept__ing_server_connect
push edi
call fcn.00423270
add esp, 8
pop edi
pop ebp
mov eax, 0x1e
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004bec6d
add esp, 0x88
ret
push str.Connection_accepted_from_server_n
push edi
call fcn.00423120
and dword [esi + 0x2a4], 0xfffff7ff
push 1
push ebx
mov dword [esi + 0x1bc], ebx
call fcn.00454530
add esp, 0x10
mov dword [esi + 0x1cc], 1
cmp dword [edi + 0x618], 0
je 0x43883e
push 1
push edi
call fcn.00426710
mov ecx, dword [edi + 0x61c]
mov edx, dword [edi + 0x618]
push 1
push ebx
push ecx
call edx
push 0
push edi
mov ebx, eax
call fcn.00426710
add esp, 0x1c
test ebx, ebx
je 0x43883e
mov eax, dword [esi + 0x1bc]
cmp eax, 0xffffffff
je 0x438817
push eax
push esi
call fcn.0042a2c0
add esp, 8
mov dword [esi + 0x1bc], 0xffffffff
pop edi
pop ebp
mov dword [esi + 0x2a0], 0
mov eax, 0x2a
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004bec6d
add esp, 0x88
ret
mov ecx, dword [esp + 0x90]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004bec6d
add esp, 0x88
ret
Function at 0x446730
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x6f33d4]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004c134d
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x446795
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x446795
lea edx, [esp]
push edx
call dword [0x6f002c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004bec6d
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.004bec6d
add esp, 0x108
ret
Function at 0x44bb20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1b8
mov eax, dword [0x6f33d4]
xor eax, esp
mov dword [esp + 0x1b4], eax
cmp dword [0x6f65b0], 0
push esi
mov esi, ecx
mov dword [esp + 0x18], esi
jne 0x44bb57
call fcn.004eced0
test eax, eax
je 0x44bb6f
mov dword [0x6f65b0], 1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.004bec6d
add esp, 0x1b8
ret
mov eax, dword [esi + 0x9d0]
test eax, eax
je 0x44bb90
push 0x400
push eax
call fcn.004ecf00
add esp, 8
call fcn.004eced0
test eax, eax
jne 0x44bb57
push ebx
push ebp
push edi
mov esi, 2
lea edi, [esp + 0x84]
mov dword [esp + 0x20], 4
jmp 0x44bbb0
lea eax, [esp + 0x34]
push eax
call fcn.00444630
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
push 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.00423bc0
add esp, 8
push ebp
push ebx
lea eax, [esi - 1]
push 0
push eax
call fcn.004c1080
lea ecx, [esp + 0x74]
mov ebx, esi
imul ebx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.00444630
mov eax, dword [eax + 8]
cdq
mov dword [esp + 0x34], edx
lea edx, [esp + 0x68]
push edx
mov ebp, eax
call fcn.00444630
mov ecx, dword [esp + 0x38]
add esp, 8
add ebp, dword [eax]
push 0
adc ecx, dword [eax + 4]
lea edx, [esi + 1]
push edx
push ecx
push ebp
mov dword [esp + 0x38], edx
call fcn.004c1080
shld edx, eax, 8
xor dword [esp + 0x14], edx
shl eax, 8
xor dword [esp + 0x10], eax
lea eax, [esp + 0x44]
push eax
call fcn.00444630
lea ecx, [esp + 0x58]
push ecx
lea ebp, [eax + 8]
call fcn.00444630
mov edx, dword [ebp]
add edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esi, 2
imul edx, esi
mov esi, dword [esp + 0x30]
shl edx, 0x10
mov dword [edi], eax
xor ebx, edx
mov edx, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], edx
add esp, 8
add edi, 0x10
dec dword [esp + 0x20]
jne 0x44bbb0
fld qword [0x67a648]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x8c]
push 0x40
push eax
call fcn.004ecd70
add esp, 0x10
call fcn.004eced0
test eax, eax
je 0x44bb93
lea ecx, [esp + 0xc4]
push pe_nt_image_headers32
push ecx
mov byte [esp + 0xcc], 0
call fcn.004ed2a0
add esp, 8
cmp byte [esp + 0xc4], 0
pop edi
pop ebp
pop ebx
je 0x44bd06
lea edx, [esp + 0xb8]
push 0x400
push edx
call fcn.004ecf00
add esp, 8
call fcn.004eced0
test eax, eax
jne 0x44bb57
mov eax, dword [esp + 0x18]
push str.libcurl_is_now_using_a_weak_random_seed__n
push eax
call fcn.00423120
add esp, 8
call fcn.004eced0
mov ecx, dword [esp + 0x1b8]
neg eax
sbb eax, eax
and eax, 0xffffffdd
pop esi
xor ecx, esp
add eax, 0x23
call fcn.004bec6d
add esp, 0x1b8
ret
Function at 0x452220
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ebp
xor ebp, ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], ebp
mov eax, dword [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 8], eax
cmp eax, ebp
jne 0x4523d1
push edi
mov edi, dword [esp + 0x14]
cmp edi, ebp
je 0x4523af
push ebx
push esi
lea esp, [esp]
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x45227d
lea ebx, [eax + 0xe]
jmp 0x452289
cmp eax, 0x17
jne 0x452328
lea ebx, [eax + 5]
cmp dword [edi + 0x18], ebp
je 0x452328
mov eax, dword [edi + 0x10]
cmp eax, ebp
jbe 0x452328
cmp eax, ebx
jb 0x452328
push 0x20
call dword [0x6f0020]
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x452335
mov edx, dword [edi]
mov dword [esi], edx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [0x6f0020]
add esp, 4
mov dword [esi + 0x18], eax
cmp eax, ebp
je 0x45233f
mov ecx, dword [edi + 0x18]
push ebx
push ecx
push eax
call fcn.004bd990
mov eax, dword [edi + 0x14]
add esp, 0xc
cmp eax, ebp
je 0x45230f
push eax
call dword [0x6f002c]
add esp, 4
mov dword [esi + 0x14], eax
cmp eax, ebp
je 0x452353
cmp dword [esp + 0x10], ebp
jne 0x452319
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x452324
mov dword [eax + 0x1c], esi
mov dword [esp + 0x18], esi
mov edi, dword [edi + 0x1c]
cmp edi, ebp
jne 0x452270
jmp 0x45236f
mov dword [esp + 0x14], 8
jmp 0x45236f
push esi
mov dword [esp + 0x18], 8
call dword [0x6f0024]
add esp, 4
jmp 0x45236f
mov edx, dword [esi + 0x18]
push edx
mov dword [esp + 0x18], 8
call dword [0x6f0024]
push esi
call dword [0x6f0024]
add esp, 8
mov eax, dword [esp + 0x1c]
pop esi
pop ebx
cmp eax, ebp
je 0x452380
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [esp + 0xc], ebp
je 0x4523a9
mov eax, dword [esp + 8]
push eax
call fcn.004521e0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, ebp
pop edi
mov dword [esp + 4], ebp
mov dword [edx], ecx
pop ebp
add esp, 0x10
ret
cmp dword [esp + 8], ebp
jne 0x4523c2
push 0x2af9
mov dword [esp + 0x10], 0x2af9
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov dword [edx], ecx
pop edi
pop ebp
add esp, 0x10
ret

Function at 0x4527a0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.004be480
add esp, 0x18
test eax, eax
je 0x4527c3
cmp eax, 0xffffffff
jne 0x4527c5
xor eax, eax
ret
Function at 0x455880
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WSOCK32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x4558b2
push 0x2e
push esi
call fcn.004bb280
add esp, 8
test eax, eax
je 0x4558b0
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret