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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5372f6
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov dword [esp], ecx
call fcn.0050e9c0
mov eax, dword [esp + 4]
nop
test eax, eax
je 0x536f16
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ebx, dword [0x785268]
lea ebp, [0x785264]
cmp edx, ebp
jne 0x5372df
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [0x785254]
lea esi, [0x785250]
cmp ebx, esi
jne 0x5372c9
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
mov ebx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 8], ebx
call fcn.0050de30
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0050de30
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x28], edx
xor ebx, ebx
jmp 0x536fb1
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1e
lea ecx, [0x6fbc7f]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x785138]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x6c
ret
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x4c]
mov esi, ecx
call fcn.004664b0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0050dec0
mov eax, dword [esp + 0x38]
lea ecx, [eax + 0x20]
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
cmp ebx, edx
jl 0x536f5a
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.005101b0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x8b82
call fcn.0050f970
mov eax, dword [esp + 0xc]
test eax, eax
je 0x537053
lea eax, [0x6c3300]
mov dword [esp], eax
call fcn.0040be50
mov edi, dword [esp + 4]
mov eax, dword [0x1eaa9f0]
test eax, eax
jne 0x537015
mov eax, dword [esp + 0x70]
mov dword [edi], eax
jmp 0x53701e
mov eax, dword [esp + 0x70]
call fcn.00465d80
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x2c]
mov dword [edi + 4], ecx
lea edx, [eax + 8]
mov ebx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00534da0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x58]
mov dword [esp + 0x28], edx
xor ebx, ebx
jmp 0x537142
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.0050fa20
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x70]
mov edx, dword [edx]
mov dword [esp], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call fcn.0050eda0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004a6030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409830
mov eax, dword [esp + 8]
lea ecx, [0x69bcc0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x6fc3e4]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x6c
ret
mov ebp, dword [esp + 0x38]
lea ecx, [ebp + 0xc]
mov ebp, dword [esp + 0x24]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
cmp ebx, edx
jge 0x53719e
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp]
mov dword [esp], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0050fe30
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x53712c
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
call fcn.005107f0
jmp 0x53712c
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x54]
mov ebx, dword [ecx + 0x58]
mov dword [esp + 0x28], ebx
xor ebp, ebp
jmp 0x5371ca
mov esi, dword [esp + 0x38]
lea edx, [esi + 0xc]
mov esi, dword [esp + 0x24]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
cmp ebp, ebx
jge 0x537226
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], edx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 8]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp]
mov dword [esp], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0050fe30
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x5371b0
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
call fcn.005107f0
jmp 0x5371b0
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 8]
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx]
mov esi, dword [eax + 0x44]
mov edi, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.005375a0
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x18]
mov edx, dword [esp + 0x70]
mov edx, dword [edx]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebx + 0x44]
mov esi, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
call fcn.005375a0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x6c
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
lea eax, [0x6a7420]
mov dword [esp + 8], eax
call fcn.004094a0
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6a75a0]
mov dword [esp + 8], eax
call fcn.004094a0
nop
call fcn.004649b0
jmp fcn.00536e50