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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov ebx, dword [ebp + 0xc]
mov eax, ebx
sub eax, dword [edx + 8]
jb 0x100420fe
mov esi, dword [edx + 0xc]
cmp eax, esi
jae 0x100420fe
mov edi, dword [ebp + 0x14]
mov dword [esp + 4], edx
lea edx, [edi*8]
cmp esi, edx
mov edx, dword [esp + 4]
jbe 0x100420fe
lea eax, [eax + edi*8]
cmp eax, esi
ja 0x100420fe
test edi, edi
mov dword [esp + 0x28], ecx
je 0x10042108
lea eax, [edx + 0x10]
lea ecx, [edx + 0x1c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], ecx
mov edi, dword [edx + 8]
mov eax, ebx
sub eax, edi
jb 0x10042126
mov esi, dword [edx + 0xc]
cmp eax, esi
jae 0x10042126
cmp esi, 9
jb 0x10042126
add eax, 8
cmp eax, esi
ja 0x10042126
mov edx, dword [ebp + 8]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea ecx, [esp + 0xc]
push 8
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.10041510
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10042134
cmp dword [esp + 0x14], 8
jne 0x1004211e
mov edx, dword [esp + 0x78]
mov eax, edx
and eax, 0x7fffffff
cmp esi, eax
jbe 0x10042126
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
cmp byte [ebp + 0x10], 0
mov dword [esp + 8], ebx
je 0x10041db0
and eax, 0x7fffffff
mov dword [esp + 0x80], edx
cmp esi, eax
jbe 0x10042126
mov edx, dword [ebp + 8]
mov ecx, eax
mov eax, edi
mov word [esp + 0x4e], 0
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], eax
add edi, eax
push 2
lea eax, [esp + 0x52]
push eax
mov dword [esp + 0x58], edi
push edi
call fcn.100416c0
add esp, 0xc
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test edx, edx
jne 0x1004215c
cmp ecx, 2
jne 0x1004211e
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 4]
add ecx, 2
mov dword [esp + 0x50], ecx
sub ecx, dword [esp + 0x2c]
jb 0x10042126
cmp ecx, esi
jae 0x10042126
movzx eax, word [eax]
lea edi, [eax + eax]
cmp esi, edi
jbe 0x10042126
lea eax, [ecx + eax*2]
cmp eax, esi
ja 0x10042126
mov esi, dword [edx + 4]
mov ebx, dword [edx + 0x14]
cmp edi, esi
cmovb esi, edi
cmp ebx, esi
jbe 0x10041d07
mov eax, dword [edx + 0x18]
nop dword [eax]
cmp ebx, eax
mov ecx, eax
cmovb ecx, ebx
test ecx, ecx
je 0x10042229
dec ebx
cmp ebx, esi
mov dword [edx + 0x14], ebx
ja 0x10041cf0
cmp ebx, esi
mov dword [esp + 0x7c], edi
jb 0x10041d89
mov eax, dword [esp + 0x48]
mov edi, dword [eax]
mov eax, dword [edx + 0x18]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
cmp ebx, eax
cmovb eax, ebx
mov dword [esp + 0x2c], eax
push eax
push edi
push dword [esp + 0x58]
call fcn.100416c0
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10042142
cmp dword [esp + 0x14], esi
jne 0x10041dbe
mov edi, dword [esp + 0x10]
jmp 0x10041de4
mov ecx, dword [esp + 0x48]
mov edx, ebx
call fcn.10009440
cmp al, 8
jne 0x10042116
mov edx, dword [esp + 4]
mov edi, dword [edx + 0x10]
mov ebx, dword [edx + 0x14]
mov byte [edi + ebx], 0
inc ebx
cmp ebx, esi
mov dword [edx + 0x14], ebx
jae 0x10041d15
cmp ebx, dword [edx + 0x18]
jb 0x10041d73
inc ebx
mov ecx, ebx
call fcn.10034400
test eax, eax
je 0x10041d60
cmp eax, ebx
jbe 0x10041d60
mov ecx, dword [esp + 0x48]
mov edx, eax
call fcn.10009440
cmp al, 8
jne 0x10041d60
jmp 0x10041d73
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], 1
jmp 0x10041e08
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
push dword [esp + 0x2c]
push edi
push dword [esp + 0x58]
call fcn.10041510
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10042142
mov esi, ebx
mov ecx, edi
mov edx, esi
call 0x10070750
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], 0
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
not edx
movsd xmm0, qword [esp + 0x84]
shr edx, 0x1f
mov dword [esp + 0x98], edx
mov dword [esp + 0x38], edx
mov esi, dword [edi + 4]
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x30], xmm0
inc esi
je 0x10042242
cmp esi, dword [edi + 8]
jbe 0x10041e79
mov ecx, esi
call fcn.10034400
cmp eax, esi
jbe 0x10041e68
mov ecx, edi
mov edx, eax
call fcn.1002c320
cmp al, 8
je 0x10041e79
mov ecx, edi
mov edx, esi
call fcn.1002c320
cmp al, 8
jne 0x10042242
mov ebx, dword [edi]
mov edx, edi
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
lea eax, [edi + edi*2]
inc edi
mov dword [ebx + eax*8], ecx
mov ecx, dword [esp + 0x50]
mov dword [ebx + eax*8 + 4], ecx
movsd xmm0, qword [esp + 0x30]
movsd qword [ebx + eax*8 + 8], xmm0
mov ecx, dword [esp + 0x38]
mov dword [ebx + eax*8 + 0x10], ecx
mov dword [ebx + eax*8 + 0x14], esi
mov dword [edx + 4], edi
je 0x10042126
cmp dword [ebx + eax*8 + 0x10], 0
je 0x10041fd0
mov edx, dword [esp + 4]
mov ecx, dword [ebx + eax*8 + 0x14]
mov edx, dword [edx + 0xc]
cmp edx, ecx
jbe 0x10042126
cmp edx, 0x11
jb 0x10041fc0
mov eax, dword [esp + 4]
mov esi, dword [eax + 8]
lea eax, [esi + ecx]
cmp eax, esi
jb 0x10041fc0
add ecx, 0x10
cmp ecx, edx
ja 0x10041fc0
mov edx, dword [esp + 4]
cmp edi, 3
jne 0x10041fc4
mov ecx, dword [edx + 0x20]
cmp dword [edx], ecx
jbe 0x10041fc4
mov edx, dword [ebp + 8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
push 0xc
lea esi, [esp + 0x34]
push esi
push eax
call fcn.10041510
add esp, 0xc
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x100421f8
cmp dword [esp + 0x14], 0xc
jne 0x10042046
movsd xmm0, qword [ebx + 0x18]
movsd xmm1, qword [ebx + 0x20]
lea eax, [esp + 0x18]
mov esi, dword [esp + 0x50]
movsd xmm2, qword [esp + 0x30]
mov edx, dword [esp + 4]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
inc esi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
movsd xmm0, qword [ebx + 4]
mov dword [esp + 0x44], eax
mov al, 7
movsd qword [esp + 0xc], xmm0
jne 0x10042057
mov ebx, dword [esp + 8]
cmp ecx, 2
je 0x10041fc8
jmp 0x1004220e
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + 0x18]
jmp 0x1004201d
cmp edi, 3
jae 0x10042126
mov eax, dword [ebx + eax*8 + 0x14]
mov ecx, dword [esp + 4]
cmp dword [ecx + 0xc], eax
jbe 0x10042126
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x18]
lea ecx, [esp + 0xc]
add eax, dword [edx + 8]
push esi
push eax
push dword [ebp + 8]
call fcn.10041a00
add esp, 0xc
cmp dword [esp + 0xc], 0
mov ebx, dword [esp + 8]
jne 0x100421e6
mov edi, dword [esi + 4]
mov edx, dword [esp + 4]
mov ecx, esi
mov eax, dword [ecx + 8]
inc dword [esp + 0x70]
cmp edi, eax
cmovb eax, edi
test eax, eax
je 0x10042031
dec edi
mov dword [ecx + 4], edi
mov eax, dword [ebp + 0x14]
add ebx, 8
cmp dword [esp + 0x70], eax
jne 0x10041baf
jmp 0x10042108
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov byte [edx + 0x29], 1
jmp 0x10041fc8
cmp esi, dword [edx + 0x24]
jbe 0x100420a6
mov ebx, ecx
mov ecx, esi
movaps xmmword [esp + 0x50], xmm2
call fcn.10034400
cmp eax, esi
jbe 0x10042088
mov ecx, dword [esp + 0x6c]
mov edx, eax
call fcn.1002c220
movaps xmm2, xmmword [esp + 0x50]
mov edx, dword [esp + 4]
mov ecx, ebx
cmp al, 8
je 0x100420a6
mov ecx, dword [esp + 0x6c]
mov edx, esi
call fcn.1002c220
movaps xmm2, xmmword [esp + 0x50]
mov edx, dword [esp + 4]
mov ecx, ebx
cmp al, 8
jne 0x10041fa8
mov eax, dword [edx + 0x20]
mov esi, ecx
mov ecx, dword [edx + 0x1c]
mov ebx, dword [esp + 0x44]
imul edx, eax, 0x2c
inc eax
mov dword [ecx + edx], esi
movsd xmm0, qword [esp + 0xc]
movsd xmm1, qword [esp + 0x14]
movsd qword [ecx + edx + 4], xmm0
movsd qword [ecx + edx + 0xc], xmm1
movsd xmm0, qword [esp + 0x1c]
movsd qword [ecx + edx + 0x14], xmm0
mov esi, dword [esp + 0x24]
mov dword [ecx + edx + 0x1c], esi
movlps qword [ecx + edx + 0x20], xmm2
mov dword [ecx + edx + 0x28], ebx
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [edx + 0x20], eax
jmp 0x10041fc8
mov word [ecx], 0
jmp 0x100421de
mov eax, dword [esp + 0x28]
mov word [eax], 0x100
jmp 0x100421de
mov byte [esp + 0x38], al
xor eax, eax
jmp 0x10042199
mov eax, dword [esp + 4]
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x28]
mov word [eax], 0
jmp 0x100421de
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x100421a5
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], esi
jmp 0x10042199
mov esi, dword [esp + 0x18]
movd xmm0, edx
shr edx, 0x10
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
pslld xmm0, 0x10
lea edx, [esp + 0xc]
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], esi
mov byte [esp + 0xc], 2
movd dword [esp + 0xe], xmm0
call fcn.10063080
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x98], ecx
movsd xmm0, qword [esp + 0x84]
mov dword [edi + 0x10], ecx
movsd qword [edi + 8], xmm0
mov dword [edi + 4], eax
movsd qword [esp + 0x90], xmm0
mov byte [edi], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x10042217
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, eax
and edi, 0xffffff00
jmp 0x10042212
xor ecx, ecx
xor edi, edi
movzx eax, al
or eax, edi
mov edi, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], edx
jmp 0x100421db
mov ecx, 0x3e8ab8c
mov edx, 0x2b
push 0x3e84d7c
call fcn.10006dd0
add esp, 4
ud2
lea ecx, [esp + 0xc]
mov edx, 0x3e88eb0
mov dword [esp + 0xc], 0x3e88e9c
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x3e8a968
mov dword [esp + 0x18], 0
call fcn.100063a0
ud2