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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5e4f
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 0x476909
mov byte [edi + 0x3c], 1
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004775b0
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.00484100
mov esi, eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0xc]
cmp ebx, esi
je 0x4764cd
push dword [ebp - 0x2c]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.00477c90
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x4764e4
push dword [ebp - 0x2c]
push dword [eax + 4]
push dword [eax]
call fcn.00477a60
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x4764fb
push dword [ebp - 0x2c]
push dword [eax + 4]
push dword [eax]
call fcn.00477800
lea ecx, [esi + 0x24]
lea esi, [ebx + 0x24]
cmp esi, ecx
je 0x47651f
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.00476dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00476e40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00476ec0
push edi
mov ecx, ebx
call fcn.00485ed0
mov esi, dword [edi]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x476597
lea ecx, [ebp - 0x2c]
call fcn.00404250
mov dword [ebp - 4], 6
push edi
call fcn.004898e0
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 0x476633
lea eax, [esi + 0x7c]
push eax
push esi
lea ecx, [edi + 0xc]
call fcn.00485a00
test al, al
jne 0x47661f
mov edx, dword [edi + 4]
lea ecx, [esi + 0x94]
push esi
call fcn.00477290
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 0x476625
add esi, 0x94
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x476597
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.00485840
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 0x4767ea
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 0x4767d3
nop dword [eax]
mov ecx, ebx
call fcn.004036c0
mov ecx, esi
mov edi, eax
call fcn.004036c0
cmp eax, edi
jne 0x4767bb
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 0x4767bb
lea ecx, [ebx + 0x30]
call fcn.00403350
test al, al
jne 0x476753
push str.0.0.0.0
lea ecx, [ebx + 0x30]
call fcn.00404030
test al, al
jne 0x476753
lea ecx, [ebx + 0x30]
lea edx, [esi + 0x64]
call fcn.00403630
cmp edx, eax
je 0x476753
lea ecx, [ebx + 0x30]
call fcn.00403630
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x476747
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 0x47678b
lea ecx, [ebx + 0x78]
call fcn.00403630
cmp edi, eax
je 0x47678b
call fcn.00403630
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x476780
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 0x4767bb
cmp dword [ebx + 0x2b8], 5
jne 0x4767bb
push 0x4db918
call fcn.00403830
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x4db918
call fcn.004036d0
mov edi, dword [ebp - 0x38]
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4766d0
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 0x4766c0
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 0x4768ee
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 0x4768be
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 0x47689a
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 0x47689a
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.00403350
test al, al
je 0x47689a
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
call fcn.00403630
cmp edi, eax
je 0x47689a
call fcn.00403630
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x47688f
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 0x476830
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 0x476817
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1c]
call fcn.00476e40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00476ec0
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.004947ff
mov esp, ebp
pop ebp
ret