Function at 0x41f1c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44b870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
lea eax, [edi + 0xbb]
push eax
call fcn.00401000
lea ecx, [esp + 0x20]
mov dword [esp + 0x94], 0
call fcn.00401020
mov esi, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esi + 4]
mov ebp, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x411
jne 0x41f539
lea eax, [esp + 0x18]
lea ecx, [edi + 0xeb]
push eax
call fcn.00437b80
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0xef]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x41f949
add esi, 0xf
mov dword [esp + 0x18], esi
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x41f264
mov eax, 0x44e270
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0043ab40
add esp, 8
test eax, eax
je 0x41f515
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
add eax, 0x24
cmp edi, ecx
mov dword [esp + 0x24], eax
je 0x41f515
mov ebx, dword [edi]
lea edx, [esp + 0x3c]
push edx
mov ecx, ebx
call fcn.004158b0
mov esi, eax
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
mov byte [esp + 0x98], 1
call fcn.00420bf0
push esi
lea ecx, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0xa0], 2
call fcn.004052f0
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, eax
push edx
mov byte [esp + 0x98], 3
call fcn.004054e0
test eax, eax
push 1
lea ecx, [esp + 0x60]
sete byte [esp + 0x17]
mov byte [esp + 0x98], 2
call fcn.00401ff0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 1
call fcn.00401ff0
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], 0
call fcn.00401ff0
mov al, byte [esp + 0x13]
test al, al
jne 0x41f33e
mov eax, dword [esp + 0x24]
add edi, 4
cmp edi, dword [eax]
jne 0x41f293
jmp 0x41f515
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov dword [ebp + 0x28], eax
mov eax, dword [ebx + 0x9b]
mov byte [ebp + 0x4f], al
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0x8c]
push eax
mov dword [esp + 0x28], ecx
call esi
mov dword [ebp + 0x2c], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x8c]
push ecx
mov dword [esp + 0x2c], edx
call esi
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0xa4]
mov eax, dword [eax + 0xa8]
push eax
mov dword [esp + 0x28], ecx
call esi
mov dword [ebp + 0x34], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0xa4]
mov edx, dword [eax + 0xa8]
push ecx
mov dword [esp + 0x2c], edx
call esi
mov dword [ebp + 0x38], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0x11c]
mov eax, dword [eax + 0x120]
push ecx
mov dword [esp + 0x2c], eax
call esi
mov dword [ebp + 0x3c], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0x114]
mov edx, dword [eax + 0x118]
push ecx
mov dword [esp + 0x2c], edx
call esi
mov dword [ebp + 0x40], eax
mov ecx, dword [ebx + 0x5f]
call fcn.004099e0
push eax
call esi
mov dword [ebp + 0x44], eax
mov ecx, dword [ebx + 0x5f]
call fcn.00409950
push eax
call esi
mov dword [ebp + 0x48], eax
mov al, byte [ebx + 0x3c]
mov byte [ebp + 0x4c], al
mov al, byte [ebx + 0x3e]
mov byte [ebp + 0x4e], al
mov al, byte [ebx + 0x3d]
mov byte [ebp + 0x4d], al
mov eax, dword [ebx + 0x67]
test eax, eax
jne 0x41f422
xor ecx, ecx
jmp 0x41f42a
mov ecx, dword [ebx + 0x6b]
sub ecx, eax
sar ecx, 2
mov byte [ebp + 0x51], cl
mov al, byte [ebx + 0x43]
mov byte [ebp + 0x50], al
mov eax, dword [ebx + 0xe7]
mov byte [ebp + 0x52], al
mov cl, byte [ebx + 0x42]
mov byte [ebp + 0x53], cl
mov ecx, dword [ebx + 0x53]
test ecx, ecx
jne 0x41f44d
xor eax, eax
jmp 0x41f455
mov eax, dword [ebx + 0x57]
sub eax, ecx
sar eax, 2
mov byte [ebp + 0x55], al
mov dl, byte [ebx + 0x41]
mov byte [ebp + 0x54], dl
mov eax, dword [ebx + 0x4b]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00434900
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x41f47b
mov eax, 0x44e270
mov ecx, 0xa
mov esi, eax
mov edi, ebp
push 1
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
call fcn.00401ff0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call fcn.004158b0
lea edx, [esp + 0x7c]
mov ecx, ebx
push edx
mov byte [esp + 0x98], 4
call fcn.004159b0
mov eax, dword [esp + 0x80]
mov ecx, 0x44e270
test eax, eax
je 0x41f4c3
mov ecx, eax
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x41f4d0
mov eax, 0x44e270
push ecx
push eax
lea eax, [ebp + 0x57]
push str._s_s
push eax
call fcn.0043a5e5
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x94]
add esp, 0x10
add edx, ecx
lea ecx, [esp + 0x7c]
push 1
lea ebp, [edx + ebp + 0x59]
call fcn.00401ff0
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], 0
call fcn.00401ff0
lea ecx, [esp + 0x14]
call fcn.00421bf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0xef]
cmp ecx, eax
jne 0x41f258
jmp 0x41f949
mov ecx, dword [edi + 0xef]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x41f949
mov cl, byte [esi + 0xf]
lea ebx, [esi + 0xf]
test cl, cl
je 0x41f580
lea edx, [eax + 0xc]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [edx + 8]
push ebx
push ecx
push eax
mov ecx, edx
call fcn.00405440
test eax, eax
jne 0x41f92a
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
add eax, 0x24
cmp edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
je 0x41f92a
mov al, byte [esi + 0xf]
mov ebx, dword [edi]
test al, al
jne 0x41f5f9
mov eax, dword [ebx + 0x67]
test eax, eax
je 0x41f5b6
mov edx, dword [ebx + 0x6b]
sub edx, eax
test edx, 0xfffffffc
jne 0x41f5c6
mov eax, dword [ebx + 0xe7]
cmp eax, 1
je 0x41f5c6
cmp eax, 2
jne 0x41f5d7
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x40a
je 0x41f5f9
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x413
jne 0x41f917
cmp dword [ebx + 0xe7], 4
jne 0x41f917
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov dword [ebp + 0x28], eax
mov eax, dword [ebx + 0x9b]
mov byte [ebp + 0x4f], al
mov eax, dword [ebx + 0x5f]
mov edx, dword [eax + 0x88]
mov eax, dword [eax + 0x8c]
push eax
mov dword [esp + 0x30], edx
call esi
mov dword [ebp + 0x2c], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0x8c]
push ecx
mov dword [esp + 0x34], eax
call esi
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0xa4]
mov eax, dword [eax + 0xa8]
push eax
mov dword [esp + 0x30], ecx
call esi
mov dword [ebp + 0x34], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0xa4]
mov edx, dword [eax + 0xa8]
push ecx
mov dword [esp + 0x34], edx
call esi
mov dword [ebp + 0x38], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0x11c]
mov eax, dword [eax + 0x120]
push ecx
mov dword [esp + 0x34], eax
call esi
mov dword [ebp + 0x3c], eax
mov eax, dword [ebx + 0x5f]
mov ecx, dword [eax + 0x114]
mov edx, dword [eax + 0x118]
push ecx
mov dword [esp + 0x34], edx
call esi
mov dword [ebp + 0x40], eax
mov ecx, dword [ebx + 0x5f]
call fcn.004099e0
push eax
call esi
mov dword [ebp + 0x44], eax
mov ecx, dword [ebx + 0x5f]
call fcn.00409950
push eax
call esi
mov dword [ebp + 0x48], eax
mov al, byte [ebx + 0x3c]
mov byte [ebp + 0x4c], al
mov al, byte [ebx + 0x3e]
mov byte [ebp + 0x4e], al
mov al, byte [ebx + 0x3d]
mov byte [ebp + 0x4d], al
mov eax, dword [ebx + 0x67]
test eax, eax
jne 0x41f6dd
xor ecx, ecx
jmp 0x41f6e5
mov ecx, dword [ebx + 0x6b]
sub ecx, eax
sar ecx, 2
mov byte [ebp + 0x51], cl
mov al, byte [ebx + 0x43]
mov byte [ebp + 0x50], al
mov eax, dword [ebx + 0xe7]
mov byte [ebp + 0x52], al
mov cl, byte [ebx + 0x42]
mov byte [ebp + 0x53], cl
mov ecx, dword [ebx + 0x53]
test ecx, ecx
jne 0x41f708
xor eax, eax
jmp 0x41f710
mov eax, dword [ebx + 0x57]
sub eax, ecx
sar eax, 2
mov byte [ebp + 0x55], al
mov dl, byte [ebx + 0x41]
mov byte [ebp + 0x54], dl
mov eax, dword [ebx + 0x4b]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00434900
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x41f736
mov eax, 0x44e270
mov ecx, 0xa
mov esi, eax
mov eax, dword [esp + 0x60]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp eax, esi
je 0x41f768
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41f75f
cmp al, 0xff
je 0x41f75f
dec al
mov byte [ecx], al
jmp 0x41f768
push ecx
call fcn.00439308
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], esi
push ecx
mov ecx, ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.004158b0
mov edx, dword [esp + 0x9c]
mov byte [esp + 0x94], 5
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x413
jne 0x41f85b
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
call fcn.00420bf0
lea edx, [esp + 0x3c]
mov byte [esp + 0x94], 6
push edx
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004052f0
add esp, 0xc
mov ecx, dword [0x44e274]
mov byte [esp + 0x94], 7
push ecx
push esi
push eax
lea ecx, [esp + 0x48]
call fcn.004025b0
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x41f80a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41f801
cmp al, 0xff
je 0x41f801
dec al
mov byte [ecx], al
jmp 0x41f80a
push ecx
call fcn.00439308
add esp, 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x70], esi
cmp eax, esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov byte [esp + 0x94], 5
je 0x41f846
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41f83d
cmp al, 0xff
je 0x41f83d
dec al
mov byte [ecx], al
jmp 0x41f846
push ecx
call fcn.00439308
add esp, 4
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
lea edx, [esp + 0x4c]
mov ecx, ebx
push edx
call fcn.004159b0
mov ecx, dword [esp + 0x50]
cmp ecx, esi
jne 0x41f874
mov ecx, 0x44e270
mov eax, dword [esp + 0x40]
cmp eax, esi
jne 0x41f881
mov eax, 0x44e270
push ecx
push eax
lea eax, [ebp + 0x57]
push str._s_s
push eax
call fcn.0043a5e5
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add edx, ecx
add esp, 0x10
cmp eax, esi
lea ebp, [edx + ebp + 0x59]
je 0x41f8c7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41f8be
cmp al, 0xff
je 0x41f8be
dec al
mov byte [ecx], al
jmp 0x41f8c7
push ecx
call fcn.00439308
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], esi
cmp eax, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov byte [esp + 0x94], 0
je 0x41f900
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41f8f7
cmp al, 0xff
je 0x41f8f7
dec al
mov byte [ecx], al
jmp 0x41f900
push ecx
call fcn.00439308
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x9c]
mov eax, dword [esp + 0x24]
add edi, 4
mov dword [esp + 0x18], edi
cmp edi, dword [eax]
jne 0x41f599
lea ecx, [esp + 0x14]
call fcn.00421bf0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 0xef]
cmp eax, ecx
jne 0x41f54d
mov edx, dword [esp + 0xa0]
lea ecx, [esp + 0x20]
mov dword [esp + 0x94], 0xffffffff
mov dword [edx], ebp
call fcn.00401010
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 8