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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c574f
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4f5038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
cmp byte [edi + 0x3c], 0
jne 0x476339
mov byte [edi + 0x3c], 1
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.00476fe0
mov eax, dword [edi]
lea ecx, [ebp - 0x68]
add esp, 4
mov dword [edi + 4], eax
movzx eax, byte [edi + 0x3d]
push eax
call fcn.00483b30
mov esi, eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0xc]
cmp ebx, esi
je 0x475efd
push dword [ebp - 0x2c]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.004776c0
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x475f14
push dword [ebp - 0x2c]
push dword [eax + 4]
push dword [eax]
call fcn.00477490
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x475f2b
push dword [ebp - 0x2c]
push dword [eax + 4]
push dword [eax]
call fcn.00477230
lea ecx, [esi + 0x24]
lea esi, [ebx + 0x24]
cmp esi, ecx
je 0x475f4f
call fcn.00403620
mov edx, dword [eax]
call fcn.00403630
push dword [ebp - 0x2c]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.00413b60
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.004032c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.004767f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00476870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004768f0
push edi
mov ecx, ebx
call fcn.00485900
mov esi, dword [edi]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x475fc7
lea ecx, [ebp - 0x2c]
call fcn.00404250
mov dword [ebp - 4], 6
push edi
call fcn.00489310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404310
mov esi, dword [edi]
mov eax, dword [edi + 4]
cmp esi, eax
je 0x476063
lea eax, [esi + 0x7c]
push eax
push esi
lea ecx, [edi + 0xc]
call fcn.00485430
test al, al
jne 0x47604f
mov edx, dword [edi + 4]
lea ecx, [esi + 0x94]
push esi
call fcn.00476cc0
mov edi, dword [edi + 4]
add esp, 4
sub edi, 0x94
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0xc
lea ecx, [edi + 0x7c]
call fcn.00403400
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x64]
call fcn.00403400
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x48]
call fcn.00403400
mov byte [ebp - 4], 9
lea ecx, [edi + 0x30]
call fcn.00403400
mov byte [ebp - 4], 8
lea ecx, [edi + 0x18]
call fcn.00403400
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.00403400
mov edi, dword [ebp - 0x38]
add dword [edi + 4], 0xffffff6c
jmp 0x476055
add esi, 0x94
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x475fc7
lea ebx, [edi + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xe
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00485270
mov ecx, dword [ebp - 0x24]
mov eax, 0x81848da9
mov ebx, dword [ebp - 0x28]
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x30], ecx
je 0x47621a
xor eax, eax
mov dword [ebp - 0x34], eax
nop dword [eax + eax]
mov esi, dword [edi]
add ebx, eax
cmp esi, dword [edi + 4]
je 0x476203
nop dword [eax]
mov ecx, ebx
call fcn.004036c0
mov ecx, esi
mov edi, eax
call fcn.004036c0
cmp eax, edi
jne 0x4761eb
mov ecx, ebx
call fcn.00403360
mov ecx, esi
mov edi, eax
call fcn.00403360
mov edx, edi
mov ecx, eax
call fcn.00404660
test al, al
je 0x4761eb
lea ecx, [ebx + 0x30]
call fcn.00403350
test al, al
jne 0x476183
push str.0.0.0.0
lea ecx, [ebx + 0x30]
call fcn.00404030
test al, al
jne 0x476183
lea ecx, [ebx + 0x30]
lea edx, [esi + 0x64]
call fcn.00403630
cmp edx, eax
je 0x476183
lea ecx, [ebx + 0x30]
call fcn.00403630
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x476177
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.004036d0
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00403350
test al, al
je 0x4761bb
lea ecx, [ebx + 0x78]
call fcn.00403630
cmp edi, eax
je 0x4761bb
call fcn.00403630
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4761b0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004036d0
lea ecx, [esi + 0x48]
call fcn.00403350
test al, al
je 0x4761eb
cmp dword [ebx + 0x2b8], 5
jne 0x4761eb
push 0x4db920
call fcn.00403830
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x4db920
call fcn.004036d0
mov edi, dword [ebp - 0x38]
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x476100
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
add eax, 0x3f4
sub ecx, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
jne 0x4760f0
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov ebx, dword [ebp - 0x1c]
sub ecx, ebx
imul ecx
mov dword [ebp - 0x2c], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x47631e
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov esi, dword [edi]
lea eax, [ebx + ecx]
mov dword [ebp - 0x30], eax
cmp esi, dword [edi + 4]
je 0x4762ee
lea edi, [esi + 0x30]
nop dword [eax + eax]
mov ecx, eax
call fcn.004036c0
mov ecx, esi
mov ebx, eax
call fcn.004036c0
cmp eax, ebx
jne 0x4762ca
mov ecx, dword [ebp - 0x30]
call fcn.00403360
mov ecx, esi
mov ebx, eax
call fcn.00403360
mov edx, ebx
mov ecx, eax
call fcn.00404660
test al, al
je 0x4762ca
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.00403350
test al, al
je 0x4762ca
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
call fcn.00403630
cmp edi, eax
je 0x4762ca
call fcn.00403630
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4762bf
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004036d0
mov eax, dword [ebp - 0x38]
add esi, 0x94
add edi, 0x94
cmp esi, dword [eax + 4]
mov eax, dword [ebp - 0x30]
jne 0x476260
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
add ecx, 0x38
mov dword [ebp - 0x34], ecx
mov eax, 0x92492493
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, ebx
mov dword [ebp - 0x2c], esi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x34]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x476247
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1c]
call fcn.00476870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004768f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049423f
mov esp, ebp
pop ebp
ret