Function at 0x50df60
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 0x50e64e
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 0x50e631
cmp eax, 0x12
jne 0x50e5fe
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00537640
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
cmp ebp, 0x64
jg 0x50e022
cmp ebp, 0x58
jne 0x50e00a
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.0050cb40
add esp, 0x90
ret
cmp ebp, 0x62
je 0x50dfe8
cmp ebp, 0x64
je 0x50dfe8
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0050c080
jmp 0x50e003
cmp ebp, 0x70
jg 0x50e05c
cmp ebp, 0x6f
je 0x50dfe8
cmp ebp, 0x70
jne 0x50e014
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 0x50e055
mov byte [esp + 0xc], 0
call fcn.0050cab0
jmp 0x50e003
mov byte [esp + 0xc], 1
jmp 0x50e04e
cmp ebp, 0x76
jne 0x50e5f0
movzx ebx, byte [ecx + 0x2c]
cmp bl, 0
je 0x50e58d
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 0x50e510
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 0x50e509
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.00538240
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 0x50e502
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 0x50e177
mov dword [esp], 0x5c4140
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.0043c270
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 0x50e4fb
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.004535a0
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 [0x6d9e38], 0
jne 0x50e4ea
mov dword [ebx], ebp
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50e4e3
mov ebx, 0x5f5723
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 0x50e26a
mov dword [esp], 0x5c4140
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.0043c270
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 0x50e4dc
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.004535a0
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 [0x6d9e38], 0
jne 0x50e4cb
mov dword [ebx], ebp
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jne 0x50e4a4
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50e49d
mov ebx, 0x5f5995
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 0x50e376
mov dword [esp], 0x5c4140
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.0043c270
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 0x50e496
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.004535a0
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 [0x6d9e38], 0
jne 0x50e485
mov dword [ebx], ebp
mov ebx, dword [esp + 0x94]
cmp ebx, 0
je 0x50e47e
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 0x50e415
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 0x50e003
mov dword [esp], 0x5c4140
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0043c270
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
cmp ebx, 0
je 0x50e47a
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 [0x6d9e38], 0
jne 0x50e464
mov dword [ebx], edx
jmp 0x50e403
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040f1d0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
jmp 0x50e403
mov dword [ebx], eax
jmp 0x50e446
mov dword [ebx], eax
jmp 0x50e3e8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x50e3d8
call fcn.004286f0
ud2
mov dword [eax], eax
jmp 0x50e2f2
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.0050cab0
jmp 0x50e3d8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x50e2d5
call fcn.004286f0
ud2
mov dword [eax], eax
jmp 0x50e1e9
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x50e1d9
call fcn.004286f0
ud2
mov dword [ebx], eax
jmp 0x50e108
mov dword [ecx], eax
jmp 0x50e0a7
mov dword [esp], 0x5c4140
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c270
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 0x50e589
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 [0x6d9e38], 0
jne 0x50e569
mov dword [ebx], edi
jmp 0x50e091
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.0040f1d0
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x94]
jmp 0x50e091
mov dword [ebx], eax
jmp 0x50e548
cmp edx, 0
jne 0x50e5c2
mov dword [esp], ecx
cmp dword [esp], 0
je 0x50e5ba
add dword [esp], 0x20
mov ebx, 0x5f5d4a
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.00509330
jmp 0x50e003
mov dword [0], eax
jmp 0x50e59b
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 0x50e5e9
mov byte [esp + 0xc], 0
call fcn.0050cab0
jmp 0x50e003
mov byte [esp + 0xc], 1
jmp 0x50e5df
cmp ebp, 0x78
je 0x50dfe8
jmp 0x50e014
cmp eax, 0x13
je 0x50dfb8
cmp eax, 0x15
je 0x50dfb8
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
call fcn.0050c080
add esp, 0x90
ret
cmp eax, 0x16
je 0x50dfb8
cmp eax, 0x17
je 0x50dfb8
cmp eax, 0x1a
je 0x50dfb8
jmp 0x50e610
call fcn.00450db0
jmp fcn.0050df60