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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54db10
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x59e074]
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 - 0x40], edi
cmp byte [edi + 0x3c], 0
jne 0x4f74bd
mov byte [edi + 0x3c], 1
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004f8250
mov eax, dword [edi]
lea ecx, [ebp - 0x74]
add esp, 4
mov dword [edi + 4], eax
movzx eax, byte [edi + 0x3d]
push eax
call fcn.00500230
mov esi, eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0xc]
cmp ebx, esi
je 0x4f6fad
push dword [ebp - 0x38]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.004f89b0
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x4f6fc4
push dword [ebp - 0x38]
push dword [eax + 4]
push dword [eax]
call fcn.004f8770
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x4f6fdb
push dword [ebp - 0x38]
push dword [eax + 4]
push dword [eax]
call fcn.004f8510
lea ecx, [esi + 0x24]
lea esi, [ebx + 0x24]
cmp esi, ecx
je 0x4f6fff
call fcn.004057a0
mov edx, dword [eax]
call fcn.00404680
push dword [ebp - 0x38]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.0042fef0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00405690
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.004f7a30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004f7ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004f7b30
push edi
mov ecx, ebx
call fcn.00501ea0
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x4f7184
lea ecx, [ebp - 0x34]
call fcn.00412ac0
mov dword [ebp - 4], 6
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004f8250
mov eax, dword [edi]
add esp, 4
mov ecx, edi
mov dword [edi + 4], eax
call fcn.00504f30
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x4f7172
nop dword [eax]
lea ecx, [esi + 0x18]
call fcn.004045b0
test al, al
jne 0x4f70d3
lea ecx, [esi + 0x18]
call fcn.00404680
mov ebx, eax
mov dword [ebp - 0x2c], ebx
cmp dword [ebx + 0x14], 8
jb 0x4f70a4
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
push str.000000000000
call fcn.00404920
mov ecx, dword [ebx + 0x10]
add esp, 4
cmp ecx, eax
jne 0x4f70cd
push ecx
mov ecx, dword [ebp - 0x2c]
mov edx, str.000000000000
call fcn.00406230
add esp, 4
test eax, eax
je 0x4f70d3
mov byte [ebp - 0x2d], 1
jmp 0x4f70d7
mov byte [ebp - 0x2d], 0
lea ecx, [esi + 0x30]
call fcn.004045b0
test al, al
jne 0x4f7128
lea ecx, [esi + 0x30]
call fcn.00404680
mov ebx, eax
mov dword [ebp - 0x2c], ebx
cmp dword [ebx + 0x14], 8
jb 0x4f70fb
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
push str.000000000000
call fcn.00404920
mov ecx, dword [ebx + 0x10]
add esp, 4
cmp ecx, eax
jne 0x4f7124
push ecx
mov ecx, dword [ebp - 0x2c]
mov edx, str.000000000000
call fcn.00406230
add esp, 4
test eax, eax
je 0x4f7128
mov al, 1
jmp 0x4f712a
xor al, al
cmp byte [ebp - 0x2d], 0
jne 0x4f7144
test al, al
jne 0x4f7144
push esi
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.004f7770
mov esi, dword [eax]
jmp 0x4f7166
lea ecx, [esi + 0x18]
call fcn.0040ef10
lea ecx, [esi + 0x30]
call fcn.0040ef10
or byte [esi + 0x60], 1
lea ecx, [esi + 0x64]
call fcn.0040a5a0
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4f7080
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00412b80
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x4f71bb
nop word [eax + eax]
lea eax, [esi + 0x7c]
mov ecx, ebx
push eax
push esi
call fcn.00501a10
test al, al
jne 0x4f71b0
push esi
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.004f7770
mov esi, dword [eax]
jmp 0x4f71b6
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4f7190
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, ebx
push eax
call fcn.00501850
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 - 0x34], ecx
je 0x4f739e
xor eax, eax
mov dword [ebp - 0x44], eax
mov esi, dword [edi]
add ebx, eax
mov dword [ebp - 0x3c], ebx
cmp esi, dword [edi + 4]
je 0x4f7387
mov ecx, ebx
call fcn.00404710
mov ecx, esi
mov edi, eax
call fcn.00404710
cmp eax, edi
jne 0x4f736f
mov ecx, ebx
call fcn.004045c0
mov ecx, esi
mov edi, eax
call fcn.004045c0
mov edx, edi
mov ecx, eax
call fcn.0040ec60
test al, al
je 0x4f736f
add ebx, 0x30
mov ecx, ebx
call fcn.004045b0
test al, al
jne 0x4f7304
mov ecx, ebx
call fcn.00404680
mov edi, eax
mov dword [ebp - 0x2c], edi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x4f72b6
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
push str.0.0.0.0
call fcn.00404920
mov edi, dword [edi + 0x10]
add esp, 4
cmp edi, eax
jne 0x4f72df
mov ecx, dword [ebp - 0x2c]
mov edx, str.0.0.0.0
push edi
call fcn.00406230
add esp, 4
test eax, eax
je 0x4f7304
mov ecx, ebx
lea edx, [esi + 0x64]
call fcn.00404680
cmp edx, eax
je 0x4f7304
call fcn.00404680
cmp dword [ebp - 0x38], 8
jb 0x4f72fa
mov eax, dword [eax]
push edi
push eax
lea ecx, [esi + 0x64]
call fcn.00404720
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.004045b0
mov ebx, dword [ebp - 0x3c]
test al, al
je 0x4f733f
lea ecx, [ebx + 0x78]
call fcn.00404680
cmp edi, eax
je 0x4f733f
call fcn.00404680
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4f7334
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00404720
lea ecx, [esi + 0x48]
call fcn.004045b0
test al, al
je 0x4f736f
cmp dword [ebx + 0x2b8], 5
jne 0x4f736f
push 0x567b60
call fcn.00404920
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x567b60
call fcn.00404720
mov edi, dword [ebp - 0x40]
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4f7253
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x28]
add eax, 0x3f4
sub ecx, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], ecx
jne 0x4f7243
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 0x4f74a2
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
nop dword [eax + eax]
mov esi, dword [edi]
lea eax, [ebx + ecx]
mov dword [ebp - 0x3c], eax
cmp esi, dword [edi + 4]
je 0x4f7472
lea edi, [esi + 0x30]
mov ecx, eax
call fcn.00404710
mov ecx, esi
mov ebx, eax
call fcn.00404710
cmp eax, ebx
jne 0x4f744e
mov ecx, dword [ebp - 0x3c]
call fcn.004045c0
mov ecx, esi
mov ebx, eax
call fcn.004045c0
mov edx, ebx
mov ecx, eax
call fcn.0040ec60
test al, al
je 0x4f744e
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.004045b0
test al, al
je 0x4f744e
mov ecx, dword [ebp - 0x3c]
add ecx, 0x18
call fcn.00404680
cmp edi, eax
je 0x4f744e
call fcn.00404680
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4f7443
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00404720
mov eax, dword [ebp - 0x40]
add esi, 0x94
add edi, 0x94
cmp esi, dword [eax + 4]
mov eax, dword [ebp - 0x3c]
jne 0x4f73e4
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
add ecx, 0x38
mov dword [ebp - 0x2c], 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 - 0x2c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4f73d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004f7ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004f7b30
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.00509af6
mov esp, ebp
pop ebp
ret