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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x511ea0
sub esp, 0x58
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
call fcn.005105d0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 0xc]
mov esi, dword [edx + 8]
movzx edi, byte [edx]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
movzx eax, byte [eax]
mov byte [esp + 0x1b], al
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
movzx eax, byte [ecx]
xchg edi, eax
mov byte [ecx], al
xchg edi, eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], ebp
mov ebp, dword [0xb91180]
test ebp, ebp
jne 0x511e8d
mov dword [ecx + 4], ebx
movzx ecx, byte [esp + 0x1b]
mov byte [edx], cl
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x511e78
mov ecx, dword [esp + 0x54]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x70]
mov byte [ecx], al
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x511e67
mov edx, dword [esp + 0x50]
mov dword [ecx + 4], edx
movzx ecx, byte [esp + 0x7c]
test cl, cl
je 0x511d1e
nop
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
cmp ecx, edx
je 0x511e60
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 0xc]
nop
mov esi, dword [edx + 8]
mov eax, edx
mov edx, dword [edx + 4]
nop
cmp esi, ebp
jg 0x511dd6
mov edi, esi
cmp esi, edi
jle 0x511dcf
mov dword [esp + 0x20], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ebp
cmp ebx, edx
je 0x511c46
mov dword [esp], ebx
mov dword [esp + 4], edx
shl edi, 2
mov dword [esp + 8], edi
call fcn.0044f8d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x511dbe
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax]
mov byte [edx], cl
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
call fcn.0050ffa0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.0050fd50
nop
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
je 0x511d1e
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 0xc]
nop
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
nop
cmp ebp, ebx
jg 0x511d34
mov edi, ebp
cmp ebp, edi
jle 0x511d30
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], ebp
cmp edx, esi
je 0x511cf2
mov dword [esp], edx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0044f8d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x511d22
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
mov byte [edx], al
add esp, 0x58
ret
lea edi, [edx + 4]
mov eax, dword [esp + 0x4c]
call fcn.0044f0d0
jmp 0x511d15
mov edi, ebp
jmp 0x511ccf
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], esi
cmp ebp, 1
jne 0x511d82
lea eax, [0x7ab600]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043a890
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov ebx, 1
mov ebp, 1
jmp 0x511ccb
lea eax, [0x7ab600]
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.0043a890
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov ebp, edi
jmp 0x511ccb
lea edi, [edx + 4]
mov eax, dword [esp + 0x4c]
call fcn.0044f0d0
jmp 0x511c6d
mov edi, esi
jmp 0x511c23
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], edx
cmp esi, 1
jne 0x511e24
lea eax, [0x7ab600]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043a890
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
mov esi, 1
mov ebp, 1
jmp 0x511c1b
lea eax, [0x7ab600]
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.0043a890
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
mov esi, edi
mov ebp, dword [esp + 0x24]
jmp 0x511c1b
mov eax, edx
jmp 0x511c76
lea edi, [ecx + 4]
mov eax, dword [esp + 0x50]
call fcn.0044f0d0
jmp 0x511be3
lea edi, [edx + 4]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.0044f0d0
mov eax, ecx
jmp 0x511bba
lea edi, [ecx + 4]
mov ecx, eax
mov eax, ebx
call fcn.0044f0d0
mov eax, ecx
jmp 0x511b90
call fcn.0044d880
jmp fcn.00511ae0