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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x50e3b6
sub esp, 0x9c
mov eax, dword [esp + 0xb0]
mov ecx, eax
and eax, 0x1f
nop
nop
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x28]
mov dword [esp + 0x34], ebx
cmp eax, 0x11
je 0x50dfda
cmp eax, 0x14
je 0x50df6b
cmp eax, 0x17
jne 0x50df1d
test ecx, 0x200
jne 0x50de7c
lea eax, [0x5c13b8]
mov ebp, dword [esp + 0xa8]
jmp 0x50dea8
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov edx, dword [esp + 0xac]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0048a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
mov ebp, ecx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
call fcn.0048b040
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xac]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xb0]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00489770
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x50e021
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x586901]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 5
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.0050aa00
mov byte [esp + 0xb4], 0
add esp, 0x9c
ret
lea eax, [0x561720]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00449500
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00409600
mov eax, dword [esp + 0xc]
lea ecx, [0x55ad40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0050dce0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ecx
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov ecx, eax
mov eax, dword [esp + 0x34]
jmp 0x50e021
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov edx, dword [esp + 0xac]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004889c0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jne 0x50e262
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
xor ebp, ebp
xor esi, esi
xor edi, edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ecx
test edx, edx
je 0x50e055
test edx, 0x200
jne 0x50e055
mov dword [esp + 0x3c], eax
lea eax, [0x5c13b8]
mov dword [esp + 0x20], eax
jmp 0x50e071
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0048a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
xor edx, edx
xor ebx, ebx
jmp 0x50e0a2
mov ebp, dword [esp + 0x30]
lea edx, [ebp + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
jge 0x50e1ad
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0048b360
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00487840
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x30]
cmp edx, ecx
jae 0x50e25b
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x7c], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
mov esi, dword [eax + 0x24]
mov esi, dword [esi + edx*4]
mov edi, dword [esp + 0xa0]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0050b7e0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x50e146
mov ebx, dword [esp + 0x2c]
jmp 0x50e093
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
call fcn.00487d10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.00489770
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 1]
jmp 0x50e093
mov eax, dword [esp + 0x28]
mov ecx, eax
and eax, 0x1f
nop
cmp eax, 0x11
je 0x50e218
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
call fcn.0048a480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00489770
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x50e24c
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00489770
mov byte [esp + 0xb4], 1
add esp, 0x9c
ret
mov eax, edx
call fcn.00460f60
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.004889c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp], eax
call fcn.00409470
mov eax, dword [esp + 4]
lea ecx, [0x5609a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409470
mov eax, dword [esp + 4]
lea ecx, [0x5609a0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [0x586bd5]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x5916eb]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x2a
call fcn.0044cfa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004adf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea eax, [0x5673c0]
mov dword [esp], eax
lea ecx, [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.004093b0
mov eax, dword [esp + 8]
lea ecx, [0x5673c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435490
nop
call fcn.0045faf0
jmp fcn.0050de10