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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50e5a0
sub esp, 0x70
mov dword [esp + 0x30], 0
lea eax, [0x5db460]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov dword [eax + 0x10], 2
mov eax, dword [esp + 0x30]
test byte [eax], al
lea edi, [esp + 0x58]
xor eax, eax
call fcn.004485ca
mov byte [esp + 0x58], 5
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
lea esi, [ebx + 1]
cmp esi, edx
jg 0x50e52e
lea edx, [ebx + 1]
mov dword [ecx + 4], edx
lea ecx, [ebx + ebx*2]
lea edi, [ebp + ecx*8]
mov ecx, dword [0x79e7b0]
test ecx, ecx
jne 0x50e50f
lea esi, [esp + 0x58]
call fcn.00448aa4
lea eax, [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0050e5b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x40]
mov ebx, eax
xor eax, eax
call fcn.004485ca
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
lea edi, [ebp + 1]
cmp edi, esi
jg 0x50e499
lea edx, [ebp + 1]
mov dword [eax + 4], edx
lea eax, [ebp + ebp*2]
mov edx, dword [0x79e7b0]
lea edi, [ecx + eax*8]
test edx, edx
jne 0x50e479
lea esi, [esp + 0x40]
call fcn.00448aa4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0050e230
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x70
ret
lea eax, [0x5dda00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0040d9d0
mov ebx, dword [esp + 0x24]
jmp 0x50e437
mov dword [esp + 0x3c], eax
lea eax, [0x5dda00]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call fcn.004350a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 8], edx
mov edx, dword [0x79e7b0]
test edx, edx
jne 0x50e4ed
mov dword [ebx], eax
mov edx, dword [esp + 0x28]
mov ebp, ecx
mov ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x24]
jmp 0x50e417
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
jmp 0x50e4da
lea eax, [0x5dda00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.0040d9d0
jmp 0x50e3bf
mov dword [esp + 0x3c], ecx
lea eax, [0x5dda00]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.004350a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 8], edx
mov edx, dword [0x79e7b0]
test edx, edx
jne 0x50e57e
mov dword [ebx], eax
mov ebp, eax
xor eax, eax
mov edx, ecx
mov ecx, ebx
mov ebx, edx
jmp 0x50e39b
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
jmp 0x50e56f
call fcn.00446b60
jmp fcn.0050e330