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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x53654a
sub esp, 0xb0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 0x1ed
call fcn.00475c80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
test edx, edx
jne 0x536536
mov dword [esp + 0x70], eax
mov dword [esp + 8], eax
mov dword [esp], 0xc
lea ecx, [0x609d04]
mov dword [esp + 4], ecx
call fcn.004245e0
test eax, eax
jne 0x536529
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005372e0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
test edx, edx
jne 0x53651c
test al, al
jne 0x5364d7
lea eax, [0x5cdaa0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], 0
call fcn.00434ff0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004af900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00535e00
lea eax, [0x5cdaa0]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.00434f20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x68], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004af900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00535e00
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
call fcn.00459420
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x88], ebx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00535e00
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
call fcn.0044e080
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
lea edx, [0x5cdaa0]
mov dword [esp], edx
mov dword [esp + 4], 0xfa000
mov dword [esp + 8], 0xfa000
call fcn.00434f20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], edx
xor ebx, ebx
xor ebp, ebp
jmp 0x53623c
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x58]
mov ebx, ecx
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x70]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00475150
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], edx
test ecx, ecx
je 0x5362a9
mov ebx, dword [0x78d748]
cmp ecx, ebx
jne 0x5364b4
mov dword [esp], ecx
mov dword [esp + 4], edx
mov eax, dword [0x78d74c]
mov dword [esp + 8], eax
call fcn.00402130
movzx eax, byte [esp + 0xc]
test al, al
je 0x5364b4
lea eax, [0x5cdaa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00434f20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
cmp ebx, ebp
ja 0x536543
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov esi, dword [esp + 0x4c]
add esi, ebx
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x7c]
mov esi, dword [esi + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov edi, dword [esp + 0x84]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp], ebp
call esi
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
call fcn.004755a0
mov eax, dword [esp + 0x34]
mov ecx, eax
sar eax, 0x1f
mov edx, dword [esp + 0x4c]
add edx, ecx
mov ecx, dword [esp + 0x50]
adc ecx, eax
mov eax, dword [0x78d748]
mov edx, dword [esp + 0x74]
cmp edx, eax
jne 0x536227
mov dword [esp + 0x5c], ecx
mov dword [esp], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [0x78d74c]
mov dword [esp + 8], eax
call fcn.00402130
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5363b2
mov ecx, dword [esp + 0x5c]
jmp 0x536227
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
call fcn.00535e40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x90]
mov ebx, eax
xor eax, eax
call fcn.004485c8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x94], eax
mov edi, esp
lea esi, [esp + 0x90]
call fcn.00448a90
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
call fcn.005374f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
test eax, eax
je 0x536491
nop
call fcn.00424e00
add esp, 0xb0
ret
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
nop
call fcn.00424e00
add esp, 0xb0
ret
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc4], eax
nop
call fcn.00424e00
add esp, 0xb0
ret
call fcn.0054e040
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00539c10
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
nop
call fcn.00424e00
add esp, 0xb0
ret
nop
call fcn.00424e00
add esp, 0xb0
ret
nop
call fcn.00424e00
add esp, 0xb0
ret
nop
call fcn.00424e00
add esp, 0xb0
ret
call fcn.004243c0
ud2
call fcn.00446b60
jmp fcn.00535f90