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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x180
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, edx
mov byte [esp + 0x14], 1
mov byte [esp + 0x18], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edi, ebx
mov ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], esi
cmp edi, 0x15
mov dword [esp + 8], ecx
jb 0x4205a9
cmp dword [esp + 0x30], 0
je 0x4205c4
test byte [esp + 0x18], 1
mov dword [esp + 0xc], edi
jne 0x41fdd6
lea eax, [edi - 1]
bsr ecx, eax
xor eax, eax
dec eax
not ecx
shr eax, cl
mov dword [esp + 0x1c], eax
mov eax, edi
shr eax, 2
lea ebx, [eax + eax - 1]
push 3
pop esi
sub esi, 1
jb 0x41fdce
mov eax, edi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc]
mov edx, 0
shl eax, 0xd
xor eax, edi
mov ecx, eax
shr ecx, 0x11
xor ecx, eax
mov edi, ecx
shl edi, 5
xor edi, ecx
mov ecx, ebx
mov eax, edi
and eax, dword [esp + 0x1c]
cmp eax, ebx
cmovb ecx, edx
mov edx, ebx
mov ebx, dword [esp + 4]
sub eax, ecx
mov ecx, dword [esp + 8]
push eax
push ebx
call fcn.0041ee55
pop eax
pop ecx
inc ebx
jmp 0x41fd82
mov edi, dword [esp + 0xc]
dec dword [esp + 0x30]
mov eax, edi
mov edx, dword [esp + 8]
and dword [esp + 0x50], 0
shr eax, 2
cmp edi, 0x31
lea ecx, [eax + eax]
mov dword [esp + 0x48], eax
lea eax, [eax + eax*2]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0xfc], ecx
jbe 0x41fe52
lea esi, [esp + 0xfc]
lea edx, [esp + 0x48]
mov ecx, esi
call fcn.0041ed77
mov ecx, esi
lea edx, [esp + 0x38]
call fcn.0041ed77
mov ecx, esi
lea edx, [esp + 0x4c]
call fcn.0041ed77
mov ecx, dword [esp + 0xfc]
lea eax, [esp + 0x4c]
lea edx, [esp + 0x48]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0041ed45
pop eax
pop ecx
mov eax, dword [esp + 0x50]
cmp eax, 0xb
ja 0x41fe7f
mov ecx, dword [esp + 0x38]
test eax, eax
sete al
mov dword [esp + 4], ecx
jmp 0x41fed8
mov esi, dword [esp + 8]
mov edx, edi
mov eax, edi
shl edx, 4
shr eax, 1
lea ecx, [esi + 8]
lea edx, [esi + edx - 8]
sub eax, 1
jb 0x41feca
mov esi, dword [ecx - 8]
movsd xmm0, qword [edx - 8]
mov edi, dword [ecx - 4]
mov ebx, dword [ecx]
mov dword [esp + 4], esi
mov esi, dword [edx]
movsd qword [ecx - 8], xmm0
mov dword [ecx], esi
mov esi, dword [esp + 4]
mov dword [edx - 4], edi
mov edi, dword [esp + 0xc]
add ecx, 0x10
mov dword [edx - 8], esi
mov dword [edx], ebx
add edx, 0xfffffff0
jmp 0x41fe93
mov eax, dword [esp + 0x38]
not eax
add eax, edi
mov dword [esp + 4], eax
mov al, 1
and al, byte [esp + 0x14]
test byte [esp + 0x18], al
je 0x41ff5d
xor ebx, ebx
xor esi, esi
inc esi
mov edi, dword [esp + 0xc]
cmp ebx, 5
je 0x41ff5d
mov eax, esi
inc ebx
shl eax, 4
add eax, dword [esp + 8]
cmp esi, edi
jae 0x41ff11
mov ecx, dword [eax - 0x10]
mov edx, dword [eax - 0xc]
cmp ecx, dword [eax]
sbb edx, dword [eax + 4]
jb 0x41ff11
inc esi
add eax, 0x10
jmp 0x41fefa
cmp edi, 0x32
jb 0x41ff55
cmp esi, edi
je 0x41ff55
mov ecx, dword [esp + 8]
mov edx, edi
lea edi, [esi - 1]
push esi
push edi
call fcn.0041ee55
pop eax
pop ecx
cmp esi, 2
jb 0x41fee7
cmp esi, dword [esp + 0xc]
ja 0x420643
mov ecx, dword [esp + 8]
mov edx, esi
push edi
call fcn.0041f0c4
pop eax
mov ecx, dword [esp + 8]
mov edx, esi
call fcn.0041f199
jmp 0x41fee7
cmp esi, edi
je 0x4205bc
cmp dword [esp + 0x34], 0
je 0x4200c0
mov esi, dword [esp + 4]
cmp esi, edi
jae 0x420643
mov ebx, dword [esp + 8]
mov eax, esi
mov edx, dword [esp + 0x34]
shl eax, 4
mov ecx, dword [ebx + eax]
cmp ecx, dword [edx]
mov ecx, dword [ebx + eax + 4]
sbb ecx, dword [edx + 4]
jb 0x4200d5
movsd xmm1, qword [ebx + 8]
add eax, ebx
movsd xmm0, qword [ebx]
lea ecx, [edi - 1]
movsd xmm3, qword [eax]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x78], xmm0
movsd xmm2, qword [esp + 0x78]
movsd qword [ebx], xmm3
movsd qword [ebx + 8], xmm1
movsd xmm1, qword [esp + 0x80]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
lea eax, [ebx + 0x10]
mov edx, dword [ebx]
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 4], edx
mov dword [esp + 0x20], edi
mov edi, eax
shl edi, 4
add edi, ebx
cmp eax, ecx
jae 0x420013
mov edx, dword [esp + 4]
mov ebx, dword [edi + 4]
cmp dword [edi], edx
sbb ebx, esi
jb 0x420013
inc eax
add edi, 0x10
jmp 0x41fffc
mov ebx, ecx
mov dword [esp + 0x1c], eax
shl ebx, 4
add ebx, dword [esp + 0x24]
dec ecx
cmp eax, ecx
jae 0x420095
mov eax, esi
mov esi, dword [esp + 4]
mov edx, dword [ebx - 0xc]
lea edi, [ebx - 0x10]
cmp dword [ebx - 0x10], esi
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ebx, edi
sbb edx, esi
jb 0x420020
mov ebx, dword [esp + 0x24]
mov edx, eax
movsd xmm3, qword [edi + 8]
inc eax
shl edx, 4
movsd xmm0, qword [ebx + edx]
movsd xmm1, qword [ebx + edx + 8]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [edi]
movsd qword [esp + 0x80], xmm1
movsd qword [ebx + edx + 8], xmm3
movsd xmm2, qword [esp + 0x80]
movsd qword [ebx + edx], xmm0
movsd xmm0, qword [esp + 0x78]
movsd qword [edi + 8], xmm2
movsd qword [edi], xmm0
jmp 0x41fff5
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 4]
inc eax
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x20]
sub edi, eax
mov dword [ecx], edx
mov dword [ecx + 8], esi
jb 0x420643
shl eax, 4
add ecx, eax
jmp 0x41fd42
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 4]
test edi, edi
jne 0x4200d7
jmp 0x420643
mov eax, ebx
cmp esi, edi
jae 0x420643
movsd xmm1, qword [eax + 8]
shl esi, 4
movsd xmm0, qword [eax]
mov edx, eax
mov dword [esp + 0x2c], edi
lea ecx, [edi - 1]
xor edi, edi
movsd xmm3, qword [eax + esi]
mov dword [esp + 0x10], edx
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [eax + esi + 8]
movsd qword [esp + 0x78], xmm0
movsd xmm2, qword [esp + 0x78]
movsd qword [eax], xmm3
movsd qword [eax + 8], xmm1
movsd xmm1, qword [esp + 0x80]
movsd qword [eax + esi], xmm2
movsd qword [eax + esi + 8], xmm1
add eax, 0x10
mov esi, dword [edx]
mov ebx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x40], edx
mov edx, eax
mov dword [esp + 8], esi
mov dword [esp + 0x1c], ebx
cmp ecx, edi
je 0x420169
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
cmp esi, dword [edx]
sbb ebx, dword [edx + 4]
jae 0x42016b
inc edi
add edx, 0x10
jmp 0x420150
mov edi, ecx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
shl edx, 4
lea edx, [esi + edx - 0x10]
mov esi, ecx
cmp edi, ecx
jae 0x420195
mov ecx, dword [esp + 8]
cmp ecx, dword [edx]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [edx + 4]
lea ecx, [esi - 1]
lea edx, [edx - 0x10]
jae 0x42017a
cmp edi, esi
ja 0x420643
mov ecx, esi
mov dword [esp + 0x68], edi
shl edi, 4
mov dword [esp + 0x64], esi
xor esi, esi
mov dword [esp + 0x18], 0x80
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0x80
add edi, eax
shl ecx, 4
add ecx, eax
mov ebx, edi
mov dword [esp + 0x3c], edi
mov edi, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 4], ecx
sub edi, ebx
cmp edi, 0x1010
mov dword [esp + 0x44], edi
jae 0x420251
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
shr edi, 4
mov ecx, esi
cmp esi, edx
lea esi, [edi - 0x80]
setb bl
cmp eax, dword [esp + 0x28]
mov eax, edi
setb bh
or bh, bl
test bh, bh
cmovne eax, esi
cmp ecx, edx
mov edx, dword [esp + 0x18]
cmovb edx, esi
mov esi, ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
cmovae edx, eax
test bh, bh
mov dword [esp + 0x20], edx
jne 0x420251
mov eax, dword [esp + 0x44]
shr eax, 5
sub edi, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
cmp esi, edx
jne 0x42028f
mov eax, dword [esp + 0x24]
xor ebx, ebx
lea edx, [esp + 0xfc]
cmp dword [esp + 0x20], ebx
je 0x420288
mov esi, dword [esp + 8]
mov byte [edx], bl
inc ebx
cmp esi, dword [eax]
mov esi, dword [esp + 0x1c]
sbb esi, dword [eax + 4]
sbb edx, 0xffffffff
add eax, 0x10
jmp 0x42026a
lea esi, [esp + 0xfc]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
cmp edi, ebx
jne 0x4202ca
lea eax, [ecx - 0x10]
xor edx, edx
lea ebx, [esp + 0x78]
cmp dword [esp + 0x18], edx
je 0x4202c2
mov edi, dword [esp + 8]
mov byte [ebx], dl
inc edx
cmp edi, dword [eax]
mov edi, dword [esp + 0x1c]
sbb edi, dword [eax + 4]
adc ebx, 0
add eax, 0xfffffff0
jmp 0x4202a4
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x78]
mov eax, edx
mov dword [esp + 0x28], ebx
sub ebx, edi
sub eax, esi
cmp eax, ebx
cmovb ebx, eax
test ebx, ebx
je 0x420391
mov dword [esp + 0xc], edi
movzx edi, byte [esi]
mov eax, esi
mov ecx, esi
mov esi, dword [esp + 0x24]
dec ebx
shl edi, 4
mov edx, dword [esi + edi]
lea eax, [esi + edi]
mov dword [esp + 0x74], edx
mov edx, dword [esi + edi + 4]
mov edi, dword [esi + edi + 8]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edi
movzx edi, byte [esi]
mov edx, dword [esp + 4]
not edi
shl edi, 4
sub ebx, 1
movsd xmm0, qword [edx + edi]
movsd xmm1, qword [edx + edi + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jb 0x42036a
movzx eax, byte [ecx + 1]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 4]
inc ecx
inc esi
shl eax, 4
movsd xmm0, qword [edx + eax]
movsd xmm1, qword [edx + eax + 8]
add eax, edx
movsd qword [ebx + edi + 8], xmm1
movsd qword [ebx + edi], xmm0
mov ebx, dword [esp + 0xc]
jmp 0x420312
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x6c]
inc ecx
inc esi
mov dword [eax + edi + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + edi], edx
mov edx, dword [esp + 0x70]
mov dword [eax + edi + 8], edx
mov edx, dword [esp + 0x14]
mov edi, esi
mov esi, ecx
mov ecx, eax
cmp esi, edx
mov eax, 0
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edi
cmove eax, dword [esp + 0x20]
neg edx
shl eax, 4
add ebx, eax
cmp edi, dword [esp + 0x28]
mov edi, 0
cmovne edx, edi
shl edx, 4
add ecx, edx
cmp dword [esp + 0x44], 0x1010
jae 0x4201e1
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp esi, edi
jae 0x42043a
mov edx, dword [esp + 0x40]
cmp esi, edi
jae 0x4204a3
movzx eax, byte [edi - 1]
movsd xmm3, qword [ecx - 8]
dec edi
shl eax, 4
movsd xmm0, qword [ebx + eax]
movsd xmm1, qword [ebx + eax + 8]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [ecx - 0x10]
movsd qword [esp + 0x58], xmm1
movsd qword [ebx + eax + 8], xmm3
movsd xmm2, qword [esp + 0x58]
movsd qword [ebx + eax], xmm0
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x10]
movsd qword [ecx - 8], xmm2
movsd qword [ecx - 0x10], xmm0
add ecx, 0xfffffff0
jmp 0x4203df
mov edi, dword [esp + 0xc]
cmp edi, dword [esp + 0x28]
jae 0x4204a7
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
cmp edi, edx
jae 0x4204b1
movzx eax, byte [edx - 1]
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
dec edx
not eax
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm1
shl eax, 4
movsd xmm2, qword [esp + 0x58]
movsd xmm0, qword [ecx + eax]
movsd xmm1, qword [ecx + eax + 8]
movsd qword [ebx], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [ebx + 8], xmm1
movsd qword [ecx + eax + 8], xmm2
add ebx, 0x10
movsd qword [ecx + eax], xmm0
mov eax, dword [esp + 0x10]
jmp 0x42044c
mov ebx, ecx
jmp 0x4204ab
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x4204b5
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
sub ebx, esi
shr ebx, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
add ebx, ecx
mov edi, ebx
mov ebx, edx
sub ebx, edi
jbe 0x420643
cmp ecx, dword [esp + 0x64]
mov eax, edi
mov ecx, ebx
setae byte [esp + 0x14]
shl eax, 4
cmp edi, ebx
cmovb ecx, edi
shr edx, 3
cmp ecx, edx
mov ecx, dword [esp + 0x10]
setae byte [esp + 0x18]
dec ebx
cmp edi, ebx
lea ecx, [ecx + eax]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x10]
movsd xmm0, qword [ecx]
mov ecx, dword [esp + 0x10]
movsd xmm1, qword [ecx + 8]
mov ecx, dword [esp + 0x10]
movsd qword [esp + 0x78], xmm0
lea esi, [ecx + eax + 0x10]
mov ecx, dword [esp + 0x10]
movsd qword [esp + 0x80], xmm1
movsd xmm0, qword [esi - 0x10]
movsd xmm1, qword [esi - 8]
movsd xmm2, qword [esp + 0x80]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x78]
movsd qword [ecx + 8], xmm1
movsd qword [esi - 8], xmm2
movsd qword [esi - 0x10], xmm0
jb 0x420587
mov ecx, esi
mov edx, ebx
push dword [esp + 0x30]
push dword [esp + 8]
push dword [ebp + 8]
call fcn.0041fd0b
mov esi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x41fd38
mov edx, edi
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [ebp + 8]
call fcn.0041fd0b
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
jmp 0x41fd36
cmp edi, 1
jbe 0x4205bc
mov ecx, dword [esp + 8]
mov edx, edi
push 1
call fcn.0041f0c4
pop eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, edi
shr esi, 1
dec esi
cmp esi, 0xffffffff
je 0x4205df
mov edx, edi
push esi
call fcn.00420645
mov ecx, dword [esp + 0xc]
add esp, 4
jmp 0x4205c8
mov eax, edi
shl eax, 4
lea esi, [ecx + eax - 0x10]
cmp edi, 2
jb 0x4205bc
mov ecx, dword [esp + 8]
movsd xmm3, qword [esi + 8]
dec edi
mov edx, edi
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [esi]
movsd qword [esp + 0x80], xmm1
movsd qword [ecx + 8], xmm3
movsd xmm2, qword [esp + 0x80]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x78]
movsd qword [esi + 8], xmm2
movsd qword [esi], xmm0
push 0
call fcn.00420645
pop eax
add esi, 0xfffffff0
jmp 0x4205e8
ud2