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

Disassembly:
sub esp, 0x88
lea eax, [esp + 0x20]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004fa180
mov edi, dword [esp + 0xa4]
add esp, 4
xorps xmm0, xmm0
mov esi, dword [edi + 8]
mov eax, esi
mov ebx, dword [edi + 0xc]
or eax, ebx
je 0x4f430d
mov eax, dword [edi]
movlpd qword [esp + 0x24], xmm0
mov eax, dword [eax]
mov edx, dword [eax + 0x54]
mov ecx, dword [eax + 0x50]
mov eax, ecx
mov dword [esp + 0x10], edx
test ebx, ebx
jb 0x4f42e3
ja 0x4f3fa9
test esi, esi
je 0x4f42e3
mov eax, dword [esp + 0x28]
mov esi, ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov ebp, ebx
add ebp, ebp
mov edx, dword [eax + ebp*8]
mov ecx, dword [edx + 0x54]
mov eax, dword [edx + 0x50]
cmp ecx, dword [esp + 0x10]
ja 0x4f3ff0
jb 0x4f3fe2
cmp eax, esi
jae 0x4f3ff0
mov esi, eax
mov eax, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
jmp 0x4f3ff4
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x24]
ja 0x4f42b3
jb 0x4f4008
cmp esi, dword [edi + 0x20]
ja 0x4f42b3
push dword [edx + 0x38]
call fcn.004fd7d0
mov ecx, dword [edi]
add esp, 4
movzx eax, ax
cdq
mov ecx, dword [ecx + ebp*8]
mov esi, dword [ecx + 0x50]
mov dword [esp + 0x24], esi
mov esi, dword [ecx + 0x54]
mov dword [esp + 0x2c], esi
mov esi, dword [ecx + 0x50]
add esi, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
adc ecx, dword [esp + 0x2c]
add esi, eax
adc ecx, edx
mov edx, dword [esp + 0x1c]
add esi, 0x1e
adc ecx, 0
cmp ecx, edx
jb 0x4f4061
ja 0x4f4053
mov eax, dword [esp + 0x14]
cmp esi, eax
jbe 0x4f4065
mov eax, esi
mov edx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jmp 0x4f4065
mov eax, dword [esp + 0x14]
cmp edx, dword [edi + 0x24]
ja 0x4f42b3
jb 0x4f4079
cmp eax, dword [edi + 0x20]
ja 0x4f42b3
mov esi, dword [esp + 0x9c]
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esi]
call fcn.004f7700
mov ecx, dword [esi]
add esp, 0x10
test eax, eax
js 0x4f4292
mov esi, dword [esp + 0xa4]
lea eax, [esp + 0x30]
push esi
push 1
push 0
push ecx
push eax
call fcn.004fa320
and eax, edx
add esp, 0x14
cmp eax, 0xffffffff
je 0x4f4239
mov esi, dword [edi]
mov esi, dword [esi + ebp*8]
mov ax, word [esi + 0xa]
cmp ax, word [esp + 0x3a]
jb 0x4f41f2
mov eax, dword [esi + 0x10]
cmp eax, dword [esp + 0x40]
jne 0x4f41f2
mov eax, dword [esi + 0x18]
cmp eax, dword [esp + 0x48]
jne 0x4f41f2
mov eax, dword [esi + 0x1c]
cmp eax, dword [esp + 0x4c]
jne 0x4f41f2
push dword [esp + 0x68]
push dword [esi + 0x38]
call fcn.004fd670
add esp, 8
test eax, eax
je 0x4f41f2
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
cmp dword [esi + 0x20], eax
jne 0x4f4150
cmp dword [esi + 0x28], ecx
jne 0x4f4150
cmp dword [esi + 0x2c], edx
jne 0x4f4150
mov edi, dword [esp + 0x60]
cmp dword [esi + 0x30], edi
mov edi, dword [esp + 0xa0]
jne 0x4f4150
mov edi, dword [esp + 0x64]
cmp dword [esi + 0x34], edi
mov edi, dword [esp + 0xa0]
je 0x4f4190
test byte [esp + 0x3c], 8
je 0x4f41f2
test eax, eax
je 0x4f4168
cmp dword [esi + 0x20], eax
jne 0x4f41f2
mov eax, ecx
or eax, edx
je 0x4f4178
cmp dword [esi + 0x28], ecx
jne 0x4f41f2
cmp dword [esi + 0x2c], edx
jne 0x4f41f2
mov ecx, dword [esp + 0x60]
mov eax, ecx
mov edx, dword [esp + 0x64]
or eax, edx
je 0x4f4190
cmp dword [esi + 0x30], ecx
jne 0x4f41f2
cmp dword [esi + 0x34], edx
jne 0x4f41f2
mov eax, dword [edi]
push dword [esp + 0x6c]
mov eax, dword [eax + ebp*8]
push dword [eax + 0x3c]
call fcn.004fbf70
mov ecx, dword [edi]
mov ecx, dword [ecx + ebp*8]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi]
mov eax, dword [eax + ebp*8]
mov byte [eax + 4], 1
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x78], 0
call fcn.004fa000
mov eax, dword [esp + 0x24]
add esp, 0xc
add ebx, 1
adc eax, 0
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0xc]
ja 0x4f42d7
jb 0x4f41e9
cmp ebx, dword [edi + 8]
jae 0x4f42d7
mov esi, dword [esp + 0x20]
jmp 0x4f3fc7
cmp dword [esp + 0x18], 0
jne 0x4f4201
cmp ebx, 0x7fffff
jbe 0x4f4206
mov ebx, 0x7fffff
mov eax, dword [esp + 0xa4]
shl ebx, 8
or ebx, 6
push ebx
push 0x15
push eax
call fcn.004f3b20
lea eax, [esp + 0x3c]
push eax
call fcn.004fa000
add esp, 0x10
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
push esi
call fcn.004b1970
add esp, 4
cmp eax, 0x15
jne 0x4f4275
cmp dword [esp + 0x18], 0
jne 0x4f4256
cmp ebx, 0x7fffff
jbe 0x4f425b
mov ebx, 0x7fffff
push esi
call fcn.004b1960
movzx eax, al
shl ebx, 8
or eax, ebx
push eax
push 0x15
push esi
call fcn.004f3b20
add esp, 0x10
lea eax, [esp + 0x30]
push eax
call fcn.004fa000
add esp, 4
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0xa4]
push ecx
push eax
call fcn.004f3b40
add esp, 8
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0xa4]
push 0
push 0x13
push eax
call fcn.004f3b20
add esp, 0xc
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub ecx, eax
sbb edx, dword [esp + 0x10]
cmp edx, 0x7fffffff
jb 0x4f431b
ja 0x4f42f8
cmp ecx, 0xffffffff
jb 0x4f431b
pop edi
pop esi
or ecx, 0xffffffff
mov edx, bind
pop ebp
mov eax, ecx
pop ebx
add esp, 0x88
ret
movlpd qword [esp + 0x24], xmm0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x88
ret