joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d700
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x44e7a0]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x128], eax
cmp dword [esi], 0xffffffff
push edi
jne 0x40d7ff
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x40d789
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
mov esi, eax
lea eax, [esp + 0x18]
push str.Cant_create_UDP_socket
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
mov dword [esp + 0xa0], esi
add esp, 0xc
mov byte [esp + 0x93], 0
mov ecx, 0x21
lea esi, [esp + 0x14]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
push 0x447350
lea ecx, [esp + 0x9c]
push ecx
call sub.MSVCR71.dll__CxxThrowException
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0xffff
push eax
mov dword [esp + 0x20], 1
call edi
mov ecx, dword [esi]
push 4
lea eax, [esp + 0x10]
push eax
push 0x1002
push 0xffff
mov ebx, 0x40000
push ecx
mov dword [esp + 0x20], ebx
call edi
mov eax, dword [esi]
push 4
lea edx, [esp + 0x10]
push edx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x20], ebx
call edi
mov edx, dword [esi]
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x24], 1
call edi
mov eax, dword [ebp + 8]
push eax
mov word [esp + 0x120], 2
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
push 0x10
lea ecx, [esp + 0x120]
push ecx
xor ebx, ebx
push edx
mov word [esp + 0x12a], ax
mov dword [esp + 0x12c], ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x40d88b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
mov esi, eax
lea eax, [esp + 0x18]
push str.Can_t_bind_UDP_socket
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
mov dword [esp + 0xa0], esi
add esp, 0xc
mov byte [esp + 0x93], bl
mov ecx, 0x21
lea esi, [esp + 0x14]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
push 0x447350
lea ecx, [esp + 0x9c]
push ecx
call sub.MSVCR71.dll__CxxThrowException
cmp dword [esi + 4], ebx
jne 0x40d899
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 1
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x40d8fc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
lea ecx, [esp + 0x18]
push str.Cant_register_socket_event
push ecx
mov esi, eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x94], esi
push 0x447350
lea edx, [esp + 0x9c]
mov byte [esp + 0x97], bl
mov ecx, 0x21
lea esi, [esp + 0x18]
lea edi, [esp + 0x9c]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [esp + 0x12c]
call fcn.00437d67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e950
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x1c
mov eax, dword [0x44e7a0]
push esi
push edi
mov dword [esp + 0x20], eax
mov edi, ecx
call fcn.0040e840
mov ecx, dword [0x450af8]
mov esi, eax
push str.UDPServer::OnRecv
mov dword [esp + 0xc], esi
call fcn.004061d0
test eax, eax
je 0x40ea70
push ebx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
mov dword [esi + 0x10], eax
push 0x410
add eax, 4
push eax
mov eax, dword [edi]
push eax
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
test ebx, ebx
jle 0x40ea52
mov edx, dword [esp + 0x14]
mov ecx, esi
mov dword [ecx], edx
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x20]
mov dword [ecx + 0xc], eax
call sub.KERNEL32.dll_GetTickCount
cmp ebx, 0xc
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x414], eax
jbe 0x40e9f5
mov edx, dword [esi + 0x10]
add ebx, 0xfffffff4
mov dword [edx + 0x410], ebx
jmp 0x40ea02
mov eax, dword [esi + 0x10]
mov dword [eax + 0x410], 0
lea esi, [edi + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [edi + 0xe0]
call fcn.0040e340
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [edi + 0x170]
mov eax, dword [eax]
test eax, eax
je 0x40ea4c
push 0
push 1
push eax
call esi
test eax, eax
setne al
test al, al
jne 0x40ea6f
push 0x64
call ebx
jmp 0x40ea30
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esi + 0x10]
mov ecx, dword [0x450af8]
push edx
call fcn.00406520
push esi
mov ecx, edi
call fcn.0040e7d0
pop ebx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
call fcn.00437d67
add esp, 0x1c
ret
Function at 0x410dc0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a0
mov eax, dword [0x44e7a0]
push esi
mov dword [esp + 0x2a0], eax
push edi
lea eax, [esp + 0x110]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
test esi, esi
je 0x410e3b
push 0x7f
lea ecx, [esp + 0xc]
push str.Init_winsock_dll_failed
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x88], esi
push 0x447350
lea edx, [esp + 0x90]
mov byte [esp + 0x8b], 0
mov ecx, 0x21
lea esi, [esp + 0xc]
lea edi, [esp + 0x90]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [esp + 0x2a4]
call fcn.00437d67
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410e50
Capabilities:
Get hostname

