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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x50fa6e
sub esp, 0x90
mov ebp, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov eax, ecx
and eax, 0x1f
cmp eax, 0x15
ja 0x50fa51
cmp eax, 0x12
jne 0x50fa1e
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00538a60
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
cmp ebp, 0x64
jg 0x50f442
cmp ebp, 0x58
jne 0x50f42a
mov dword [esp], ecx
xor ecx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], ebp
call fcn.0050df60
add esp, 0x90
ret
cmp ebp, 0x62
je 0x50f408
cmp ebp, 0x64
je 0x50f408
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0050d4a0
jmp 0x50f423
cmp ebp, 0x70
jg 0x50f47c
cmp ebp, 0x6f
je 0x50f408
cmp ebp, 0x70
jne 0x50f434
mov dword [esp], ecx
mov ebp, edx
xor edx, edx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
movzx ebx, byte [ecx + 0x28]
cmp bl, 0
je 0x50f475
mov byte [esp + 0xc], 0
call fcn.0050ded0
jmp 0x50f423
mov byte [esp + 0xc], 1
jmp 0x50f46e
cmp ebp, 0x76
jne 0x50fa10
movzx ebx, byte [ecx + 0x2c]
cmp bl, 0
je 0x50f9ad
mov byte [esp + 0x22], 0x28
mov dword [esp + 0x40], ecx
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ebp, eax
inc ebp
cmp ebp, edx
ja 0x50f930
mov dword [ecx + 4], ebp
mov ebx, edi
add ebx, eax
movzx ebp, byte [esp + 0x22]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
cmp ecx, 0
je 0x50f929
mov dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
call fcn.00539660
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov dword [esp], eax
mov dword [esp + 0x64], ecx
mov ebx, dword [ecx + 0x84]
call ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x44]
cmp ebx, 0
je 0x50f922
mov edi, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x88], ebp
mov ecx, dword [ebx + 8]
mov dword [esp + 0x84], edi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x8c], ecx
mov ebx, dword [esp + 0x58]
mov eax, esi
add eax, ebx
cmp eax, ecx
jbe 0x50f597
mov dword [esp], 0x5c5920
mov dword [esp + 0x78], edi
mov dword [esp + 4], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 8], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
call fcn.0043d700
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
cmp eax, ecx
ja 0x50f91b
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x88]
mov ebp, edi
mov dword [esp + 0x78], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00454a30
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x78]
cmp byte [0x6dbe18], 0
jne 0x50f90a
mov dword [ebx], ebp
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50f903
mov ebx, 0x5f7083
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 2
mov dword [esp + 0x3c], eax
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x7c], ebp
mov ecx, dword [eax + 8]
mov dword [esp + 0x78], edi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0x60]
mov eax, esi
add eax, ebx
cmp eax, ecx
jbe 0x50f68a
mov dword [esp], 0x5c5920
mov dword [esp + 0x84], edi
mov dword [esp + 4], edi
mov dword [esp + 0x88], esi
mov dword [esp + 8], esi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
call fcn.0043d700
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ecx
cmp eax, ecx
ja 0x50f8fc
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x7c]
mov ebp, edi
mov dword [esp + 0x84], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00454a30
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x88]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x8c]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x84]
cmp byte [0x6dbe18], 0
jne 0x50f8eb
mov dword [ebx], ebp
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jne 0x50f8c4
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50f8bd
mov ebx, 0x5f72f7
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 3
mov dword [esp + 0x38], eax
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x88], ebp
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], edi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x8c], ecx
mov ebx, dword [esp + 0x50]
mov eax, esi
add eax, ebx
cmp eax, ecx
jbe 0x50f796
mov dword [esp], 0x5c5920
mov dword [esp + 0x78], edi
mov dword [esp + 4], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 8], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
call fcn.0043d700
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
cmp eax, ecx
ja 0x50f8b6
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x88]
mov ebp, edi
mov dword [esp + 0x78], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00454a30
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x7c]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x78]
cmp byte [0x6dbe18], 0
jne 0x50f8a5
mov dword [ebx], ebp
mov ebx, dword [esp + 0x94]
cmp ebx, 0
je 0x50f89e
mov byte [esp + 0x23], 0x29
mov dword [esp + 0x34], ebx
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov ebp, eax
inc ebp
cmp ebp, ecx
ja 0x50f835
mov dword [ebx + 4], ebp
mov ebx, edx
add ebx, eax
movzx ebp, byte [esp + 0x23]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
jmp 0x50f423
mov dword [esp], 0x5c5920
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
cmp ebx, 0
je 0x50f89a
mov ebp, eax
mov dword [esp + 0x2c], eax
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ecx
mov dword [esp + 0x48], edx
cmp byte [0x6dbe18], 0
jne 0x50f884
mov dword [ebx], edx
jmp 0x50f823
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00410660
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
jmp 0x50f823
mov dword [ebx], eax
jmp 0x50f866
mov dword [ebx], eax
jmp 0x50f808
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x50f7f8
call fcn.00429b80
ud2
mov dword [eax], eax
jmp 0x50f712
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebx, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.0050ded0
jmp 0x50f7f8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x50f6f5
call fcn.00429b80
ud2
mov dword [eax], eax
jmp 0x50f609
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x50f5f9
call fcn.00429b80
ud2
mov dword [ebx], eax
jmp 0x50f528
mov dword [ecx], eax
jmp 0x50f4c7
mov dword [esp], 0x5c5920
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
cmp ebx, 0
je 0x50f9a9
mov ebp, eax
mov dword [esp + 0x30], eax
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x48], edi
cmp byte [0x6dbe18], 0
jne 0x50f989
mov dword [ebx], edi
jmp 0x50f4b1
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.00410660
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x94]
jmp 0x50f4b1
mov dword [ebx], eax
jmp 0x50f968
cmp edx, 0
jne 0x50f9e2
mov dword [esp], ecx
cmp dword [esp], 0
je 0x50f9da
add dword [esp], 0x20
mov ebx, 0x5f76ac
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.0050a750
jmp 0x50f423
mov dword [0], eax
jmp 0x50f9bb
mov dword [esp], ecx
mov ebp, edx
xor edx, edx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
movzx ebx, byte [ecx + 0x28]
cmp bl, 0
je 0x50fa09
mov byte [esp + 0xc], 0
call fcn.0050ded0
jmp 0x50f423
mov byte [esp + 0xc], 1
jmp 0x50f9ff
cmp ebp, 0x78
je 0x50f408
jmp 0x50f434
cmp eax, 0x13
je 0x50f3d8
cmp eax, 0x15
je 0x50f3d8
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
call fcn.0050d4a0
add esp, 0x90
ret
cmp eax, 0x16
je 0x50f3d8
cmp eax, 0x17
je 0x50f3d8
cmp eax, 0x1a
je 0x50f3d8
jmp 0x50fa30
call fcn.00452240
jmp fcn.0050f380