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

Disassembly:
sub esp, 0x84
or dword [esp + 0x24], 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 + 0x20], eax
push edi
mov edi, dword [edx]
movzx eax, byte [esi + 0x10]
imul ecx, eax, 0x48
mov dword [esp + 0x18], edi
mov eax, dword [edi + 4]
add eax, 8
mov dword [esp + 0x44], esi
add eax, ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [eax + 0x44]
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x28], ebp
test edi, edi
jne 0x452513
test byte [ebp + 0x24], 0x20
je 0x45249d
mov edi, dword [ebp + 8]
jmp 0x452513
push 0x48
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00460f00
xor eax, eax
mov byte [esp + 0x8a], 5
inc eax
mov dword [esp + 0x60], ebp
mov word [esp + 0x86], ax
add esp, 0xc
mov word [esp + 0x7c], ax
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x50], eax
mov ax, word [ebp + 0x2e]
or dword [esp + 0x80], 3
mov word [esp + 0x78], ax
mov ax, word [ebp + 0x2c]
mov word [esp + 0x2c], ax
xor eax, eax
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 1
jne 0x45250f
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], eax
lea edi, [esp + 0x48]
movzx eax, word [ebp + 0x2c]
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.00450991
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x20], eax
cmp dword [ecx + 0x10], ebx
jne 0x452674
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 0x20
jne 0x452674
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 0x452678
cmp dword [eax + 0x44], ebx
jne 0x452678
test byte [eax + 0x28], 1
jne 0x452678
test byte [ebp + 0x24], 0x20
jne 0x452678
test byte [eax + 0x28], 0x28
jne 0x452678
mov edx, dword [esp + 0x1c]
imul eax, dword [edx + 0xc], 0x30
mov ebp, dword [edx + 0x14]
add eax, ebp
mov dword [esp + 0x38], eax
cmp ebp, eax
jae 0x45266c
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
and ecx, dword [ebp + 0x20]
and eax, dword [ebp + 0x24]
or ecx, eax
jne 0x452658
mov edx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, ebp
call fcn.00450a24
pop ecx
pop ecx
test eax, eax
je 0x452658
mov ebx, dword [esp + 0x20]
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 + 0x30]
mov dword [eax], ebp
add ecx, ebx
mov eax, dword [esp + 0x28]
mov word [esi + 0x12], cx
cmp dword [eax + 0xc], 0
jne 0x452602
test byte [eax + 0x24], 2
lea eax, [ecx + 0x1c]
je 0x452605
lea eax, [ecx - 0xa]
movzx eax, ax
mov word [esi + 0x12], ax
test ax, ax
jns 0x452617
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.00407f48
mov ecx, dword [esp + 0x98]
mov edx, esi
mov word [esi + 0x14], ax
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x24], 0x4000
or ecx, dword [ebp + 0x20]
or eax, dword [ebp + 0x24]
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
call fcn.0045184a
mov ebx, eax
mov eax, dword [esp + 0x38]
add ebp, 0x30
test ebx, ebx
je 0x452595
jmp 0x4528f4
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test edi, edi
je 0x4528f4
cmp dword [edi + 0x24], 0
je 0x4526a2
push dword [edi + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
call fcn.00452399
pop ecx
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4528d7
test dword [edi + 0x38], 0x100
jne 0x4528d7
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 + 0x98]
mov dword [esi], eax
mov eax, dword [esp + 0x9c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov word [esi + 0x16], bx
mov dword [esi + 0x20], edi
mov dword [esp + 0x20], ebx
push dword [eax + 0x2c]
call fcn.004522b1
pop ecx
mov ecx, dword [edi + 0x38]
mov edx, eax
and ecx, 3
mov dword [esp + 0x38], edx
cmp cl, 3
jne 0x45272d
mov eax, dword [esp + 0x24]
xor edx, edx
cmp dword [esp + 0x38], 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 0x452887
test byte [edi + 0x38], 0x20
je 0x45274f
xorps xmm0, xmm0
mov eax, 0x240
movlpd qword [esp + 0x38], xmm0
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
jmp 0x452771
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 + 0x30], ecx
mov eax, 0x240
je 0x452771
add eax, 0xffffffc0
mov dword [esi + 0x24], eax
test edx, edx
jne 0x4527cd
test byte [ebp + 0x24], 0x20
jne 0x4527cd
cmp dword [edi + 0x24], edx
jne 0x4527cd
mov eax, ebx
or eax, ecx
jne 0x4528ac
test byte [edi + 0x38], 4
jne 0x4528ac
mov ax, word [edi + 0x30]
cmp ax, word [ebp + 0x2e]
jge 0x4528ac
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 4
jne 0x4528ac
cmp byte [0x493967], dl
je 0x4528ac
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x20
jne 0x4528ac
mov eax, dword [esp + 0x24]
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 + 0x20]
inc eax
add eax, ecx
or ebx, dword [esp + 0x30]
mov word [esi + 0x14], ax
je 0x452886
and dword [esp + 0x38], 0
lea eax, [ecx + 0x10]
movzx ebx, ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x5c], 0
jle 0x452873
mov esi, dword [esp + 0x38]
xor ebp, ebp
mov eax, dword [eax + 0x64]
mov edx, ecx
add eax, ebp
push edi
mov dword [esp + 0x3c], eax
mov ecx, dword [eax]
call fcn.0042e6c6
pop ecx
test eax, eax
je 0x45286b
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 8]
test cx, cx
jg 0x452850
add ebx, ecx
jmp 0x45285a
dec ebx
test byte [eax + 0xc], 0x82
je 0x45285a
sub ebx, 0x13
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [esp + 0x30]
add ebp, 0x30
cmp esi, dword [eax + 0x5c]
jl 0x452827
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
mov cx, word [esi + 0x14]
mov edx, ebx
call fcn.00407f48
mov ecx, dword [esp + 0x20]
mov word [esi + 0x14], ax
push ecx
mov ecx, dword [esp + 0x20]
mov edx, esi
call fcn.00451981
pop ecx
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.0045184a
mov ebx, eax
mov eax, dword [esp + 0x20]
mov word [esi + 0x16], ax
test ebx, ebx
jne 0x4528f4
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x10]
push 0
push edi
and dword [eax + 0x14], 0
call fcn.00451c07
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov ebx, eax
cmp dword [ecx + 0x14], 1
jne 0x4528d7
or dword [ebp + 0x24], 0x100
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x44], 0
je 0x4528e5
xor edi, edi
jmp 0x4528e8
mov edi, dword [edi + 0x14]
inc dword [esp + 0x24]
test ebx, ebx
je 0x452678
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x84
ret