Disassembly:
sub esp, 0x104
mov eax, dword [0x44e7a0]
mov dword [esp + 0x100], eax
push 0x100
lea eax, [esp + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x410ea3
mov edx, dword [esp + 0x108]
lea eax, [esp]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410e84
mov al, 1
mov ecx, dword [esp + 0x100]
call fcn.00437d67
add esp, 0x104
ret
mov ecx, dword [esp + 0x100]
xor al, al
call fcn.00437d67
add esp, 0x104
ret

Function at 0x411040
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov dl, byte [ebp + 8]
push esi
xor eax, eax
push edi
test dl, dl
setne al
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0xffff
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4110c9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
lea ecx, [esp + 0x14]
push str.Set_sockaddr_reuse_failed
push ecx
mov esi, eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x90], esi
push 0x447350
lea edx, [esp + 0x98]
mov byte [esp + 0x93], 0
mov ecx, 0x21
lea esi, [esp + 0x14]
lea edi, [esp + 0x98]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR71.dll__CxxThrowException
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4110e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov dl, byte [ebp + 8]
push esi
xor eax, eax
push edi
test dl, dl
sete al
push 4
lea edx, [esp + 0x10]
push edx
push 1
push 6
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x411166
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
lea ecx, [esp + 0x14]
push str.Set_sock_NODELAY_failed
push ecx
mov esi, eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x90], esi
push 0x447350
lea edx, [esp + 0x98]
mov byte [esp + 0x93], 0
mov ecx, 0x21
lea esi, [esp + 0x14]
lea edi, [esp + 0x98]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR71.dll__CxxThrowException
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4114f0
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x44e7a0]
push ebx
push esi
push edi
push 1
xor ebx, ebx
push ebx
push ebx
push 6
push 1
push 2
mov dword [esp + 0x13c], eax
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 0x7c], eax
jne 0x411576
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
mov esi, eax
lea eax, [esp + 0x10]
push str.Create_socket_failed
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
mov dword [esp + 0x98], esi
add esp, 0xc
mov byte [esp + 0x8b], bl
mov ecx, 0x21
lea esi, [esp + 0xc]
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
push 0x447350
lea ecx, [esp + 0x94]
push ecx
call sub.MSVCR71.dll__CxxThrowException
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x60]
push 1
mov ecx, esi
call fcn.00411040
mov edi, dword [ebp + 8]
xor ecx, ecx
mov cx, word [edi + 4]
xor eax, eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov word [esp + 0x114], 2
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x118]
mov word [esp + 0x11a], ax
mov eax, dword [esi + 0x7c]
push edx
push eax
mov dword [esp + 0x124], ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x411636
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
lea ecx, [esp + 0x10]
push str.bind_failed
push ecx
mov esi, eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x8c], esi
push 0x447350
lea edx, [esp + 0x94]
mov byte [esp + 0x8f], bl
mov ecx, 0x21
lea esi, [esp + 0x10]
lea edi, [esp + 0x94]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [esi + 0x7c]
push bind
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x411699
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
lea ecx, [esp + 0x10]
push str.listen_failed
push ecx
mov esi, eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x8c], esi
push 0x447350
lea edx, [esp + 0x94]
mov byte [esp + 0x8f], bl
mov ecx, 0x21
lea esi, [esp + 0x10]
lea edi, [esp + 0x94]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [edi]
mov dword [esi + 0x34], eax
mov cx, word [edi + 4]
mov word [esi + 0x38], cx
mov ecx, dword [esp + 0x124]
call fcn.00437d67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4116c0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x41182c
mov dl, byte [ebp + 0xc]
xor ebx, ebx
xor eax, eax
xor ecx, ecx
cmp dl, bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x120], ebx
mov edi, 1
je 0x41172d
mov eax, dword [esi + 0x78]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [esp + 0x120], edi
mov ecx, edx
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x124], edx
cmp byte [ebp + 8], bl
mov dword [esp + 0x228], ebx
je 0x411760
mov eax, dword [esi + 0x74]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [esp + 0x228], edi
mov ecx, edx
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x22c], edx
cmp eax, ebx
jne 0x41176c
cmp ecx, ebx
jne 0x41176c
xor eax, eax
jmp 0x411770
lea eax, [esp + 0x10]
push eax
push ebx
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x234]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebx
jne 0x4117d4
push 0x7f
lea edx, [esp + 0x1c]
push str.Connect_timeout
push edx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 0x4485b4
lea eax, [esp + 0xa0]
mov byte [esp + 0x9b], bl
mov dword [esp + 0x9c], ebx
mov ecx, 0x21
lea esi, [esp + 0x1c]
lea edi, [esp + 0xa0]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR71.dll__CxxThrowException
cmp eax, 0xffffffff
jne 0x411874
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f
lea ecx, [esp + 0x1c]
push str.select_failed
push ecx
mov esi, eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x98], esi
push 0x447350
lea edx, [esp + 0xa0]
mov byte [esp + 0x9b], bl
mov ecx, 0x21
lea esi, [esp + 0x1c]
lea edi, [esp + 0xa0]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR71.dll__CxxThrowException
push 0x7f
lea eax, [esp + 0x1c]
push str.Connect_failed
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
mov dword [esp + 0xa4], edi
add esp, 0xc
mov byte [esp + 0x97], 0
mov ecx, 0x21
lea esi, [esp + 0x18]
lea edi, [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
push 0x447350
lea ecx, [esp + 0xa0]
push ecx
call sub.MSVCR71.dll__CxxThrowException
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x411910
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x7c]
push 0x10
lea eax, [esi + 0x80]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x411936
push 1
push 0
mov ecx, esi
call fcn.004116c0
pop esi
ret
Function at 0x412780
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x108
mov eax, dword [0x44e7a0]
mov dword [esp + 0x104], eax
lea eax, [esp + 4]
push eax
call fcn.00410e50
add esp, 4
test al, al
je 0x4127eb
push esi
push edi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov esi, dword [edx]
mov eax, ecx
shr ecx, 2
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
pop edi
pop esi
mov ecx, dword [esp + 0x104]
call fcn.00437d67
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor eax, eax
call fcn.00437d67
add esp, 0x108
ret
Function at 0x415e50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43a0e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x43f880
call fcn.00413300
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x18]
push eax
mov dword [esp + 0x20], ebp
call ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00413340
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea eax, [esi + 0x3c]
push eax
call ebx
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], ebp
lea eax, [esi + 0x68]
push eax
call ebx
mov byte [esp + 0x1c], 5
mov dword [esi + 4], ebp
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41a710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43a822
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push str.CDownloadTask
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
mov byte [esp + 0x28], 1
jae 0x41a756
lea eax, [esp + 0x34]
push eax
push 0x440440
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x27c]
push 0
push ecx
call dword [sym.imp.KwLogSvr.dll_void___cdecl_YL_Log_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0x14
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esi + 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x1c
Function at 0x41a910
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x244
mov eax, dword [0x44e7a0]
push ebx
push esi
push edi
mov dword [esp + 0x24c], eax
lea eax, [esp + 0x4c]
push 0x200
push eax
call fcn.00430580
lea edi, [esp + 0x54]
add esp, 8
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a940
mov cx, word [0x43d3cc]
mov word [edi], cx
lea edi, [esp + 0x4c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a957
mov edx, dword [str.config.ini]
mov eax, dword [0x440500]
mov cx, word [0x440504]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [edi], edx
mov dl, byte [0x440506]
mov dword [edi + 4], eax
mov word [edi + 8], cx
mov byte [edi + 0xa], dl
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
push eax
push 0x3f
lea ecx, [esp + 0x14]
push ecx
push 0x4404f8
push str.HTTPProxyUsed
push str.Proxy
call ebx
test eax, eax
je 0x41ab25
mov edi, 0x4404f8
lea esi, [esp + 0xc]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41ab25
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
push eax
push 0x3f
lea ecx, [esp + 0x14]
push ecx
push edx
push str.HTTPProxyHost
push str.Proxy
call ebx
test eax, eax
je 0x41ab25
mov esi, dword [esp + 0x254]
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_strncpy]
push 0x3f
lea edx, [esp + 0x14]
push edx
push esi
call ebp
add esp, 0xc
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x50]
push eax
push 0x3f
lea ecx, [esp + 0x18]
push ecx
push 0x4404cc
push str.HTTPProxyPort
push str.Proxy
call ebx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [esi + 0xc0], eax
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x50]
push eax
push 0x3f
lea ecx, [esp + 0x18]
push ecx
push 0
push str.HTTPProxyUser
push str.Proxy
call ebx
test eax, eax
je 0x41aa9a
push 0x3f
lea edx, [esp + 0x14]
push edx
lea eax, [esi + 0x80]
push eax
call ebp
add esp, 0xc
jmp 0x41aaa9
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x80]
rep stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x50]
push ecx
push 0x3f
lea edx, [esp + 0x18]
push edx
push eax
push str.HTTPProxyPass
push str.Proxy
call ebx
test eax, eax
je 0x41aafe
push 0x3f
lea eax, [esp + 0x14]
push eax
add esi, 0x40
push esi
call ebp
add esp, 0xc
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x240]
call fcn.00437d67
add esp, 0x244
ret 4
xor eax, eax
lea edi, [esi + 0x40]
pop ebp
mov ecx, 0x10
rep stosd dword es:[edi], eax
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x240]
call fcn.00437d67
add esp, 0x244
ret 4
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
xor al, al
pop ebx
call fcn.00437d67
add esp, 0x244
ret 4
Function at 0x423050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43b08d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00413300
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea edi, [esi + 0x20]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.00405c60
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea ecx, [esi + 0xbc]
mov byte [esp + 0x18], 2
mov dword [esi + 0x2c], ebx
call fcn.0042c0a0
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x1c8]
push eax
call edi
lea eax, [esi + 0x1e0]
push eax
call edi
lea eax, [esi + 0x1f8]
push eax
call edi
lea eax, [esi + 0x210]
push eax
call edi
lea edi, [esi + 0x228]
mov ecx, edi
mov byte [esp + 0x18], 7
call fcn.00413300
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea ecx, [esi + 0x248]
mov byte [esp + 0x18], 8
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov byte [esi + 0x23c], 1
mov byte [esi + 0x23d], bl
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
call fcn.00430dd0
lea ecx, [esi + 0x25c]
mov byte [esp + 0x18], 9
call fcn.00430dd0
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x270], eax
lea ecx, [esi + 0x27c]
mov byte [esp + 0x18], 0xb
mov dword [esi + 0x278], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edi, [esi + 0x29c]
mov ecx, edi
mov byte [esp + 0x18], 0xc
call fcn.00427530
mov dword [edi + 4], eax
mov byte [eax + 0x1d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x2d8], ebx
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x2e8], ebx
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x308], ebx
mov dword [esi + 0x30c], ebx
mov dword [esi + 0x310], ebx
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x320], ebx
mov dword [esi + 0x324], ebx
mov dword [esi + 0x32c], ebx
mov dword [esi + 0x330], ebx
mov dword [esi + 0x334], ebx
xor eax, eax
mov dword [esi + 0x2c], ebx
mov ecx, 0x22
lea edi, [esi + 0x30]
mov byte [esp + 0x18], 0x13
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xb8], eax
mov byte [esi + 0x274], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret