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

Disassembly:
mov ecx, dword [0x52fb9c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4533e8
sub esp, 0xa0
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.004703b5
mov ecx, dword [esp + 0xa4]
jmp 0x452d57
xor eax, eax
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
cmp edx, 2
jge 0x4531d8
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x453178
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x452d83
mov dword [ecx + 0xc], 0
mov edi, edx
jmp 0x452dbb
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 [0x52fc68]
add edx, ebp
test ebx, ebx
je 0x452db9
mov ebx, edi
call fcn.004702d0
mov dword [edi], edx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov edi, ebx
mov dword [ecx], edx
mov dword [esp + 0x2c], edi
mov dword [esp], edi
call fcn.0046cb60
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.00453c00
movzx eax, byte [esp + 8]
test al, al
jne 0x452eec
mov eax, dword [0x50fe80]
test eax, eax
jne 0x452e06
mov ecx, dword [esp + 0xa4]
jmp 0x452d55
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00453400
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 8]
lea ebp, [ecx + ebx]
mov esi, dword [eax + 0x10]
mov edi, dword [esp + 4]
cmp edx, ebp
jae 0x452e73
mov dword [esp + 0x70], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea eax, [0x49c760]
mov dword [esp + 0x10], eax
call fcn.0046bf40
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], esi
lea eax, [0x49c760]
mov dword [esp], eax
sub ebp, ecx
sub edx, ecx
neg edx
sar edx, 0x1f
imul ecx, ecx, 0x2c
and edx, ecx
lea ecx, [esi + edx]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0046a210
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x18], eax
mov eax, dword [0x52fc68]
test eax, eax
jne 0x452ed3
mov eax, dword [esp + 0x70]
jmp 0x452ee4
call fcn.004702d0
mov eax, dword [esp + 0x70]
mov dword [edi], eax
mov edx, dword [ecx + 0x10]
mov dword [edi + 4], edx
mov dword [ecx + 0x10], eax
jmp 0x452d55
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00453c30
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov dword [esp], eax
call fcn.00453b50
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jbe 0x452f25
lea edi, [ecx - 1]
jmp 0x452f27
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
call fcn.0046cff0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebp
lea ecx, [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0046d0c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
movzx edx, byte [esp + 0x18]
mov byte [esp + 0x23], dl
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
lea ebp, [esp + 0x58]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 8], esi
call fcn.00454a10
movzx eax, byte [esp + 0xc]
test al, al
jne 0x452fcb
mov eax, dword [esp + 0x64]
jmp 0x45300f
lea eax, [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00454980
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x45335e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0xc], eax
jmp 0x45300d
mov eax, dword [esp + 0xa4]
mov ecx, eax
xor eax, eax
mov dword [esp + 0x64], 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 + 0x23]
mov byte [esp + 0xc], dl
call fcn.0046cc40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0045a090
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.004703b5
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x64]
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 + 0x18]
mov ebx, dword [ecx + 0x14]
inc ebx
mov ebp, dword [ecx + 0x10]
cmp edx, ebx
jae 0x453124
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x49c760]
mov dword [esp + 0x10], eax
call fcn.0046bf40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 0x18], eax
mov eax, dword [0x52fc68]
test eax, eax
je 0x453114
call fcn.004702d0
mov dword [edi], ecx
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x10], ecx
xor eax, eax
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x14], ebx
mov edx, dword [0x52fc68]
imul ebx, ebx, 0x2c
lea edi, [ebx + ebp - 0x2c]
test edx, edx
je 0x453163
mov dword [esp + 0x70], edi
lea eax, [0x49c760]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
call fcn.0040ffa0
xor eax, eax
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x74]
call fcn.00470862
mov ecx, dword [esp + 0xa4]
jmp 0x452d55
test edx, edx
je 0x4531c9
cmp edx, 1
jne 0x4531c4
lea edi, [esp + 0xa8]
call fcn.00470862
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 2
mov ecx, dword [0x52fc68]
lea edx, [eax + 0x1c]
test ecx, ecx
je 0x4531bc
call fcn.004702d0
mov dword [edi], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 4], ecx
mov dword [eax + 0x10], edx
jmp 0x4532ae
cmp edx, 2
jmp 0x4531d8
mov byte [esp + 0xd4], 0
add esp, 0xa0
ret
jne 0x45326a
lea edi, [esp + 0xa8]
call fcn.00470862
mov eax, dword [0x52fc68]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x10]
lea edi, [ecx + 0x1c]
lea esi, [edx + 0x2c]
lea edx, [ecx + 0x1c]
test eax, eax
je 0x45324b
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edx
mov eax, edi
call fcn.004702d0
mov dword [edi], edx
mov ebx, dword [ecx + 0x10]
mov dword [edi + 4], ebx
lea ebx, [0x49c760]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0040ffa0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
call fcn.00470862
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 2
mov dword [eax + 0x10], edx
jmp 0x4532ae
lea edi, [esp + 0xa8]
call fcn.00470862
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x18]
dec ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 0x2c
add ecx, dword [eax + 0x10]
dec dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov edx, dword [0x52fc68]
test edx, edx
je 0x4532ab
call fcn.004702d0
mov dword [edi], ecx
mov edx, dword [eax + 0x10]
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x4c], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00453c00
movzx eax, byte [esp + 8]
test al, al
je 0x453323
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.0046cca0
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
lea eax, [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00454980
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00454950
movzx eax, byte [esp + 8]
test al, al
je 0x453004
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x45300b
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
cmp dword [ecx], ebx
je 0x45300b
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.0046d0c0
cmp byte [esp + 0x18], 0x16
je 0x4533c9
xor eax, eax
jmp 0x4533db
movzx eax, byte [esp + 0x23]
mov byte [esp], al
call fcn.0045bb20
movzx eax, byte [esp + 4]
test al, al
jne 0x45333a
jmp 0x452ff4
call fcn.0046eed0
jmp fcn.00452d20