Function at 0x50ea80
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 0x50f16e
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 0x50f151
cmp eax, 0x12
jne 0x50f11e
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00538160
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
cmp ebp, 0x64
jg 0x50eb42
cmp ebp, 0x58
jne 0x50eb2a
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.0050d660
add esp, 0x90
ret
cmp ebp, 0x62
je 0x50eb08
cmp ebp, 0x64
je 0x50eb08
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0050cba0
jmp 0x50eb23
cmp ebp, 0x70
jg 0x50eb7c
cmp ebp, 0x6f
je 0x50eb08
cmp ebp, 0x70
jne 0x50eb34
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 0x50eb75
mov byte [esp + 0xc], 0
call fcn.0050d5d0
jmp 0x50eb23
mov byte [esp + 0xc], 1
jmp 0x50eb6e
cmp ebp, 0x76
jne 0x50f110
movzx ebx, byte [ecx + 0x2c]
cmp bl, 0
je 0x50f0ad
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 0x50f030
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 0x50f029
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.00538d60
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 0x50f022
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 0x50ec97
mov dword [esp], 0x5c5000
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.0043cd90
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 0x50f01b
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.004540c0
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 [0x6dae38], 0
jne 0x50f00a
mov dword [ebx], ebp
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50f003
mov ebx, 0x5f6763
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 0x50ed8a
mov dword [esp], 0x5c5000
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.0043cd90
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 0x50effc
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.004540c0
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 [0x6dae38], 0
jne 0x50efeb
mov dword [ebx], ebp
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jne 0x50efc4
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50efbd
mov ebx, 0x5f69d5
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 0x50ee96
mov dword [esp], 0x5c5000
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.0043cd90
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 0x50efb6
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.004540c0
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 [0x6dae38], 0
jne 0x50efa5
mov dword [ebx], ebp
mov ebx, dword [esp + 0x94]
cmp ebx, 0
je 0x50ef9e
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 0x50ef35
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 0x50eb23
mov dword [esp], 0x5c5000
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
cmp ebx, 0
je 0x50ef9a
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 [0x6dae38], 0
jne 0x50ef84
mov dword [ebx], edx
jmp 0x50ef23
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040fcf0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
jmp 0x50ef23
mov dword [ebx], eax
jmp 0x50ef66
mov dword [ebx], eax
jmp 0x50ef08
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50eef8
call fcn.00429210
ud2
mov dword [eax], eax
jmp 0x50ee12
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.0050d5d0
jmp 0x50eef8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50edf5
call fcn.00429210
ud2
mov dword [eax], eax
jmp 0x50ed09
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50ecf9
call fcn.00429210
ud2
mov dword [ebx], eax
jmp 0x50ec28
mov dword [ecx], eax
jmp 0x50ebc7
mov dword [esp], 0x5c5000
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
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 0x50f0a9
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 [0x6dae38], 0
jne 0x50f089
mov dword [ebx], edi
jmp 0x50ebb1
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.0040fcf0
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x94]
jmp 0x50ebb1
mov dword [ebx], eax
jmp 0x50f068
cmp edx, 0
jne 0x50f0e2
mov dword [esp], ecx
cmp dword [esp], 0
je 0x50f0da
add dword [esp], 0x20
mov ebx, 0x5f6d8a
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.00509e50
jmp 0x50eb23
mov dword [0], eax
jmp 0x50f0bb
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 0x50f109
mov byte [esp + 0xc], 0
call fcn.0050d5d0
jmp 0x50eb23
mov byte [esp + 0xc], 1
jmp 0x50f0ff
cmp ebp, 0x78
je 0x50eb08
jmp 0x50eb34
cmp eax, 0x13
je 0x50ead8
cmp eax, 0x15
je 0x50ead8
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
call fcn.0050cba0
add esp, 0x90
ret
cmp eax, 0x16
je 0x50ead8
cmp eax, 0x17
je 0x50ead8
cmp eax, 0x1a
je 0x50ead8
jmp 0x50f130
call fcn.004518d0
jmp fcn.0050ea80