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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4571db
sub esp, 0xa0
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.00475a05
mov ecx, dword [esp + 0xa4]
jmp 0x456b17
xor eax, eax
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
cmp edx, 2
jge 0x456f98
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x456f38
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x456b43
mov dword [ecx + 0xc], 0
mov edi, edx
jmp 0x456b7b
mov edx, dword [ecx + 8]
mov ebp, dword [ecx]
dec edx
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 4
dec ebx
mov edi, dword [ebp]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
mov ebx, dword [0x5efdd0]
add edx, ebp
test ebx, ebx
je 0x456b79
mov ebx, edi
call fcn.004757c0
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.00471ff0
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.00457a10
movzx eax, byte [esp + 8]
test al, al
jne 0x456cac
mov ecx, dword [0x5cf5cc]
test ecx, ecx
jne 0x456bc6
mov ecx, dword [esp + 0xa4]
jmp 0x456b15
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004571f0
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 0x456c33
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], edi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea eax, [0x51f0a0]
mov dword [esp + 0x10], eax
call fcn.00471230
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x70], esi
lea eax, [0x51f0a0]
mov dword [esp], eax
sub ebp, ecx
sub edx, ecx
neg edx
sar edx, 0x1f
imul ecx, ecx, 0x2c
and edx, ecx
lea ecx, [edx + esi]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.0046f160
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x18], eax
mov eax, dword [0x5efdd0]
test eax, eax
jne 0x456c93
mov edx, dword [esp + 0x70]
jmp 0x456ca4
call fcn.004757c0
mov edx, dword [esp + 0x70]
mov dword [edi], edx
mov ebx, dword [ecx + 0x10]
mov dword [edi + 4], ebx
mov dword [ecx + 0x10], edx
jmp 0x456b15
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00457a40
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov dword [esp], eax
call fcn.00457960
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jbe 0x456ce5
lea edi, [ecx - 1]
jmp 0x456ce7
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.004724f0
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.004725c0
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.004588f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x456d8b
mov eax, dword [esp + 0x64]
jmp 0x456dcf
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.00458850
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x457151
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0xc], eax
jmp 0x456dcd
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.00472110
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0045e450
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.00475a05
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 0x456ee4
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x51f0a0]
mov dword [esp + 0x10], eax
call fcn.00471230
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 [0x5efdd0]
test eax, eax
je 0x456ed4
call fcn.004757c0
mov dword [edi], ecx
mov ebp, dword [ebx + 0x10]
mov dword [edi + 4], ebp
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 [0x5efdd0]
imul ebx, ebx, 0x2c
lea edi, [ebx + ebp - 0x2c]
test edx, edx
je 0x456f23
mov dword [esp + 0x70], edi
lea eax, [0x51f0a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
call fcn.00411440
xor eax, eax
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x74]
call fcn.00475eb2
mov ecx, dword [esp + 0xa4]
jmp 0x456b15
test edx, edx
je 0x456f89
cmp edx, 1
jne 0x456f84
lea edi, [esp + 0xa8]
call fcn.00475eb2
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 2
mov ecx, dword [0x5efdd0]
lea edx, [eax + 0x1c]
test ecx, ecx
je 0x456f7c
call fcn.004757c0
mov dword [edi], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 4], ecx
mov dword [eax + 0x10], edx
jmp 0x457089
cmp edx, 2
jmp 0x456f98
mov byte [esp + 0xd4], 0
add esp, 0xa0
ret
jne 0x457036
lea edi, [esp + 0xa8]
call fcn.00475eb2
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x14]
cmp edx, 1
jbe 0x457121
mov eax, dword [0x5efdd0]
mov edx, dword [ecx + 0x10]
lea edi, [ecx + 0x1c]
lea esi, [edx + 0x2c]
lea edx, [ecx + 0x1c]
test eax, eax
je 0x457017
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edx
mov eax, edi
call fcn.004757c0
mov dword [edi], edx
mov ebx, dword [ecx + 0x10]
mov dword [edi + 4], ebx
lea ebx, [0x51f0a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00411440
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
call fcn.00475eb2
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 2
mov dword [eax + 0x10], edx
jmp 0x457089
lea edi, [esp + 0xa8]
call fcn.00475eb2
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x14]
cmp edx, 1
jb 0x457115
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x18]
dec ebx
dec edx
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], ebx
mov edx, dword [0x5efdd0]
neg ebx
sar ebx, 0x1f
and ebx, 0x2c
add eax, ebx
test edx, edx
je 0x457084
call fcn.004757c0
mov dword [edi], eax
mov edx, dword [ecx + 0x10]
mov dword [edi + 4], edx
mov dword [ecx + 0x10], eax
mov eax, 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.00457a10
movzx eax, byte [esp + 8]
test al, al
je 0x4570fe
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.00472170
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
mov eax, 1
xor ecx, ecx
call fcn.00475890
mov eax, 1
mov ecx, edx
call fcn.00475830
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.00458850
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.00458820
movzx eax, byte [esp + 8]
test al, al
je 0x456dc4
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x456dcb
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
cmp dword [ecx], ebx
je 0x456dcb
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.004725c0
cmp byte [esp + 0x18], 0x16
je 0x4571bc
xor eax, eax
jmp 0x4571ce
movzx eax, byte [esp + 0x23]
mov byte [esp], al
call fcn.0045ff40
movzx eax, byte [esp + 4]
test al, al
jne 0x45712d
jmp 0x456db4
call fcn.004743b0
jmp fcn.00456ae0