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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
cmp dword [ebp + 0xc], 0xa
mov eax, edx
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x80], eax
push edi
mov dword [esp + 0x24], esi
jb 0x455289
add eax, esi
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x10]
lea edx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], edx
movzx edx, word [eax]
movzx ebx, word [eax + 2]
movzx edi, word [eax + 4]
add eax, 6
mov dword [esp + 0x1c], eax
add eax, edx
mov dword [esp + 0xc], eax
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
add eax, 3
shr eax, 2
add esi, eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x28], esi
lea ecx, [esi + eax]
mov esi, dword [ebp + 0xc]
sub esi, edi
mov dword [esp + 0x74], ecx
sub esi, ebx
add ecx, eax
mov eax, dword [esp + 0x74]
sub esi, edx
sub esi, 6
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
cmp esi, dword [ebp + 0xc]
ja 0x455289
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x48]
call fcn.00452d60
add esp, 4
cmp eax, 0xffffff88
ja 0x45528e
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x54]
push ebx
call fcn.00452d60
add esp, 4
cmp eax, 0xffffff88
ja 0x45528e
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push edi
mov edx, ebx
call fcn.00452d60
add esp, 4
cmp eax, 0xffffff88
ja 0x45528e
push esi
lea edx, [ebx + edi]
lea ecx, [esp + 0x38]
call fcn.00452d60
add esp, 4
cmp eax, 0xffffff88
ja 0x45528e
mov edx, dword [esp + 0x48]
cmp edx, 0x20
jbe 0x454b76
mov dword [esp + 0xc], 3
jmp 0x454be1
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
lea eax, [ecx + 4]
cmp ebx, eax
jb 0x454b99
mov eax, edx
mov dword [esp + 0xc], 0
shr eax, 3
sub ebx, eax
and edx, 7
jmp 0x454bd3
cmp ebx, ecx
jne 0x454bab
cmp edx, 0x20
sbb edi, edi
add edi, 2
mov dword [esp + 0xc], edi
jmp 0x454be1
mov esi, edx
mov dword [esp + 0xc], 0
shr esi, 3
mov eax, ebx
sub eax, esi
cmp eax, ecx
jae 0x454bcc
mov esi, ebx
mov dword [esp + 0xc], 1
sub esi, ecx
imul eax, esi, 0xfffffff8
sub ebx, esi
add edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov esi, dword [esp + 0x58]
cmp esi, 0x20
jbe 0x454bf4
mov dword [esp + 0x14], 3
jmp 0x454c5f
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
lea eax, [ecx + 4]
cmp ebx, eax
jb 0x454c17
mov eax, esi
mov dword [esp + 0x14], 0
shr eax, 3
sub ebx, eax
and esi, 7
jmp 0x454c51
cmp ebx, ecx
jne 0x454c29
cmp esi, 0x20
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x14], ecx
jmp 0x454c5f
mov edi, esi
mov dword [esp + 0x14], 0
shr edi, 3
mov eax, ebx
sub eax, edi
cmp eax, ecx
jae 0x454c4a
mov edi, ebx
mov dword [esp + 0x14], 1
sub edi, ecx
imul eax, edi, 0xfffffff8
sub ebx, edi
add esi, eax
mov eax, dword [ebx]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebx
mov edi, dword [esp + 0x68]
cmp edi, 0x20
jbe 0x454c72
mov dword [esp + 0x18], 3
jmp 0x454ce9
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
lea eax, [ecx + 4]
cmp ebx, eax
jb 0x454c95
mov eax, edi
mov dword [esp + 0x18], 0
shr eax, 3
sub ebx, eax
and edi, 7
jmp 0x454cdb
cmp ebx, ecx
jne 0x454ca7
cmp edi, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x454ce9
mov eax, edi
mov dword [esp + 0x18], 0
shr eax, 3
mov dword [esp + 0x10], eax
mov eax, ebx
sub eax, dword [esp + 0x10]
cmp eax, ecx
jae 0x454cd0
mov eax, ebx
mov dword [esp + 0x18], 1
sub eax, ecx
jmp 0x454cd4
mov eax, dword [esp + 0x10]
sub ebx, eax
imul eax, eax, 0xfffffff8
add edi, eax
mov eax, dword [ebx]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
cmp ecx, 0x20
jbe 0x454d00
mov eax, 3
jmp 0x454d81
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
add eax, 4
cmp ebx, eax
jb 0x454d23
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebx, eax
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
xor eax, eax
jmp 0x454d75
cmp ebx, dword [esp + 0x40]
jne 0x454d33
cmp ecx, 0x20
sbb eax, eax
add eax, 2
jmp 0x454d81
mov eax, ecx
shr eax, 3
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, ebx
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x40]
jae 0x454d60
mov eax, ebx
mov dword [esp + 0x1c], 1
sub eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
imul eax, dword [esp + 0x10], 0xfffffff8
sub ebx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], ebx
or eax, dword [esp + 0x18]
or eax, dword [esp + 0x14]
or eax, dword [esp + 0xc]
jne 0x45518e
mov eax, dword [esp + 0x80]
add eax, 0xfffffff9
mov dword [esp + 0x88], eax
cmp dword [esp + 0x30], eax
jae 0x45518e
mov ebx, dword [esp + 0x78]
mov ecx, edx
mov eax, dword [esp + 0x44]
and ecx, 0x1f
shl eax, cl
neg ebx
and ebx, 0x1f
mov ecx, ebx
mov dword [esp + 0xc], ebx
shr eax, cl
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [ebx], ax
movzx eax, byte [ecx + 2]
add edx, eax
mov ebx, dword [esp + 0x28]
movzx eax, byte [ecx + 3]
mov ecx, esi
add dword [esp + 0x24], eax
and ecx, 0x1f
mov eax, dword [esp + 0x54]
shl eax, cl
mov ecx, dword [esp + 0xc]
shr eax, cl
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [ebx], ax
movzx eax, byte [ecx + 2]
mov ebx, dword [esp + 0x2c]
add esi, eax
movzx eax, byte [ecx + 3]
mov ecx, edi
add dword [esp + 0x28], eax
and ecx, 0x1f
mov eax, dword [esp + 0x64]
shl eax, cl
mov ecx, dword [esp + 0xc]
shr eax, cl
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [ebx], ax
movzx eax, byte [ecx + 2]
mov ebx, dword [esp + 0x30]
add edi, eax
movzx eax, byte [ecx + 3]
add dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0xc]
shr eax, cl
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [ebx], ax
movzx eax, byte [ecx + 2]
mov ebx, dword [esp + 0x10]
add ebx, eax
movzx eax, byte [ecx + 3]
add dword [esp + 0x30], eax
mov ecx, edx
mov eax, dword [esp + 0x44]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0xc]
shr eax, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x24]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [ebx], ax
movzx eax, byte [ecx + 2]
add eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 3]
mov ecx, esi
add dword [esp + 0x24], eax
and ecx, 0x1f
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x54]
shl eax, cl
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [ebx], ax
movzx eax, byte [ecx + 2]
add eax, esi
mov dword [esp + 0x1c], eax
mov esi, eax
movzx eax, byte [ecx + 3]
mov ecx, edi
add ebx, eax
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x64]
and ecx, 0x1f
shl eax, cl
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x2c]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [ebx], ax
movzx eax, byte [ecx + 2]
add eax, edi
mov edi, eax
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x34]
and ecx, 0x1f
shl eax, cl
mov ecx, edx
mov edx, dword [esp + 0x30]
shr eax, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x68], edi
mov dword [esp + 0x2c], ebx
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
movzx eax, byte [ecx + 3]
add edx, eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
cmp edx, 0x20
jbe 0x454f82
mov dword [esp + 0x18], 3
jmp 0x454ff5
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
lea eax, [ecx + 4]
cmp ebx, eax
jb 0x454fa5
mov eax, edx
mov dword [esp + 0x18], 0
shr eax, 3
sub ebx, eax
and edx, 7
jmp 0x454fe7
cmp ebx, ecx
jne 0x454fb7
cmp edx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x454ff5
mov ecx, edx
mov dword [esp + 0x18], 0
shr ecx, 3
mov eax, ebx
sub eax, ecx
cmp eax, dword [esp + 0x50]
jae 0x454fdc
mov ecx, ebx
mov dword [esp + 0x18], 1
sub ecx, dword [esp + 0x50]
lea eax, [ecx*8]
sub ebx, ecx
sub edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
cmp esi, 0x20
jbe 0x455004
mov dword [esp + 0x14], 3
jmp 0x455073
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
lea eax, [ecx + 4]
cmp ebx, eax
jb 0x455027
mov eax, esi
mov dword [esp + 0x14], 0
shr eax, 3
sub ebx, eax
and esi, 7
jmp 0x455065
cmp ebx, ecx
jne 0x455039
cmp esi, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x14], eax
jmp 0x455073
mov ecx, esi
mov dword [esp + 0x14], 0
shr ecx, 3
mov eax, ebx
sub eax, ecx
cmp eax, dword [esp + 0x60]
jae 0x45505e
mov ecx, ebx
mov dword [esp + 0x14], 1
sub ecx, dword [esp + 0x60]
imul eax, ecx, 0xfffffff8
sub ebx, ecx
add esi, eax
mov eax, dword [ebx]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebx
cmp edi, 0x20
jbe 0x455082
mov dword [esp + 0xc], 3
jmp 0x4550f1
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
lea eax, [ecx + 4]
cmp ebx, eax
jb 0x4550a5
mov eax, edi
mov dword [esp + 0xc], 0
shr eax, 3
sub ebx, eax
and edi, 7
jmp 0x4550e3
cmp ebx, ecx
jne 0x4550b7
cmp edi, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0xc], eax
jmp 0x4550f1
mov ecx, edi
mov dword [esp + 0xc], 0
shr ecx, 3
mov eax, ebx
sub eax, ecx
cmp eax, dword [esp + 0x70]
jae 0x4550dc
mov ecx, ebx
mov dword [esp + 0xc], 1
sub ecx, dword [esp + 0x70]
imul eax, ecx, 0xfffffff8
sub ebx, ecx
add edi, eax
mov eax, dword [ebx]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x10]
cmp ecx, 0x20
jbe 0x455101
mov eax, 3
jmp 0x455175
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
add eax, 4
cmp ebx, eax
jb 0x455122
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebx, eax
mov dword [esp + 0x10], ecx
xor eax, eax
jmp 0x455167
cmp ebx, dword [esp + 0x40]
jne 0x455132
cmp ecx, 0x20
sbb eax, eax
add eax, 2
jmp 0x455175
mov eax, ecx
mov ecx, ebx
shr eax, 3
mov dword [esp + 0x1c], eax
xor eax, eax
sub ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x40]
jae 0x455156
mov ecx, ebx
mov eax, 1
sub ecx, dword [esp + 0x40]
jmp 0x45515a
mov ecx, dword [esp + 0x1c]
sub ebx, ecx
imul ecx, ecx, 0xfffffff8
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ebx
or eax, dword [esp + 0xc]
or eax, dword [esp + 0x14]
or eax, dword [esp + 0x18]
mov eax, dword [esp + 0x88]
je 0x454da4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
cmp eax, edx
ja 0x455289
mov edi, dword [esp + 0x74]
cmp dword [esp + 0x28], edi
ja 0x455289
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x2c], ecx
ja 0x455289
mov esi, dword [esp + 0x78]
mov ecx, eax
mov ebx, dword [esp + 0x20]
push esi
push ebx
push edx
lea edx, [esp + 0x50]
call fcn.004547e0
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x60]
push esi
push ebx
push edi
call fcn.004547e0
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x7c]
push esi
push ebx
push dword [esp + 0x9c]
call fcn.004547e0
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x58]
push esi
push ebx
push dword [esp + 0xac]
call fcn.004547e0
mov eax, dword [esp + 0x7c]
add esp, 0x30
cmp eax, dword [esp + 0x50]
jne 0x45522a
cmp dword [esp + 0x48], 0x20
jne 0x45522a
mov ecx, 1
jmp 0x45522c
xor ecx, ecx
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x60]
jne 0x455244
cmp dword [esp + 0x58], 0x20
jne 0x455244
mov edx, 1
jmp 0x455246
xor edx, edx
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x70]
jne 0x45525e
cmp dword [esp + 0x68], 0x20
jne 0x45525e
mov esi, 1
jmp 0x455260
xor esi, esi
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
jne 0x455278
cmp dword [esp + 0x38], 0x20
jne 0x455278
mov eax, 1
jmp 0x45527a
xor eax, eax
and eax, esi
and eax, edx
test ecx, eax
mov eax, dword [esp + 0x84]
jne 0x45528e
mov eax, 0xffffffec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret