Function at 0x50e010
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 0x50e6fe
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 0x50e6e1
cmp eax, 0x12
jne 0x50e6ae
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.005376f0
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
cmp ebp, 0x64
jg 0x50e0d2
cmp ebp, 0x58
jne 0x50e0ba
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.0050cbf0
add esp, 0x90
ret
cmp ebp, 0x62
je 0x50e098
cmp ebp, 0x64
je 0x50e098
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0050c130
jmp 0x50e0b3
cmp ebp, 0x70
jg 0x50e10c
cmp ebp, 0x6f
je 0x50e098
cmp ebp, 0x70
jne 0x50e0c4
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 0x50e105
mov byte [esp + 0xc], 0
call fcn.0050cb60
jmp 0x50e0b3
mov byte [esp + 0xc], 1
jmp 0x50e0fe
cmp ebp, 0x76
jne 0x50e6a0
movzx ebx, byte [ecx + 0x2c]
cmp bl, 0
je 0x50e63d
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 0x50e5c0
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 0x50e5b9
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.005382f0
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 0x50e5b2
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 0x50e227
mov dword [esp], 0x5c41e0
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.0043c390
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 0x50e5ab
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.004536c0
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 [0x6d9e18], 0
jne 0x50e59a
mov dword [ebx], ebp
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50e593
mov ebx, 0x5f57c3
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 0x50e31a
mov dword [esp], 0x5c41e0
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.0043c390
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 0x50e58c
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.004536c0
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 [0x6d9e18], 0
jne 0x50e57b
mov dword [ebx], ebp
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jne 0x50e554
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50e54d
mov ebx, 0x5f5a35
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 0x50e426
mov dword [esp], 0x5c41e0
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.0043c390
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 0x50e546
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.004536c0
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 [0x6d9e18], 0
jne 0x50e535
mov dword [ebx], ebp
mov ebx, dword [esp + 0x94]
cmp ebx, 0
je 0x50e52e
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 0x50e4c5
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 0x50e0b3
mov dword [esp], 0x5c41e0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
cmp ebx, 0
je 0x50e52a
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 [0x6d9e18], 0
jne 0x50e514
mov dword [ebx], edx
jmp 0x50e4b3
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040f2f0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
jmp 0x50e4b3
mov dword [ebx], eax
jmp 0x50e4f6
mov dword [ebx], eax
jmp 0x50e498
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50e488
call fcn.00428810
ud2
mov dword [eax], eax
jmp 0x50e3a2
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.0050cb60
jmp 0x50e488
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50e385
call fcn.00428810
ud2
mov dword [eax], eax
jmp 0x50e299
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50e289
call fcn.00428810
ud2
mov dword [ebx], eax
jmp 0x50e1b8
mov dword [ecx], eax
jmp 0x50e157
mov dword [esp], 0x5c41e0
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
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 0x50e639
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 [0x6d9e18], 0
jne 0x50e619
mov dword [ebx], edi
jmp 0x50e141
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.0040f2f0
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x94]
jmp 0x50e141
mov dword [ebx], eax
jmp 0x50e5f8
cmp edx, 0
jne 0x50e672
mov dword [esp], ecx
cmp dword [esp], 0
je 0x50e66a
add dword [esp], 0x20
mov ebx, 0x5f5dea
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.005093e0
jmp 0x50e0b3
mov dword [0], eax
jmp 0x50e64b
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 0x50e699
mov byte [esp + 0xc], 0
call fcn.0050cb60
jmp 0x50e0b3
mov byte [esp + 0xc], 1
jmp 0x50e68f
cmp ebp, 0x78
je 0x50e098
jmp 0x50e0c4
cmp eax, 0x13
je 0x50e068
cmp eax, 0x15
je 0x50e068
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
call fcn.0050c130
add esp, 0x90
ret
cmp eax, 0x16
je 0x50e068
cmp eax, 0x17
je 0x50e068
cmp eax, 0x1a
je 0x50e068
jmp 0x50e6c0
call fcn.00450ed0
jmp fcn.0050e010