Function at 0x403e20
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c476
mov eax, dword fs:[0]
push eax
sub esp, 0x5f4
mov eax, dword [0x469a54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 9
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x428]
push str.agent.log
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
call fcn.00402250
lea eax, [ebp - 0x5d0]
mov dword [ebp - 4], 0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00430ba0
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x430], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403ef5
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00402250
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x440]
push dword [ebp - 0x5ec]
mov edi, dword [ebp - 0x42c]
cmp edi, 0x10
mov esi, dword [ebp - 0x430]
mov edx, esi
cmovae ecx, dword [ebp - 0x440]
push 1
sub esp, 8
call fcn.004044c0
add esp, 0x10
cmp eax, 0xffffffff
je 0x4040d5
lea ecx, [eax + 1]
mov dword [ebp - 0x5e8], 0
cmp esi, ecx
mov dword [ebp - 0x5d8], 0
lea eax, [ebp - 0x440]
mov dword [ebp - 0x5d4], 0xf
cmovb ecx, esi
mov byte [ebp - 0x5e8], 0
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x5e8]
push eax
call fcn.00402250
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
cmp dword [ebp - 0x414], 0x10
mov esi, dword [ebp - 0x5d4]
mov eax, esi
cmovae ecx, dword [ebp - 0x428]
mov edi, dword [ebp - 0x418]
mov edx, dword [ebp - 0x5d8]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x403ffe
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x5d8], eax
lea eax, [ebp - 0x5e8]
cmovae eax, dword [ebp - 0x5e8]
lea esi, [eax + edx]
push esi
call fcn.00430620
add esp, 0xc
mov byte [esi + edi], 0
lea eax, [ebp - 0x5e8]
jmp 0x404017
mov byte [ebp - 0x5ec], 0
lea ecx, [ebp - 0x5e8]
push dword [ebp - 0x5ec]
push edi
call fcn.00404580
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x414]
movq qword [ebp - 0x5f0], xmm1
movups xmmword [ebp - 0x600], xmm0
cmp ecx, 0x10
jb 0x404088
mov edx, dword [ebp - 0x428]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40406f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4042ac
push ecx
push edx
call fcn.0042f189
movups xmm0, xmmword [ebp - 0x600]
add esp, 8
movq xmm1, qword [ebp - 0x5f0]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5d4]
movq qword [ebp - 0x418], xmm1
movups xmmword [ebp - 0x428], xmm0
cmp ecx, 0x10
jb 0x4040d5
mov edx, dword [ebp - 0x5e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4040cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4042ac
push ecx
push edx
call fcn.0042f189
add esp, 8
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x5e8]
call fcn.004035c0
cmp dword [ebp - 0x5d4], 0x10
lea eax, [ebp - 0x5e8]
push 0x454e5c
cmovae eax, dword [ebp - 0x5e8]
push eax
call fcn.00434c7d
add esp, 8
mov dword [0x46a4b0], eax
test eax, eax
jne 0x40419e
cmp dword [ebp - 0x5d4], 0x10
lea eax, [ebp - 0x5e8]
cmovae eax, dword [ebp - 0x5e8]
push eax
push str.Fail_to_open_file__filename:_s_n
push 2
call fcn.00434b42
add esp, 4
push eax
call fcn.004046e0
mov ecx, dword [ebp - 0x5d4]
add esp, 0xc
cmp ecx, 0x10
jb 0x40417d
mov edx, dword [ebp - 0x5e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404173
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4042b1
push ecx
push edx
call fcn.0042f189
add esp, 8
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push str.Fail_to_open_log_file__filename:_s_n
call fcn.00403df0
jmp 0x4041d5
mov ecx, dword [ebp - 0x5d4]
cmp ecx, 0x10
jb 0x4041d8
mov edx, dword [ebp - 0x5e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4041ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4042b1
push ecx
push edx
call fcn.0042f189
add esp, 8
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
mov dword [0x46a4b4], 3
cmovae eax, dword [ebp - 0x428]
push eax
push str.log_filename:_s_n
call fcn.00403df0
mov ecx, dword [ebp - 0x42c]
add esp, 8
cmp ecx, 0x10
jb 0x40423e
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404234
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4042b6
push ecx
push edx
call fcn.0042f189
add esp, 8
mov ecx, dword [ebp - 0x414]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
cmp ecx, 0x10
jb 0x40428f
mov edx, dword [ebp - 0x428]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404285
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4042b6
push ecx
push edx
call fcn.0042f189
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eefa
mov esp, ebp
pop ebp
ret
call fcn.00432a12
call fcn.00432a12
call fcn.00432a12
int3