joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a930
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
push eax
xor eax, eax
pop eax
je 0x43a944
invalid
movsx esi, byte [ebp + 8]
push esi
call fcn.00426194
add esp, 4
test eax, eax
je 0x43a9db
mov ax, word [0x4af4d0]
mov ecx, 0x3f
mov word [ebp - 0x100], ax
xor eax, eax
lea edi, [ebp - 0xfe]
push esi
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x100]
push str._C:diskprofile1.sys
push ecx
stosw word es:[edi], ax
call fcn.00426734
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0xc
lea edx, [ebp - 0x100]
push 0x80
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x100]
push eax
call ebx
push esi
lea ecx, [ebp - 0x100]
push str._C:diskprofile2.sys
push ecx
call fcn.00426734
add esp, 0xc
lea edx, [ebp - 0x100]
push 0x80
push edx
call edi
lea eax, [ebp - 0x100]
push eax
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43ad60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
push eax
xor eax, eax
pop eax
je 0x43ad6f
invalid
mov edx, dword [ebp + 8]
test edx, edx
jne 0x43ad82
mov eax, 0xc000000d
pop edi
mov esp, ebp
pop ebp
ret 8
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x30]
push 4
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
push 0x28
lea eax, [ebp - 8]
push ecx
push eax
push edx
call dword [sym.imp.ntdll.dll_ZwSetInformationFile]
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x43adb0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push eax
xor eax, eax
pop eax
je 0x43adbe
invalid
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43add0
mov eax, 0xc000000d
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
push 0x14
lea ecx, [ebp - 8]
push 8
lea edx, [ebp - 0x10]
push ecx
push edx
push eax
call dword [sym.imp.ntdll.dll_ZwSetInformationFile]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43bef0
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
sub esp, 0x10
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp + 4], 0xffffffff
je 0x43bf09
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x10
ret 8
push 0
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43bf27
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x10
ret 8
mov al, byte [esp + 0x24]
test al, al
je 0x43bf3e
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
jmp 0x43bf4b
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
push ecx
push 0x8004667e
push esi
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
mov edi, dword [sym.imp.WSOCK32.dll_setsockopt]
lea edx, [esp + 0x24]
push 4
push edx
push 0x1001
push 0xffff
push esi
mov dword [esp + 0x38], 0xe000
call edi
lea eax, [esp + 0x24]
push 4
push eax
push 0x1002
push 0xffff
push esi
call edi
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push 0xffff
push esi
mov dword [esp + 0x38], 0
call edi
push str.0.0.0.0
mov word [esp + 0x10], 2
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push edi
call dword [sym.imp.WSOCK32.dll_htons]
lea edx, [esp + 0xc]
push 0x10
push edx
push esi
mov word [esp + 0x1a], ax
call dword [sym.imp.WSOCK32.dll_bind]
test eax, eax
je 0x43bff0
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x10
ret 8
test di, di
jne 0x43c01f
lea eax, [esp + 0x24]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
mov dword [esp + 0x30], 0x10
call dword [sym.imp.WSOCK32.dll_getsockname]
test eax, eax
jne 0x43c01f
mov edx, dword [esp + 0xe]
push edx
call dword [sym.imp.WSOCK32.dll_ntohs]
mov edi, eax
mov word [ebp + 8], di
mov dword [ebp + 4], esi
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x10
ret 8

Function at 0x43c080
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push 0
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recvfrom]
ret 0x10

Function at 0x43c0b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push 2
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recvfrom]
ret 0x10
Function at 0x441a70
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
push eax
xor eax, eax
pop eax
je 0x441a96
invalid
mov al, byte [0x4ba188]
push 0
lea ecx, [ebp - 0x1c]
mov byte [0x4ba6a9], 1
mov byte [ebp - 0x1c], al
call fcn.00401760
mov ecx, dword [0x484bc8]
push ecx
push 0
push 0x4ba188
lea ecx, [ebp - 0x1c]
call fcn.004073c0
mov edi, 0x4a3f0c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x484bc8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], 0
mov esi, ecx
mov ecx, dword [ebp - 0x14]
sub edx, ecx
cmp edx, esi
ja 0x441af1
call fcn.0046d8e0
test esi, esi
jbe 0x441b31
mov eax, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x1c]
lea ebx, [eax + esi]
push ebx
call fcn.00401800
test al, al
je 0x441b31
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov esi, 0x4a3f0c
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1c]
call fcn.004078b0
mov eax, dword [0x484bc8]
lea ecx, [ebp - 0x1c]
push eax
push 0
push 0x4ba588
call fcn.004103c0
mov edi, 0x4a3f0c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x484bc8]
sub ecx, edx
cmp ecx, esi
ja 0x441b6b
call fcn.0046d8e0
test esi, esi
jbe 0x441bac
mov edx, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x1c]
lea ebx, [edx + esi]
push ebx
call fcn.00401800
test al, al
je 0x441bac
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, esi
mov esi, 0x4a3f0c
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov byte [ecx + ebx], 0
mov edx, dword [0x484bc8]
lea ecx, [ebp - 0x1c]
push edx
push 0
push 0x4ba638
call fcn.004103c0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x441bce
mov eax, 0x482818
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x441be6
mov eax, 0x482818
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x441c1f
mov al, byte [ecx - 1]
test al, al
je 0x441c15
cmp al, 0xff
je 0x441c15
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.00478980
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441eb5
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
mov ebx, dword [ebp + 0xc]
lea edi, [ebx + 4]
mov dword [ebp - 0x34], 0x10
xor eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0
push eax
push ebx
push 0
call fcn.00441f00
add esp, 0x10
xor eax, esi
mov esi, dword [ebp - 0x2c]
add edi, 4
dec dword [ebp - 0x34]
jne 0x441ecc
mov ecx, dword [ebx + 0x44]
xor ecx, eax
xor esi, dword [ebx + 0x48]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
ret

Function at 0x442035
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x499cc8
mov edi, dword [ebp + 0xc]
lea ecx, [edi + 0x4c]
mov edx, 0x100
mov esi, dword [eax]
mov dword [ecx], esi
add eax, 4
add ecx, 4
dec edx
jne 0x442045
cmp eax, 0x49acc8
jl 0x442040
xor ecx, ecx
mov esi, 0x499c80
add edi, 4
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x3c], 4
xor ebx, ebx
mov bl, byte [ecx + edx]
shl eax, 8
or eax, ebx
inc ecx
cmp ecx, dword [ebp + 0x14]
jl 0x442081
xor ecx, ecx
dec dword [ebp - 0x3c]
jne 0x44206f
xor eax, dword [esi]
mov dword [edi], eax
add esi, 4
add edi, 4
cmp esi, 0x499cc8
jl 0x442066
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + 8]
mov edi, 9
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0
call fcn.00441e50
add esp, 0x14
mov edx, dword [ebp - 0x24]
mov dword [esi - 4], edx
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
add esi, 8
dec edi
jne 0x4420ab
lea esi, [ebx + 0x50]
mov dword [ebp - 0x40], 4
mov edi, 0x80
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
push ebx
push 0
call fcn.00441e50
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov dword [esi - 4], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esi], ecx
add esi, 8
dec edi
jne 0x4420e0
dec dword [ebp - 0x40]
jne 0x4420db
ret

Function at 0x442345
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
mov ebx, dword [ebp + 0xc]
lea edi, [ebx + 0x48]
mov dword [ebp - 0x34], 0x10
xor eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0
push eax
push ebx
push 0
call fcn.00441f00
add esp, 0x10
xor eax, esi
mov esi, dword [ebp - 0x2c]
sub edi, 4
dec dword [ebp - 0x34]
jne 0x44235c
mov ecx, dword [ebx + 8]
xor ecx, eax
xor esi, dword [ebx + 4]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
ret
Function at 0x448950
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4819fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x48d978
mov al, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 0x18], al
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.0044c6d0
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 2
call fcn.0044c6d0
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], edi
mov dword [esi], 0x49ad2c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44bbc0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x44c9e0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x481cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [esp + 8]
lea eax, [esi + 8]
push eax
call fcn.0044c7d0
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x44cb30
push 0
push 0
call fcn.004283eb
add esp, 0x18
test eax, eax
je 0x44ca63
cmp eax, 0xffffffff
je 0x44ca63
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
inc eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 4], eax
call fcn.0044c810
mov al, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.0044c810
mov ecx, dword [esp + 0x10]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

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

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push ecx
mov eax, dword [edi + eax*4 + 0x7c]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x453032
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x45301a
pop edi
xor eax, eax
pop esi
ret
push eax
push edi
call fcn.0045da60
push eax
mov eax, dword [edi]
push str.Send_failure:__s
push eax
call fcn.00452e00
add esp, 0x14
mov eax, esi
pop edi
pop esi
ret
Function at 0x453110
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov eax, dword [ebp]
mov eax, dword [eax + 8]
test eax, eax
je 0x453134
push eax
call fcn.0045e040
add esp, 4
mov byte [esp + 0x14], 1
test al, al
jne 0x453139
mov byte [esp + 0x14], 0
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 0x80]
mov ebx, dword [esp + 0x24]
mov al, byte [esp + 0x14]
xor ecx, ecx
cmp edi, edx
sete cl
test al, al
mov esi, ecx
mov dword [ebx], 0
je 0x4531ca
mov edx, dword [ebp + 0x4138]
mov eax, dword [ebp + 0x413c]
mov ecx, dword [esp + 0x20]
sub eax, edx
cmp eax, ecx
jb 0x453176
mov eax, ecx
test eax, eax
jbe 0x4531b3
mov edi, dword [esp + 0x1c]
mov ecx, eax
lea esi, [edx + ebp + 0x138]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x4138]
pop edi
add ecx, eax
mov byte [ebp + 0xd6], 0
mov dword [ebp + 0x4138], ecx
pop esi
mov dword [ebx], eax
pop ebp
xor eax, eax
pop ebx
ret
cmp ecx, 0x4000
mov eax, ecx
jb 0x4531c2
mov eax, 0x4000
lea ecx, [ebp + 0x138]
jmp 0x4531f7
mov eax, dword [ebp]
mov eax, dword [eax + 0x294]
test eax, eax
mov ecx, eax
jne 0x4531de
mov ecx, 0x4000
mov edx, dword [esp + 0x20]
cmp edx, ecx
jge 0x4531ea
mov eax, edx
jmp 0x4531f3
test eax, eax
jne 0x4531f3
mov eax, 0x4000
mov ecx, dword [esp + 0x1c]
mov dl, byte [esi + ebp + 0x84]
test dl, dl
je 0x45321a
push eax
push ecx
push esi
push ebp
call fcn.00455140
add esp, 0x10
cmp eax, 0xffffffff
jne 0x453249
pop edi
pop esi
pop ebp
or eax, eax
pop ebx
ret
mov edx, dword [ebp + 0x128]
test edx, edx
jne 0x453234
push 0
push eax
push ecx
push edi
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x453249
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x45327d
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
test eax, eax
jl 0x45327d
mov cl, byte [esp + 0x14]
test cl, cl
je 0x45327b
mov edi, dword [esp + 0x1c]
mov ecx, eax
mov edx, ecx
lea esi, [ebp + 0x138]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x413c], eax
mov dword [ebp + 0x4138], eax
add dword [ebx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x45c050
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
lea edx, [ecx + eax]
mov eax, 0x1505
cmp ecx, edx
jae 0x45c077
push esi
mov esi, eax
shl esi, 5
add eax, esi
movsx esi, byte [ecx]
xor eax, esi
inc ecx
cmp ecx, edx
jb 0x45c065
pop esi
ret
Function at 0x45e980
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov esi, dword [edi + 0x427c]
mov dword [esp + 0x10], eax
mov ebx, dword [eax + 0x1c0]
test ebx, ebx
jne 0x45e9ae
mov eax, dword [eax + 0x1bc]
test eax, eax
mov ebx, eax
jne 0x45e9ae
mov ebx, 0x12c
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10]
mov ebp, eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], 0
push eax
call ebx
test ebp, ebp
mov dword [esi + 0x14], 0
mov bl, 1
jne 0x45ea11
mov ecx, dword [esi]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45ea69
mov edx, dword [esi]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ebp, [esi + 8]
mov byte [edi + 0x4274], bl
mov dword [ebp], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45ea31
mov edx, dword [edi + 0x4270]
mov dword [eax], edx
mov eax, dword [edi + 0x4270]
xor esi, esi
test eax, eax
jne 0x45eb13
mov ebp, dword [ebp]
cmp ebp, 0x1b
jne 0x45ea85
push ebp
mov esi, ebp
call fcn.0045d740
push eax
mov eax, dword [esp + 0x1c]
push str.Could_not_resolve_host:__s
push eax
call fcn.00452e00
add esp, 0x10
jmp 0x45eb13
mov eax, dword [edi + 0x4278]
push eax
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
mov ecx, dword [esi]
lea ebp, [esi + 8]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x45ea21
mov al, byte [edi + 0x4274]
test al, al
je 0x45eae7
mov al, byte [edi + 0xc0]
mov ecx, dword [edi + 0x4278]
test al, al
push ecx
push edi
je 0x45eac4
call fcn.0045da60
mov edx, dword [edi + 0x4c]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Could_not_resolve_proxy:__s___s
push eax
call fcn.00452e00
add esp, 0x18
mov esi, 5
jmp 0x45eb13
call fcn.0045da60
mov edx, dword [edi + 0x38]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Could_not_resolve_host:__s___s
push eax
call fcn.00452e00
add esp, 0x18
mov esi, 6
jmp 0x45eb13
cmp ebp, 0xffffffff
je 0x45eaf8
cmp dword [edi + 0x4278], 0x2afc
jne 0x45eb0e
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0x14]
push ecx
push str.Resolving_host_timed_out:__s
push edx
call fcn.00452e00
add esp, 0xc
mov esi, 0x1c
lea eax, [edi + 0x4268]
push eax
call fcn.0045e8a0
mov eax, dword [edi + 0x4270]
add esp, 4
test eax, eax
pop ebp
jne 0x45eb33
mov byte [edi + 0xbc], bl
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x45ebc0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
push esi
mov ebx, dword [edi]
mov dword [eax], 0
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x45ebf8
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push eax
call fcn.004556f0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebp, dword [esp + 0x1c]
push 0
push ebp
push esi
push edi
call fcn.0045ec80
add esp, 0x10
test al, al
je 0x45ec1e
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], 1
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.0045da60
push eax
push esi
push str.init_resolve_thread___failed_for__s___s_n
push ebx
call fcn.00452d90
add esp, 0x18
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
jne 0x45ec6b
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push edi
call fcn.0045da60
push eax
push ebp
push esi
push str.gethostbyname_2__failed_for__s:_d___s_n
push ebx
call fcn.00452d90
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push ebp
push eax
call fcn.0045f0a0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45ec80
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 1
push 0x24
call dword [0x4aa52c]
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jne 0x45ecb6
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x4268]
lea ebp, [edi + 0x4268]
push eax
mov dword [esp + 0x20], ebp
call fcn.00455760
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x4aa528]
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
jne 0x45ed01
push esi
call dword [0x4aa520]
add esp, 4
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x24]
push ebx
push 1
mov dword [edi + 0x426c], edx
mov byte [edi + 0x4274], bl
mov dword [edi + 0x4278], ebx
mov dword [edi + 0x4270], ebx
mov dword [edi + 0x427c], esi
push ebx
mov dword [esi + 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x45ed3e
push ebp
jmp 0x45ed91
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x45ed8c
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x1c], eax
jne 0x45ed69
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x45ed91
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x20], eax
jne 0x45ed7e
mov edx, dword [esp + 0x1c]
push edx
jmp 0x45ed91
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x18], eax
jne 0x45edab
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045e8a0
add esp, 4
push 0xb
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
lea ecx, [esi + 4]
push ecx
push ebx
push edi
push 0x45ee20
push ebx
push ebx
call fcn.004283eb
add esp, 0x18
cmp eax, ebx
mov dword [esi], eax
jne 0x45edeb
call fcn.00428f22
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045e8a0
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0xffffffffffffffff
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x18]
push ebx
push edx
push 2
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push ebx
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret