Function at 0x50e160
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 0x50e84e
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 0x50e831
cmp eax, 0x12
jne 0x50e7fe
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00537840
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
cmp ebp, 0x64
jg 0x50e222
cmp ebp, 0x58
jne 0x50e20a
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.0050cd40
add esp, 0x90
ret
cmp ebp, 0x62
je 0x50e1e8
cmp ebp, 0x64
je 0x50e1e8
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0050c280
jmp 0x50e203
cmp ebp, 0x70
jg 0x50e25c
cmp ebp, 0x6f
je 0x50e1e8
cmp ebp, 0x70
jne 0x50e214
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 0x50e255
mov byte [esp + 0xc], 0
call fcn.0050ccb0
jmp 0x50e203
mov byte [esp + 0xc], 1
jmp 0x50e24e
cmp ebp, 0x76
jne 0x50e7f0
movzx ebx, byte [ecx + 0x2c]
cmp bl, 0
je 0x50e78d
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 0x50e710
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 0x50e709
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.00538440
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 0x50e702
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 0x50e377
mov dword [esp], 0x5c4440
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.0043c470
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 0x50e6fb
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.004537a0
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 0x50e6ea
mov dword [ebx], ebp
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50e6e3
mov ebx, 0x5f5ae3
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 0x50e46a
mov dword [esp], 0x5c4440
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.0043c470
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 0x50e6dc
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.004537a0
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 0x50e6cb
mov dword [ebx], ebp
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jne 0x50e6a4
mov eax, dword [esp + 0x94]
cmp eax, 0
je 0x50e69d
mov ebx, 0x5f5d55
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 0x50e576
mov dword [esp], 0x5c4440
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.0043c470
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 0x50e696
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.004537a0
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 0x50e685
mov dword [ebx], ebp
mov ebx, dword [esp + 0x94]
cmp ebx, 0
je 0x50e67e
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 0x50e615
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 0x50e203
mov dword [esp], 0x5c4440
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0043c470
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
cmp ebx, 0
je 0x50e67a
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 0x50e664
mov dword [ebx], edx
jmp 0x50e603
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040f3d0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
jmp 0x50e603
mov dword [ebx], eax
jmp 0x50e646
mov dword [ebx], eax
jmp 0x50e5e8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f3d0
jmp 0x50e5d8
call fcn.004288f0
ud2
mov dword [eax], eax
jmp 0x50e4f2
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.0050ccb0
jmp 0x50e5d8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f3d0
jmp 0x50e4d5
call fcn.004288f0
ud2
mov dword [eax], eax
jmp 0x50e3e9
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f3d0
jmp 0x50e3d9
call fcn.004288f0
ud2
mov dword [ebx], eax
jmp 0x50e308
mov dword [ecx], eax
jmp 0x50e2a7
mov dword [esp], 0x5c4440
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c470
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 0x50e789
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 0x50e769
mov dword [ebx], edi
jmp 0x50e291
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.0040f3d0
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x94]
jmp 0x50e291
mov dword [ebx], eax
jmp 0x50e748
cmp edx, 0
jne 0x50e7c2
mov dword [esp], ecx
cmp dword [esp], 0
je 0x50e7ba
add dword [esp], 0x20
mov ebx, 0x5f610a
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.00509530
jmp 0x50e203
mov dword [0], eax
jmp 0x50e79b
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 0x50e7e9
mov byte [esp + 0xc], 0
call fcn.0050ccb0
jmp 0x50e203
mov byte [esp + 0xc], 1
jmp 0x50e7df
cmp ebp, 0x78
je 0x50e1e8
jmp 0x50e214
cmp eax, 0x13
je 0x50e1b8
cmp eax, 0x15
je 0x50e1b8
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
call fcn.0050c280
add esp, 0x90
ret
cmp eax, 0x16
je 0x50e1b8
cmp eax, 0x17
je 0x50e1b8
cmp eax, 0x1a
je 0x50e1b8
jmp 0x50e810
call fcn.00450fb0
jmp fcn.0050e160