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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7470
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4c7008]
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 ebx, ecx
mov dword [ebp - 0x2c], ebx
cmp byte [ebx + 0x3c], 0
jne 0x474e6d
mov byte [ebx + 0x3c], 1
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x474a7a
mov ecx, esi
call fcn.00475ae0
add esi, 0x94
cmp esi, edi
jne 0x474a67
mov esi, dword [ebx]
mov dword [ebx + 4], esi
lea ecx, [ebp - 0x70]
movzx eax, byte [ebx + 0x3d]
push eax
call fcn.00481a90
mov edi, eax
mov dword [ebp - 4], 0
lea esi, [ebx + 0xc]
mov dword [ebp - 0x3c], esi
cmp esi, edi
je 0x474aac
push dword [ebp - 0x38]
mov ecx, esi
push dword [edi + 4]
push dword [edi]
call fcn.00476380
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
cmp ecx, eax
je 0x474ac3
push dword [ebp - 0x38]
push dword [eax + 4]
push dword [eax]
call fcn.00476170
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
cmp ecx, eax
je 0x474ada
push dword [ebp - 0x38]
push dword [eax + 4]
push dword [eax]
call fcn.00475f70
add edi, 0x24
lea ecx, [esi + 0x24]
cmp ecx, edi
je 0x474af1
push dword [ebp - 0x38]
push dword [edi + 4]
push dword [edi]
call fcn.0041e390
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00403d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004752b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00475330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004753c0
mov edi, dword [ebp - 0x2c]
mov ecx, esi
push edi
call fcn.004840c0
mov ebx, dword [edi]
mov eax, dword [edi + 4]
cmp ebx, eax
jne 0x474b68
lea ecx, [ebp - 0x34]
call fcn.00472aa0
mov dword [ebp - 4], 6
push edi
call fcn.00486610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00472bd0
mov ebx, dword [edi]
mov eax, dword [edi + 4]
cmp ebx, eax
je 0x474bd9
add ebx, 0x94
nop
lea eax, [ebx - 0x18]
mov ecx, esi
push eax
lea eax, [ebx - 0x94]
push eax
call fcn.00483d20
test al, al
jne 0x474bc6
mov edi, dword [edi + 4]
mov esi, ebx
cmp ebx, edi
je 0x474bac
nop
push esi
lea ecx, [esi - 0x94]
call fcn.004765e0
add esi, 0x94
cmp esi, edi
jne 0x474b90
mov edi, dword [ebp - 0x2c]
mov edi, dword [edi + 4]
lea ecx, [edi - 0x94]
call fcn.00475ae0
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x3c]
add dword [edi + 4], 0xffffff6c
jmp 0x474bcc
add ebx, 0x94
mov ecx, dword [edi + 4]
lea eax, [ebx - 0x94]
cmp eax, ecx
jne 0x474b70
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], 8
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], 9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00483a70
mov ecx, dword [ebp - 0x24]
mov eax, 0x81848da9
mov edi, dword [ebp - 0x28]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x30], eax
je 0x474d88
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov esi, dword [eax]
lea ebx, [edi + ecx]
mov dword [ebp - 0x3c], ebx
cmp esi, dword [eax + 4]
je 0x474d73
lea edi, [esi + 0x64]
nop dword [eax + eax]
mov eax, dword [edi - 0x54]
cmp eax, dword [ebx + 0x10]
jne 0x474d52
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x474c96
mov edx, dword [ebx]
cmp dword [edi - 0x50], 8
mov ecx, esi
jb 0x474ca0
mov ecx, dword [esi]
call fcn.0046a6e0
test al, al
je 0x474d52
cmp dword [ebx + 0x40], 0
je 0x474d07
mov eax, dword [ebx + 0x44]
lea edx, [ebx + 0x30]
mov ecx, edx
cmp eax, 8
jb 0x474cc2
mov ecx, dword [edx]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x38], ebx
cmp ebx, 7
jne 0x474cf3
mov eax, str.0.0.0.0
sub ecx, eax
mov dword [ebp - 0x40], ecx
mov cx, word [eax + ecx]
cmp cx, word [eax]
jne 0x474ced
mov ecx, dword [ebp - 0x40]
add eax, 2
sub ebx, 1
jne 0x474cd7
jmp 0x474d07
mov eax, dword [edx + 0x14]
mov ebx, dword [ebp - 0x38]
cmp edi, edx
je 0x474d07
cmp eax, 8
jb 0x474cfe
mov edx, dword [edx]
push ebx
push edx
mov ecx, edi
call fcn.004027a0
or byte [edi - 4], 2
cmp dword [edi - 0x24], 0
mov ebx, dword [ebp - 0x3c]
jne 0x474d34
lea ecx, [ebx + 0x78]
lea eax, [edi - 0x34]
cmp eax, ecx
je 0x474d34
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x474d28
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [edi - 0x34]
push eax
call fcn.004027a0
cmp dword [edi - 0xc], 0
jne 0x474d52
cmp dword [ebx + 0x2b8], 5
jne 0x474d52
push 1
push 0x4b09f0
lea ecx, [edi - 0x1c]
call fcn.004027a0
mov eax, dword [ebp - 0x2c]
add esi, 0x94
add edi, 0x94
cmp esi, dword [eax + 4]
jne 0x474c80
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
add ecx, 0x3f4
sub edx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
jne 0x474c67
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov ebx, dword [ebp - 0x1c]
sub ecx, ebx
imul ecx
mov dword [ebp - 0x34], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x474e52
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x2c]
lea edi, [ebx + ecx]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x474e22
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x474e0e
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x474dd4
mov edx, dword [edi]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x474dde
mov ecx, dword [esi]
call fcn.0046a6e0
test al, al
je 0x474e0e
or byte [esi + 0x60], 4
cmp dword [esi + 0x40], 0
jne 0x474e0e
lea eax, [edi + 0x18]
lea ecx, [esi + 0x30]
cmp ecx, eax
je 0x474e0e
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x474e05
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004027a0
mov eax, dword [ebp - 0x2c]
add esi, 0x94
cmp esi, dword [eax + 4]
jne 0x474dc2
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
add ecx, 0x38
mov dword [ebp - 0x30], ecx
mov eax, 0x92492493
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, ebx
mov dword [ebp - 0x34], esi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x30]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x474db5
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00475330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004753c0
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.004991a3
mov esp, ebp
pop ebp
ret