Function at 0x4545d0
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], 0x580af4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], esp
mov dword [esp + 0x78], 0x454bd5
lea eax, [esp + 0x54]
push eax
call fcn.004863b0
add esp, 4
and edi, 0x4a
je 0x454639
cmp edi, 0x40
je 0x454643
cmp edi, 8
jne 0x45464d
mov dword [esp + 0x24], 0x10
jmp 0x454655
mov dword [esp + 0x24], 0
jmp 0x454655
mov dword [esp + 0x24], 8
jmp 0x454655
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 0x4546e4
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 0x454772
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 0x4547b7
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x4547b5
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 0x454800
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x4547f1
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 0x454800
cmp dword [esp + 4], 0
je 0x45480d
jmp 0x45499d
xor esi, esi
cmp dword [esp + 4], 0
je 0x45499d
mov dword [esp + 0x14], esi
movzx edx, byte [esp + 0x18]
test dl, 1
je 0x454830
mov edx, dword [esp + 0x1c]
jmp 0x454832
shr edx, 1
mov ecx, dword [esp + 8]
lea eax, [ecx + edx]
cmp dword [esp + 0x48], eax
jne 0x45489e
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 0x454894
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 0x4548c0
movzx eax, byte [eax]
jmp 0x4548e7
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 0x45499d
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 4]
cmp eax, dword [ecx + 0x10]
jne 0x454760
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 0x454772
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 0x4549bc
mov eax, dword [esp + 0x3c]
jmp 0x4549be
shr eax, 1
mov dword [esp + 0x10], esi
test eax, eax
je 0x4549ea
mov eax, dword [esp + 0x44]
mov ecx, eax
lea edx, [esp + 0xb0]
sub ecx, edx
cmp ecx, 0x9f
jg 0x4549ea
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.0047a430
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
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 0x454afd
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 0x454a86
cmp ecx, eax
jbe 0x454a86
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 0x454a60
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 0x454a9c
mov edx, dword [esp + 0x40]
mov ebx, esi
cmp dword [esp + 8], eax
ja 0x454aa6
jmp 0x454adc
lea edx, [esp + 0x39]
cmp dword [esp + 8], eax
jbe 0x454adc
mov edi, ebx
add edi, edx
jmp 0x454ac9
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 0x454adc
mov esi, eax
movzx ebx, byte [edx]
mov eax, ebx
add al, 0xff
cmp al, 0x7d
ja 0x454ab0
cmp dword [esi], ebx
je 0x454ab0
jmp 0x454af4
movzx edx, byte [edx]
mov eax, edx
add al, 0xff
cmp al, 0x7d
ja 0x454afd
mov eax, dword [esp + 8]
mov eax, dword [eax]
add eax, 0xffffffff
cmp eax, edx
jb 0x454afd
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
xor esi, esi
cmp dword [esp + 4], 0
je 0x454b3e
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 0x454b3e
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 0x454baf
test ecx, ecx
je 0x454bbf
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x454b66
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 0x454bc5
test esi, esi
je 0x454b70
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x18], 1
je 0x454b83
push dword [esp + 0x20]
call fcn.00422980
add esp, 4
test byte [esp + 0x38], 1
je 0x454b96
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 0x454b42
test esi, esi
jne 0x454b70
jmp 0x454b6a
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
test esi, esi
jne 0x454b70
jmp 0x454b6a