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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442b85
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x45c02c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
mov eax, dword [ebx + 8]
sar ecx, 3
imul edi, ecx, 0xeeeeeeef
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
test edi, edi
jne 0x410310
lea ecx, [esi + 0x2c]
push ecx
mov ecx, eax
call fcn.0040f980
mov eax, dword [ebp - 0x38]
jmp 0x410464
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
jge 0x410324
test byte [esi + 0x44], 2
jne 0x410484
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x3c]
test edi, edi
je 0x41036e
nop dword [eax]
mov ecx, dword [edx + 0x14]
add ecx, eax
cmp dword [edx], 0xfffffffe
jne 0x410361
cmp ecx, dword [edx + 0x38]
cmovb ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x2c]
add edx, 0x78
add eax, ecx
sub edi, 1
jne 0x410350
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407230
cmp dword [esi + 0x40], 8
lea eax, [esi + 0x2c]
mov ecx, dword [eax + 0x10]
jb 0x410385
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aee0
mov eax, dword [esi + 4]
mov edi, dword [esi]
sub eax, edi
sar eax, 3
imul eax, eax, 0xeeeeeeef
mov dword [ebp - 0x34], 0
test eax, eax
je 0x410438
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea eax, [ecx + 4]
mov ecx, dword [eax + edi + 0x10]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x4103c4
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aee0
mov eax, dword [ebp - 0x30]
cmp dword [edi + eax], 0xfffffffe
jne 0x4103f6
mov ecx, dword [edi + eax + 0x38]
mov edx, dword [ebp - 0x1c]
cmp ecx, edx
jbe 0x4103f6
movzx eax, word [edi + eax + 0x48]
sub ecx, edx
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004069c0
mov eax, dword [ebp - 0x30]
add eax, 0x1c
add eax, edi
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x410406
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aee0
mov eax, dword [esi + 4]
mov edi, dword [esi]
sub eax, edi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
inc edx
sar eax, 3
add ecx, 0x78
imul eax, eax, 0xeeeeeeef
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
cmp edx, eax
jb 0x4103b3
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
mov byte [esi + 0x28], 1
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426e2f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00412250
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00410db0
int3