Function at 0x458c53
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 0x458d2b
test byte [ebp + 0x24], 0x20
je 0x458cb5
mov edi, dword [ebp + 8]
jmp 0x458d2b
push 0x48
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00478810
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 0x458d27
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.004571a9
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x20], eax
cmp dword [ecx + 0x10], ebx
jne 0x458e8c
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 0x20
jne 0x458e8c
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 0x458e90
cmp dword [eax + 0x44], ebx
jne 0x458e90
test byte [eax + 0x28], 1
jne 0x458e90
test byte [ebp + 0x24], 0x20
jne 0x458e90
test byte [eax + 0x28], 0x28
jne 0x458e90
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 0x458e84
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
and ecx, dword [ebp + 0x20]
and eax, dword [ebp + 0x24]
or ecx, eax
jne 0x458e70
mov edx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, ebp
call fcn.0045723c
pop ecx
pop ecx
test eax, eax
je 0x458e70
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 0x458e1a
test byte [eax + 0x24], 2
lea eax, [ecx + 0x1c]
je 0x458e1d
lea eax, [ecx - 0xa]
movzx eax, ax
mov word [esi + 0x12], ax
test ax, ax
jns 0x458e2f
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.0040e75f
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.00458062
mov ebx, eax
mov eax, dword [esp + 0x38]
add ebp, 0x30
test ebx, ebx
je 0x458dad
jmp 0x45910c
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test edi, edi
je 0x45910c
cmp dword [edi + 0x24], 0
je 0x458eba
push dword [edi + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
call fcn.00458bb1
pop ecx
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4590ef
test dword [edi + 0x38], 0x100
jne 0x4590ef
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.00458ac9
pop ecx
mov ecx, dword [edi + 0x38]
mov edx, eax
and ecx, 3
mov dword [esp + 0x38], edx
cmp cl, 3
jne 0x458f45
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 0x45909f
test byte [edi + 0x38], 0x20
je 0x458f67
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 0x458f89
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 0x458f89
add eax, 0xffffffc0
mov dword [esi + 0x24], eax
test edx, edx
jne 0x458fe5
test byte [ebp + 0x24], 0x20
jne 0x458fe5
cmp dword [edi + 0x24], edx
jne 0x458fe5
mov eax, ebx
or eax, ecx
jne 0x4590c4
test byte [edi + 0x38], 4
jne 0x4590c4
mov ax, word [edi + 0x30]
cmp ax, word [ebp + 0x2e]
jge 0x4590c4
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 4
jne 0x4590c4
cmp byte [0x4d297f], dl
je 0x4590c4
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x20
jne 0x4590c4
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 0x45909e
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 0x45908b
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.00434eda
pop ecx
test eax, eax
je 0x459083
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 8]
test cx, cx
jg 0x459068
add ebx, ecx
jmp 0x459072
dec ebx
test byte [eax + 0xc], 0x82
je 0x459072
sub ebx, 0x13
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [esp + 0x30]
add ebp, 0x30
cmp esi, dword [eax + 0x5c]
jl 0x45903f
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
mov cx, word [esi + 0x14]
mov edx, ebx
call fcn.0040e75f
mov ecx, dword [esp + 0x20]
mov word [esi + 0x14], ax
push ecx
mov ecx, dword [esp + 0x20]
mov edx, esi
call fcn.00458199
pop ecx
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.00458062
mov ebx, eax
mov eax, dword [esp + 0x20]
mov word [esi + 0x16], ax
test ebx, ebx
jne 0x45910c
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x10]
push 0
push edi
and dword [eax + 0x14], 0
call fcn.0045841f
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov ebx, eax
cmp dword [ecx + 0x14], 1
jne 0x4590ef
or dword [ebp + 0x24], 0x100
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x44], 0
je 0x4590fd
xor edi, edi
jmp 0x459100
mov edi, dword [edi + 0x14]
inc dword [esp + 0x24]
test ebx, ebx
je 0x458e90
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x84
ret