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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2b8
push esi
push edi
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
call dword [0x40f008]
push eax
call dword [0x40f110]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x401e3f
cmp dword [esp + 0x38], 0
je 0x401e3f
xor eax, eax
mov dword [esp + 0x54], 0
xorps xmm0, xmm0
mov dword [esp + 0x88], eax
push 0x20a
movups xmmword [esp + 0x60], xmm0
push eax
movups xmmword [esp + 0x80], xmm0
mov word [esp + 0x68], ax
mov word [esp + 0x80], ax
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 7
mov dword [esp + 0x98], 7
call fcn.00403fe0
add esp, 0xc
lea eax, [esp + 0xb0]
push 0x104
push eax
push 0
call dword [0x40f004]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0xb0]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401a50
sub ecx, edx
lea eax, [esp + 0xb0]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00402110
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp edi, 8
mov edx, dword [esp + 0x20]
cmovae esi, ecx
mov dword [esp + 0x40], edx
test edx, edx
je 0x401b41
or ecx, 0xffffffff
lea eax, [edx - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [esi + ecx*2], 0x5c
lea ecx, [esi + ecx*2]
je 0x401ab9
cmp ecx, esi
je 0x401b3d
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x401aa8
sub ecx, esi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x401b3d
cmp ecx, edx
ja 0x401ade
cmp edi, 8
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x401b31
mov esi, ecx
mov eax, edi
sub esi, edx
sub eax, edx
cmp esi, eax
ja 0x401b21
cmp edi, 8
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
lea edi, [eax + edx*2]
test esi, esi
je 0x401b12
xor eax, eax
mov ecx, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esp + 0x40]
lea eax, [esi + edx]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x401b31
push ecx
push esi
push dword [esp + 0x44]
lea ecx, [esp + 0x1c]
push esi
call fcn.00402280
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x10]
mov eax, edi
sub eax, edx
cmp eax, 0xf
jb 0x401b7f
cmp edi, 8
lea esi, [esp + 0x10]
lea eax, [edx + 0xf]
cmovae esi, ecx
mov dword [esp + 0x20], eax
push 0x1e
push 0x413d80
lea eax, [esi + edx*2]
push eax
call fcn.00405450
mov eax, dword [esp + 0x4c]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2 + 0x1e], cx
lea eax, [esp + 0x10]
jmp 0x401b95
push 0xf
push 0x413d80
push dword [esp + 0x44]
lea ecx, [esp + 0x1c]
push 0xf
call fcn.00402420
movups xmm0, xmmword [eax]
xor ecx, ecx
movq xmm1, qword [eax + 0x10]
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0x40], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [esp + 0x74]
cmp ecx, 8
jb 0x401c08
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401bf0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e49
push ecx
push edx
call fcn.00402b7e
movaps xmm0, xmmword [esp + 0x98]
add esp, 8
movq xmm1, qword [esp + 0x40]
mov ecx, dword [esp + 0x24]
movq qword [esp + 0x70], xmm1
movups xmmword [esp + 0x60], xmm0
cmp ecx, 8
jb 0x401c4f
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401c45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e4e
push ecx
push edx
call fcn.00402b7e
add esp, 8
mov esi, 1
cmp dword [esp + 0x38], esi
jle 0x401d36
nop
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov edx, dword [eax + esi*4]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401c90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.00402110
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x5c]
je 0x401cd7
movups xmm0, xmmword [esp + 0x90]
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0xa0]
movq qword [eax + 0x10], xmm0
add dword [esp + 0x58], 0x18
jmp 0x401d2b
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.004027e0
mov ecx, dword [esp + 0xa4]
cmp ecx, 8
jb 0x401d2b
mov edx, dword [esp + 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401d21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e53
push ecx
push edx
call fcn.00402b7e
add esp, 8
inc esi
cmp esi, dword [esp + 0x38]
jl 0x401c60
push dword [esp + 0x3c]
call dword [0x40f00c]
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x5c]
je 0x401d73
xorps xmm0, xmm0
mov ecx, eax
push 0xf
movups xmmword [eax], xmm0
push 0x413da0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.00402110
add dword [esp + 0x58], 0x18
jmp 0x401d82
push 0x413da0
push eax
lea ecx, [esp + 0x5c]
call fcn.004025a0
lea ecx, [esp + 0x54]
call fcn.00401740
mov ecx, dword [esp + 0x8c]
cmp ecx, 8
jb 0x401dca
mov edx, dword [esp + 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401dc0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e53
push ecx
push edx
call fcn.00402b7e
add esp, 8
mov ecx, dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 7
mov word [esp + 0x78], ax
cmp ecx, 8
jb 0x401e1f
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401e15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e53
push ecx
push edx
call fcn.00402b7e
add esp, 8
xor eax, eax
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], 7
mov word [esp + 0x60], ax
call fcn.00401e60
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.00405d2c
call fcn.00405d2c
call fcn.00405d2c
int3