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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50ce67
sub esp, 0x54
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], edx
call fcn.0050b760
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 4]
movzx ebp, byte [edx]
mov esi, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
movzx ecx, byte [eax]
mov byte [esp + 0x1b], cl
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
movzx ecx, byte [eax]
mov byte [esp + 0x1a], cl
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0xc]
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov ebp, dword [0x8326a0]
test ebp, ebp
jne 0x50ce58
mov dword [eax + 4], ebx
movzx ebx, byte [esp + 0x1b]
mov byte [edx], bl
mov ebx, dword [esp + 0x3c]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x38]
mov dword [edx + 0xc], ebx
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x50ce47
mov ebx, dword [esp + 0x50]
mov dword [edx + 4], ebx
movzx edx, byte [esp + 0x1a]
mov ebx, dword [esp + 0x6c]
mov byte [ebx], dl
mov edx, dword [esp + 0x34]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x50ce36
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 4], ecx
movzx ecx, byte [esp + 0x78]
test cl, cl
je 0x50cced
nop
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x74]
cmp ecx, edx
je 0x50ce2f
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 8]
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp esi, ebx
jg 0x50cda5
mov edi, esi
cmp edi, esi
jge 0x50cd9e
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], ebp
cmp ecx, ebp
je 0x50cc17
mov dword [esp], ebp
mov dword [esp + 4], ecx
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045b690
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x50cd8d
mov eax, dword [esp + 0x48]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x64]
movzx ecx, byte [eax]
mov byte [edx], cl
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
call fcn.0050b610
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
call fcn.0050b3d0
nop
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
je 0x50cced
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 4]
mov ebp, dword [ecx + 8]
mov esi, dword [ecx + 4]
cmp ebp, edx
jg 0x50cd03
mov edi, ebp
cmp edi, ebp
jge 0x50ccff
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x48], ebx
cmp esi, ebx
je 0x50ccc1
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045b690
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x50ccf1
mov eax, dword [esp + 0x48]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x74]
movzx eax, byte [eax]
mov byte [edx], al
add esp, 0x54
ret
lea edi, [edx + 4]
mov eax, dword [esp + 0x48]
call fcn.0045ace0
jmp 0x50cce4
mov edi, ebp
jmp 0x50cc9e
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], esi
cmp ebp, 1
jne 0x50cd51
lea eax, [0x633500]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00442930
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov ebp, 1
mov edx, 1
jmp 0x50cc9a
lea eax, [0x633500]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.00442930
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov ebp, edi
mov edx, dword [esp + 0x28]
jmp 0x50cc9a
lea edi, [edx + 4]
mov eax, dword [esp + 0x48]
call fcn.0045ace0
jmp 0x50cc3e
mov edi, esi
jmp 0x50cbf4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], ecx
cmp esi, 1
jne 0x50cdf3
lea eax, [0x633500]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00442930
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
mov esi, 1
mov ebx, 1
jmp 0x50cbec
lea eax, [0x633500]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 8], ecx
call fcn.00442930
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
mov esi, edi
mov ebx, dword [esp + 0x24]
jmp 0x50cbec
mov eax, ecx
jmp 0x50cc47
lea edi, [ebx + 4]
mov eax, dword [esp + 0x4c]
call fcn.0045ace0
jmp 0x50cbb6
lea edi, [edx + 4]
mov eax, dword [esp + 0x50]
call fcn.0045ace0
jmp 0x50cb8c
lea edi, [eax + 4]
mov eax, ebx
call fcn.0045ace0
jmp 0x50cb62
call fcn.00459790
jmp fcn.0050cab0