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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 8]
mov dword [esp + 0x28], eax
lea eax, [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov edi, dword [esi + 4]
mov dword [esp + 0x6c], 0x4853d0
mov dword [esp + 0x70], 0x580b80
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], esp
mov dword [esp + 0x78], 0x456f75
lea eax, [esp + 0x54]
push eax
call fcn.004863b0
add esp, 4
and edi, 0x4a
je 0x4569d9
cmp edi, 0x40
je 0x4569e3
cmp edi, 8
jne 0x4569ed
mov dword [esp + 0x24], 0x10
jmp 0x4569f5
mov dword [esp + 0x24], 0
jmp 0x4569f5
mov dword [esp + 0x24], 8
jmp 0x4569f5
mov dword [esp + 0x24], 0xa
mov byte [esp + 0xf], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x9a], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x58], 0xffffffff
lea eax, [esp + 0xf]
lea ecx, [esp + 0x90]
lea edx, [esp + 0x38]
push eax
push ecx
push esi
push edx
call fcn.0045e950
add esp, 0x10
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x58], 1
lea ecx, [esp + 0x18]
push 0
push 0xa
call fcn.00480060
test byte [esp + 0x18], 1
lea eax, [esp + 0x19]
je 0x456a84
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0x48], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x140], xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
lea eax, [esp + 0xb0]
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
mov esi, dword [edx]
jmp 0x456b12
add eax, 1
mov ecx, dword [esp + 4]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x14]
mov eax, 0
test ecx, ecx
je 0x456b57
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x456b55
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], 2
mov dword [esp + 0x10], esi
mov dword [esp + 0x4c], ecx
call eax
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
cmp eax, 0xffffffff
mov eax, 0
cmove ecx, eax
mov eax, ecx
mov dword [esp + 4], eax
test esi, esi
je 0x456ba0
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x456b91
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], 3
mov ecx, esi
mov dword [esp + 0x10], esi
call eax
mov esi, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x456ba0
cmp dword [esp + 4], 0
je 0x456bad
jmp 0x456d3d
xor esi, esi
cmp dword [esp + 4], 0
je 0x456d3d
mov dword [esp + 0x14], esi
movzx edx, byte [esp + 0x18]
test dl, 1
je 0x456bd0
mov edx, dword [esp + 0x1c]
jmp 0x456bd2
shr edx, 1
mov ecx, dword [esp + 8]
lea eax, [ecx + edx]
cmp dword [esp + 0x48], eax
jne 0x456c3e
mov dword [esp + 8], edx
lea eax, [edx + edx]
mov dword [esp + 0x58], 4
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.00480060
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
add eax, 0xffffffff
test byte [esp + 0x18], 1
mov ecx, 0xa
cmove eax, ecx
mov dword [esp + 0x58], 5
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.00480060
test byte [esp + 0x18], 1
lea ecx, [esp + 0x19]
je 0x456c34
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 8]
add eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 4]
cmp eax, dword [ecx + 0x10]
je 0x456c60
movzx eax, byte [eax]
jmp 0x456c87
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], 6
call eax
movsx ecx, byte [esp + 0xf]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], 7
movsx eax, al
lea edx, [esp + 0x90]
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0xb8]
push edx
lea edx, [esp + 0x44]
push edx
push ecx
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x60]
push ecx
push dword [esp + 0x24]
push dword [esp + 0x44]
push eax
call fcn.00458cf0
add esp, 0x28
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x456d3d
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 4]
cmp eax, dword [ecx + 0x10]
jne 0x456b00
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], 8
call eax
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
jmp 0x456b12
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 4]
mov dword [ecx], edx
mov dword [eax], esi
movzx eax, byte [esp + 0x38]
test al, 1
je 0x456d5c
mov eax, dword [esp + 0x3c]
jmp 0x456d5e
shr eax, 1
mov dword [esp + 0x10], esi
test eax, eax
je 0x456d8a
mov eax, dword [esp + 0x44]
mov ecx, eax
lea edx, [esp + 0xb0]
sub ecx, edx
cmp ecx, 0x9f
jg 0x456d8a
mov ecx, dword [esp + 0x50]
lea edx, [eax + 4]
mov dword [esp + 0x44], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], 9
push dword [esp + 0x24]
push dword [ebp + 0x14]
push eax
push dword [esp + 0x14]
call fcn.0047adc0
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], edx
movzx edx, byte [esp + 0x38]
mov edi, edx
shr edi, 1
and dl, 1
mov esi, dword [esp + 0x3c]
mov eax, esi
cmove eax, edi
test eax, eax
je 0x456e9d
mov ebx, edi
mov edi, dword [esp + 0x44]
lea ecx, [edi - 4]
lea eax, [esp + 0xb0]
cmp eax, edi
mov dword [esp + 8], ecx
je 0x456e26
cmp ecx, eax
jbe 0x456e26
lea ecx, [esp + 0xb4]
mov edx, dword [esp + 8]
nop word [eax + eax]
mov esi, dword [ecx - 4]
mov edi, dword [edx]
mov dword [ecx - 4], edi
mov dword [edx], esi
add edx, 0xfffffffc
lea esi, [ecx + 4]
cmp ecx, edx
mov ecx, esi
jb 0x456e00
movzx ebx, byte [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edx, ebx
and dl, 1
shr ebx, 1
test dl, dl
mov ecx, dword [esp + 0x10]
je 0x456e3c
mov edx, dword [esp + 0x40]
mov ebx, esi
cmp dword [esp + 8], eax
ja 0x456e46
jmp 0x456e7c
lea edx, [esp + 0x39]
cmp dword [esp + 8], eax
jbe 0x456e7c
mov edi, ebx
add edi, edx
jmp 0x456e69
mov eax, edi
sub eax, edx
xor ebx, ebx
cmp eax, 2
setge bl
add edx, ebx
mov eax, esi
add eax, 4
cmp eax, dword [esp + 8]
jae 0x456e7c
mov esi, eax
movzx ebx, byte [edx]
mov eax, ebx
add al, 0xff
cmp al, 0x7d
ja 0x456e50
cmp dword [esi], ebx
je 0x456e50
jmp 0x456e94
movzx edx, byte [edx]
mov eax, edx
add al, 0xff
cmp al, 0x7d
ja 0x456e9d
mov eax, dword [esp + 8]
mov eax, dword [eax]
add eax, 0xffffffff
cmp eax, edx
jb 0x456e9d
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
xor esi, esi
cmp dword [esp + 4], 0
je 0x456ede
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 4]
cmp eax, dword [edx + 0x10]
mov esi, dword [esp + 4]
jne 0x456ede
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], 0xa
call eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 4]
cmp eax, 0xffffffff
je 0x456f4f
test ecx, ecx
je 0x456f5f
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x456f06
mov dword [esp + 8], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x58], 0xb
call eax
cmp eax, 0xffffffff
mov esi, dword [esp + 8]
je 0x456f65
test esi, esi
je 0x456f10
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x18], 1
je 0x456f23
push dword [esp + 0x20]
call fcn.00422980
add esp, 4
test byte [esp + 0x38], 1
je 0x456f36
push dword [esp + 0x40]
call fcn.00422980
add esp, 4
lea eax, [esp + 0x54]
push eax
call fcn.00486410
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [esp + 0x28]
mov dword [eax], 0
xor esi, esi
test ecx, ecx
jne 0x456ee2
test esi, esi
jne 0x456f10
jmp 0x456f0a
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
test esi, esi
jne 0x456f10
jmp 0x456f0a