Function at 0x452742
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 0x45281a
test byte [ebp + 0x24], 0x20
je 0x4527a4
mov edi, dword [ebp + 8]
jmp 0x45281a
push 0x48
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00461a70
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 0x452816
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.00450c98
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x20], eax
cmp dword [ecx + 0x10], ebx
jne 0x45297b
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 0x20
jne 0x45297b
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 0x45297f
cmp dword [eax + 0x44], ebx
jne 0x45297f
test byte [eax + 0x28], 1
jne 0x45297f
test byte [ebp + 0x24], 0x20
jne 0x45297f
test byte [eax + 0x28], 0x28
jne 0x45297f
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 0x452973
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
and ecx, dword [ebp + 0x20]
and eax, dword [ebp + 0x24]
or ecx, eax
jne 0x45295f
mov edx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, ebp
call fcn.00450d2b
pop ecx
pop ecx
test eax, eax
je 0x45295f
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 0x452909
test byte [eax + 0x24], 2
lea eax, [ecx + 0x1c]
je 0x45290c
lea eax, [ecx - 0xa]
movzx eax, ax
mov word [esi + 0x12], ax
test ax, ax
jns 0x45291e
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.00408253
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.00451b51
mov ebx, eax
mov eax, dword [esp + 0x38]
add ebp, 0x30
test ebx, ebx
je 0x45289c
jmp 0x452bfb
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test edi, edi
je 0x452bfb
cmp dword [edi + 0x24], 0
je 0x4529a9
push dword [edi + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
call fcn.004526a0
pop ecx
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x452bde
test dword [edi + 0x38], 0x100
jne 0x452bde
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.004525b8
pop ecx
mov ecx, dword [edi + 0x38]
mov edx, eax
and ecx, 3
mov dword [esp + 0x38], edx
cmp cl, 3
jne 0x452a34
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 0x452b8e
test byte [edi + 0x38], 0x20
je 0x452a56
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 0x452a78
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 0x452a78
add eax, 0xffffffc0
mov dword [esi + 0x24], eax
test edx, edx
jne 0x452ad4
test byte [ebp + 0x24], 0x20
jne 0x452ad4
cmp dword [edi + 0x24], edx
jne 0x452ad4
mov eax, ebx
or eax, ecx
jne 0x452bb3
test byte [edi + 0x38], 4
jne 0x452bb3
mov ax, word [edi + 0x30]
cmp ax, word [ebp + 0x2e]
jge 0x452bb3
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 4
jne 0x452bb3
cmp byte [0x499967], dl
je 0x452bb3
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x20
jne 0x452bb3
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 0x452b8d
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 0x452b7a
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.0042e9ce
pop ecx
test eax, eax
je 0x452b72
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 8]
test cx, cx
jg 0x452b57
add ebx, ecx
jmp 0x452b61
dec ebx
test byte [eax + 0xc], 0x82
je 0x452b61
sub ebx, 0x13
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [esp + 0x30]
add ebp, 0x30
cmp esi, dword [eax + 0x5c]
jl 0x452b2e
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
mov cx, word [esi + 0x14]
mov edx, ebx
call fcn.00408253
mov ecx, dword [esp + 0x20]
mov word [esi + 0x14], ax
push ecx
mov ecx, dword [esp + 0x20]
mov edx, esi
call fcn.00451c88
pop ecx
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.00451b51
mov ebx, eax
mov eax, dword [esp + 0x20]
mov word [esi + 0x16], ax
test ebx, ebx
jne 0x452bfb
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x10]
push 0
push edi
and dword [eax + 0x14], 0
call fcn.00451f0e
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov ebx, eax
cmp dword [ecx + 0x14], 1
jne 0x452bde
or dword [ebp + 0x24], 0x100
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x44], 0
je 0x452bec
xor edi, edi
jmp 0x452bef
mov edi, dword [edi + 0x14]
inc dword [esp + 0x24]
test ebx, ebx
je 0x45297f
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x84
ret