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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x490004]
xor eax, esp
mov dword [esp + 0x84], eax
or dword [esp + 0x80], 0xffffffff
mov edx, ecx
push ebx
push ebp
xor eax, eax
mov dword [esp + 0xc], edx
inc eax
xor ebx, ebx
push esi
mov esi, dword [edx + 0xc]
mov dword [esp + 0x30], eax
push edi
mov edi, dword [edx]
movzx eax, byte [esi + 0x10]
imul ecx, eax, 0x48
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 4]
add eax, 8
mov dword [esp + 0x3c], esi
add eax, ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
mov edi, dword [eax + 0x44]
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x38], ebp
test edi, edi
jne 0x454522
test byte [ebp + 0x24], 0x20
je 0x4544a6
mov edi, dword [ebp + 8]
jmp 0x454522
push 0x48
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00462ad0
xor eax, eax
mov byte [esp + 0x82], 5
inc eax
mov dword [esp + 0x58], ebp
mov word [esp + 0x7e], ax
add esp, 0xc
mov word [esp + 0x74], ax
lea eax, [esp + 0x90]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x48], eax
mov ax, word [ebp + 0x2e]
or dword [esp + 0x78], 3
mov word [esp + 0x70], ax
mov ax, word [ebp + 0x2c]
mov word [esp + 0x8c], ax
xor eax, eax
mov word [esp + 0x8e], ax
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 1
jne 0x45451e
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
lea edi, [esp + 0x40]
movzx eax, word [ebp + 0x2c]
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.00452955
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x18], eax
cmp dword [ecx + 0x10], ebx
jne 0x454683
mov eax, dword [esp + 0x2c]
test byte [eax + 0x2c], 0x20
jne 0x454683
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x8000
or eax, 0
mov eax, dword [esp + 0x10]
je 0x454687
cmp dword [eax + 0x44], ebx
jne 0x454687
test byte [eax + 0x28], 1
jne 0x454687
test byte [ebp + 0x24], 0x20
jne 0x454687
test byte [eax + 0x28], 0x28
jne 0x454687
mov edx, dword [esp + 0x30]
imul eax, dword [edx + 0xc], 0x30
mov ebp, dword [edx + 0x14]
add eax, ebp
mov dword [esp + 0x20], eax
cmp ebp, eax
jae 0x45467b
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
and ecx, dword [ebp + 0x20]
and eax, dword [ebp + 0x24]
or ecx, eax
jne 0x454667
mov edx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, ebp
call fcn.004529e8
pop ecx
pop ecx
test eax, eax
je 0x454667
mov ebx, dword [esp + 0x18]
xor eax, eax
and dword [esi + 0x20], eax
xor ecx, ecx
mov word [esi + 0x2a], ax
inc ecx
mov eax, dword [esi + 0x30]
mov word [esi + 0x18], cx
mov word [esi + 0x28], cx
mov ecx, dword [esp + 0x1c]
mov dword [eax], ebp
add ecx, ebx
mov eax, dword [esp + 0x38]
mov word [esi + 0x12], cx
cmp dword [eax + 0xc], 0
jne 0x454611
test byte [eax + 0x24], 2
lea eax, [ecx + 0x1c]
je 0x454614
lea eax, [ecx - 0xa]
movzx eax, ax
mov word [esi + 0x12], ax
test ax, ax
jns 0x454626
xor eax, eax
mov word [esi + 0x12], ax
push 0x2b
pop eax
mov edx, eax
mov word [esi + 0x16], ax
mov ecx, ebx
call fcn.00407f28
mov ecx, dword [esp + 0xa0]
mov edx, esi
mov word [esi + 0x14], ax
mov dword [esi + 0x24], 0x4000
or ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
or eax, dword [esp + 0xa4]
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
call fcn.00453817
mov ebx, eax
mov eax, dword [esp + 0x20]
add ebp, 0x30
test ebx, ebx
je 0x4545a4
jmp 0x454903
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test edi, edi
je 0x454903
cmp dword [edi + 0x24], 0
je 0x4546b1
push dword [edi + 0x24]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax + 0x2c]
call fcn.00454391
pop ecx
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4548e6
test dword [edi + 0x38], 0x100
jne 0x4548e6
mov eax, dword [edi + 8]
mov edx, edi
movzx ebx, word [eax]
xor eax, eax
mov dword [esi + 0x18], eax
mov word [esi + 0x1c], ax
mov dword [esi + 0x28], eax
mov byte [esi + 0x11], al
mov word [esi + 0x12], ax
mov eax, dword [esp + 0xa0]
mov dword [esi], eax
mov eax, dword [esp + 0xa4]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov word [esi + 0x16], bx
mov dword [esi + 0x20], edi
mov dword [esp + 0x18], ebx
push dword [eax + 0x2c]
call fcn.004542a9
pop ecx
mov ecx, dword [edi + 0x38]
mov edx, eax
and ecx, 3
mov dword [esp + 0x20], edx
cmp cl, 3
jne 0x45473c
mov eax, dword [esp + 0x34]
xor edx, edx
cmp dword [esp + 0x20], edx
movzx ecx, al
lea eax, [ebx + 0x10]
cmovne edx, ecx
mov dword [esi + 0x24], 0x100
mov byte [esi + 0x11], dl
mov word [esi + 0x14], ax
push ebx
jmp 0x454896
test byte [edi + 0x38], 0x20
je 0x45475e
xorps xmm0, xmm0
mov eax, 0x240
movlpd qword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
jmp 0x454780
mov eax, dword [esp + 0x10]
mov ebx, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
and ebx, dword [eax + 0x38]
and ecx, dword [eax + 0x3c]
mov eax, ebx
or eax, ecx
mov dword [esp + 0x1c], ecx
mov eax, 0x240
je 0x454780
add eax, 0xffffffc0
mov dword [esi + 0x24], eax
test edx, edx
jne 0x4547dc
test byte [ebp + 0x24], 0x20
jne 0x4547dc
cmp dword [edi + 0x24], edx
jne 0x4547dc
mov eax, ebx
or eax, ecx
jne 0x4548bb
test byte [edi + 0x38], 4
jne 0x4548bb
mov ax, word [edi + 0x30]
cmp ax, word [ebp + 0x2e]
jge 0x4548bb
mov eax, dword [esp + 0x2c]
test byte [eax + 0x2c], 4
jne 0x4548bb
cmp byte [0x490967], dl
je 0x4548bb
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x20
jne 0x4548bb
mov eax, dword [esp + 0x34]
xor ecx, ecx
movzx eax, al
test edx, edx
cmovne ecx, eax
mov byte [esi + 0x11], cl
movsx eax, word [edi + 0x30]
movsx ecx, word [ebp + 0x2e]
imul eax, eax, 0xf
cdq
idiv ecx
mov ecx, dword [esp + 0x18]
inc eax
add eax, ecx
or ebx, dword [esp + 0x1c]
mov word [esi + 0x14], ax
je 0x454895
and dword [esp + 0x20], 0
lea eax, [ecx + 0x10]
movzx ebx, ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
cmp dword [eax + 0x5c], 0
jle 0x454882
mov esi, dword [esp + 0x20]
xor ebp, ebp
mov eax, dword [eax + 0x64]
mov edx, ecx
add eax, ebp
push edi
mov dword [esp + 0x24], eax
mov ecx, dword [eax]
call fcn.0042fcf5
pop ecx
test eax, eax
je 0x45487a
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 8]
test cx, cx
jg 0x45485f
add ebx, ecx
jmp 0x454869
dec ebx
test byte [eax + 0xc], 0x82
je 0x454869
sub ebx, 0x13
mov eax, dword [esp + 0x2c]
inc esi
mov ecx, dword [esp + 0x1c]
add ebp, 0x30
cmp esi, dword [eax + 0x5c]
jl 0x454836
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov cx, word [esi + 0x14]
mov edx, ebx
call fcn.00407f28
mov ecx, dword [esp + 0x18]
mov word [esi + 0x14], ax
push ecx
mov ecx, dword [esp + 0x34]
mov edx, esi
call fcn.0045394e
pop ecx
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.00453817
mov ebx, eax
mov eax, dword [esp + 0x18]
mov word [esi + 0x16], ax
test ebx, ebx
jne 0x454903
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x10]
push 0
push edi
and dword [eax + 0x14], 0
call fcn.00453bee
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov ebx, eax
cmp dword [ecx + 0x14], 1
jne 0x4548e6
or dword [ebp + 0x24], 0x100
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x44], 0
je 0x4548f4
xor edi, edi
jmp 0x4548f7
mov edi, dword [edi + 0x14]
inc dword [esp + 0x34]
test ebx, ebx
je 0x454687
mov ecx, dword [esp + 0x94]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004614f6
add esp, 0x8c
ret