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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x9c
mov edi, dword [edx]
mov dword [esp + 0x2c], ecx
mov edx, 2
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x17
and cl, 1
test eax, 0x2000000
movzx eax, cl
cmove edx, eax
push edx
push 1
call fcn.00435900
add esp, 8
mov byte [esp + 3], al
mov dword [esp + 0x10], edi
mov ebx, dword [edi + 0xf8]
mov esi, dword [edi + 0xf0]
lea edi, [ebx*8]
test ebx, ebx
je 0x451036
js 0x4513e8
push 4
push edi
call fcn.00406c70
add esp, 8
test eax, eax
jne 0x45103b
push 4
push edi
call fcn.004804a0
add esp, 8
ud2
mov eax, 4
mov ebp, dword [esp + 0xb4]
lea ecx, [esi + ebx*8]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
cmp esi, ecx
je 0x4510ca
lea ebp, [ebx - 1]
add edi, 0xfffffff8
mov dword [esp + 0x24], ebx
and ebp, 0x1fffffff
shr edi, 3
cmp ebp, 3
mov dword [esp + 0x28], edi
jb 0x451080
cmp eax, ecx
jae 0x4513a3
lea edx, [eax + ebx*8]
cmp esi, edx
jae 0x4513a3
mov edx, eax
mov ebx, esi
xor esi, esi
nop word cs:[eax + eax]
mov edi, dword [ebx + esi]
mov ebp, dword [ebx + esi + 4]
mov dword [edx + esi], edi
mov dword [edx + esi + 4], ebp
lea ebp, [ebx + esi + 8]
add esi, 8
cmp ebp, ecx
jne 0x451090
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0xb4]
mov ebx, dword [esp + 0x24]
inc ecx
mov esi, dword [esp + 0xb8]
test ebp, ebp
mov dword [esp + 0xc], ecx
jne 0x4510db
jmp 0x451100
xor ecx, ecx
mov esi, dword [esp + 0xb8]
test ebp, ebp
mov dword [esp + 0xc], ecx
je 0x451100
cmp ecx, ebx
jne 0x4510f5
lea eax, [esp + 4]
push ebx
push eax
call fcn.004185d0
add esp, 8
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [eax + ecx*8], ebp
mov dword [eax + ecx*8 + 4], esi
inc dword [esp + 0xc]
lea eax, [esp + 0xb0]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0043eee0
add esp, 8
mov ebx, dword [esp + 0xc]
cmp ebx, 2
jb 0x451172
mov edi, dword [esp + 4]
dec ebx
mov esi, ebx
mov ebx, 1
lea ebp, [edi + 8]
jmp 0x451141
movsd xmm0, qword [ebp]
movsd qword [edi + ebx*8], xmm0
inc ebx
add ebp, 8
dec esi
je 0x451160
mov eax, dword [ebp + 4]
cmp eax, dword [edi + ebx*8 - 4]
jne 0x451130
push eax
push dword [edi + ebx*8 - 8]
push dword [ebp]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x451130
jmp 0x45113b
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x30]
push 1
push esi
push ebp
push dword [esp + 0xbc]
push ebx
push dword [esp + 0x18]
push dword [esp + 0x28]
push eax
call fcn.00438cb0
add esp, 0x20
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea ebx, [esp + 0x14]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
lea eax, [esp + 3]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x68]
push eax
push ebx
push edx
push ecx
call fcn.00435e60
add esp, 0x10
lea eax, [esp + 0x30]
push eax
call fcn.00436b00
add esp, 4
test edi, edi
je 0x45120d
mov ecx, 0xc
mov eax, edi
mul ecx
push 4
push eax
push esi
call fcn.00406c80
add esp, 0xc
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
lea eax, [esp + 0x84]
push dword [esp + 0xb8]
push ebp
push dword [esp + 0xb8]
mov ebp, dword [esp + 0x1c]
push ebp
push eax
call fcn.00436cb0
add esp, 0x14
mov ecx, dword [ebp]
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x8c]
mov ebp, 2
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
mov edx, ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], eax
shr edx, 0x17
and dl, 1
test ecx, 0x2000000
movzx ecx, dl
cmove ebp, ecx
push ebp
push 1
call fcn.00435900
add esp, 8
xor ecx, ecx
cmp al, 2
mov dword [esp + 0x94], str.error:
mov dword [esp + 0x98], 6
mov dword [esp + 0x18], 0x4ad394
mov dword [esp + 0x1c], 6
mov dword [esp + 0x50], 0x4ad5c8
mov dword [esp + 0x54], 4
mov dword [esp + 0x58], 0
setae cl
lea eax, [ecx + ecx*2]
mov dword [esp + 0x90], eax
mov eax, 3
sbb eax, 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x34], 0x435b10
mov dword [esp + 0x38], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x3c], 0x403db0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x44], 0x403db0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x4c], 0x435b10
mov dword [esp + 0x60], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x64], 4
push eax
mov esi, dword [esp + 0x30]
push esi
call fcn.00474030
add esp, 8
mov eax, dword [esp + 0x6c]
mov byte [esi + 0x18], 0xa
mov dword [esi + 0xc], 0
test eax, eax
je 0x451363
push 1
push eax
push dword [esp + 0x70]
call fcn.00406c80
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x451381
mov ecx, 8
mul ecx
push 4
push eax
push dword [esp + 0xc]
call fcn.00406c80
add esp, 0xc
mov eax, dword [esp + 0x88]
test eax, eax
je 0x451398
push 1
push eax
push edi
call fcn.00406c80
add esp, 0xc
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
inc ebp
xor edi, edi
mov dword [esp + 0x20], ebp
and ebp, 0xfffffffc
lea edx, [eax + ebp*8]
lea ebx, [esi + ebp*8]
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [esi + edi*8]
movups xmm1, xmmword [esi + edi*8 + 0x10]
movups xmmword [eax + edi*8], xmm0
movups xmmword [eax + edi*8 + 0x10], xmm1
add edi, 4
cmp ebp, edi
jne 0x4513c0
cmp dword [esp + 0x20], ebp
jne 0x451084
jmp 0x4510a9
call fcn.00473a80
ud2