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

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x453caa
sub esp, 0xa0
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.004671e5
mov ecx, dword [esp + 0xa4]
jmp 0x453707
xor eax, eax
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
cmp edx, 2
jge 0x453b48
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x453ae8
mov edx, dword [ecx + 8]
mov ebp, dword [ecx]
dec edx
dec ebx
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 4
mov edi, dword [ebp]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
mov ebx, dword [0x53adf0]
add edx, ebp
test ebx, ebx
je 0x453757
mov ebx, edi
call fcn.00467120
mov dword [edi], edx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov edi, ebx
mov dword [esp + 0x2c], edi
mov dword [ecx], edx
mov dword [esp], edi
call fcn.00454d40
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00454c80
movzx eax, byte [esp + 8]
test al, al
jne 0x45388e
mov eax, dword [0x514af8]
test eax, eax
jne 0x4537a4
mov ecx, dword [esp + 0xa4]
jmp 0x453705
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00453cc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + eax]
mov ebp, dword [ecx + 0x14]
mov esi, dword [esp + 4]
mov edi, dword [ecx + 0xc]
cmp ebp, ebx
jae 0x453811
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], esi
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x4a6480]
mov dword [esp + 0x10], ecx
call fcn.0044eb40
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], edi
lea ecx, [0x4a6480]
mov dword [esp], ecx
sub ebx, edx
sub ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
imul edx, edx, 0x2c
and ebp, edx
lea edx, [edi + ebp]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
call fcn.00412af0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x14], eax
mov eax, dword [0x53adf0]
test eax, eax
jne 0x453875
mov eax, dword [esp + 0x60]
jmp 0x453886
call fcn.00467120
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov edx, dword [ecx + 0xc]
mov dword [edi + 4], edx
mov dword [ecx + 0xc], eax
jmp 0x453705
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00454cb0
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov dword [esp], eax
call fcn.00454bd0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x4538c7
lea edi, [ecx - 1]
jmp 0x4538c9
mov edi, ecx
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0
call fcn.00455db0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
lea eax, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00455fe0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
movzx ebx, byte [esp + 0x18]
mov byte [esp + 0x2b], bl
lea ebp, [esp + 0x64]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
call fcn.00455fb0
movzx eax, byte [esp + 0xc]
test al, al
je 0x45397b
xor eax, eax
jmp 0x45397f
mov eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
movzx edx, byte [esp + 0x2b]
mov byte [esp + 0xc], dl
call fcn.00454ea0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0045c330
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x74]
mov edx, eax
xor eax, eax
call fcn.004671e5
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
inc ebx
mov ebp, dword [ecx + 0xc]
cmp edx, ebx
jae 0x453a94
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4a6480]
mov dword [esp + 0x10], eax
call fcn.0044eb40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 0x14], eax
mov eax, dword [0x53adf0]
test eax, eax
je 0x453a84
call fcn.00467120
mov dword [edi], ecx
mov eax, dword [ebx + 0xc]
mov dword [edi + 4], eax
mov dword [ebx + 0xc], ecx
xor eax, eax
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x10], ebx
mov edx, dword [0x53adf0]
imul ebx, ebx, 0x2c
lea edi, [ebx + ebp - 0x2c]
test edx, edx
je 0x453ad3
mov dword [esp + 0x60], edi
lea eax, [0x4a6480]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
call fcn.004129e0
xor eax, eax
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x60]
lea esi, [esp + 0x74]
call fcn.00467692
mov ecx, dword [esp + 0xa4]
jmp 0x453705
test edx, edx
je 0x453b39
cmp edx, 1
jne 0x453b34
lea edi, [esp + 0xa8]
call fcn.00467692
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 2
mov ecx, dword [0x53adf0]
lea edx, [eax + 0x18]
test ecx, ecx
je 0x453b2c
call fcn.00467120
mov dword [edi], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 4], ecx
mov dword [eax + 0xc], edx
jmp 0x453c1e
cmp edx, 2
jmp 0x453b48
mov byte [esp + 0xd4], 0
add esp, 0xa0
ret
jne 0x453bda
lea edi, [esp + 0xa8]
call fcn.00467692
mov eax, dword [0x53adf0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0xc]
lea edi, [ecx + 0x18]
lea esi, [edx + 0x2c]
test eax, eax
je 0x453ba1
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], edi
lea eax, [0x4a6480]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.004129e0
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
call fcn.00467692
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 2
mov ecx, dword [0x53adf0]
lea edx, [eax + 0x18]
test ecx, ecx
je 0x453bd5
call fcn.00467120
mov dword [edi], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 4], ecx
mov dword [eax + 0xc], edx
jmp 0x453c1e
lea edi, [esp + 0xa8]
call fcn.00467692
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x14]
dec ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 0x2c
add ecx, dword [eax + 0xc]
dec dword [eax + 0x10]
mov dword [eax + 0x14], edx
mov edx, dword [0x53adf0]
test edx, edx
je 0x453c1b
call fcn.00467120
mov dword [edi], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 4], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00454c80
movzx eax, byte [esp + 8]
test al, al
je 0x453c93
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.00455640
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x4c]
test eax, eax
setne al
mov byte [esp + 0xd4], al
add esp, 0xa0
ret
call fcn.00465d00
jmp fcn.004536d0