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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov edi, dword [esp + 0xf0]
mov esi, dword [esp + 0xf4]
mov ebp, dword [esp + 0xf8]
mov ebx, dword [esp + 0xfc]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call sym.libquadmath_0.dll_isnanq
mov dword [esp + 0x38], eax
test eax, eax
je 0x6d138390
mov eax, dword [esp + 0xe0]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebx
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call sym.libquadmath_0.dll_isinfq
test eax, eax
je 0x6d1383e0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call sub.libgcc_s_dw2_1.dll___gttf2
test eax, eax
jg 0x6d138372
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call sub.libgcc_s_dw2_1.dll___eqtf2
test eax, eax
je 0x6d138372
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call sub.libgcc_s_dw2_1.dll___lttf2
test eax, eax
js 0x6d1385a0
call fcn.6d16e9c0
mov dword [esp + 0x74], 2
cmp eax, 0x800
je 0x6d13848d
mov dword [esp + 0x74], 1
cmp eax, 0xc00
je 0x6d13848d
cmp eax, 0x400
sete al
movzx eax, al
lea eax, [eax + eax*2]
mov dword [esp + 0x74], eax
mov eax, ebx
mov dword [esp + 0xbc], ebx
shr eax, 0x10
mov word [esp + 0x48], bx
mov ecx, eax
movzx eax, bx
shr ebx, 0x1f
mov dword [esp + 0xb0], edi
movzx edx, bl
and cx, 0x7fff
mov dword [esp + 0xb4], esi
mov dword [esp + 0x44], edx
mov edx, ecx
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xa0], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], eax
je 0x6d138680
cmp cx, 0x7fff
je 0x6d138640
or eax, 0x10000
lea ebp, [esp + 0xa0]
mov dword [esp + 0xac], eax
mov ecx, eax
lea eax, [esp + 0xac]
lea esi, [ecx*8]
mov ecx, dword [eax - 4]
sub eax, 4
mov ebx, ecx
shr ebx, 0x1d
or ebx, esi
mov dword [eax + 4], ebx
cmp ebp, eax
jne 0x6d13851a
shl edi, 3
movzx eax, dx
mov dword [esp + 0xa0], edi
lea edi, [eax - 0x3fff]
mov edx, dword [esp + 0x44]
test edx, edx
je 0x6d138719
mov dword [esp + 0x40], 0
mov ebx, 1
mov eax, 0xffff8000
xor ecx, ecx
mov dword [esp + 0x3c], 0
mov edx, 0x7fff
shl ebx, 0xf
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov edi, ecx
or ebx, edx
mov word [esp + 0x9c], ax
mov word [esp + 0x9e], bx
mov ebx, dword [esp + 0x9c]
jmp 0x6d138372
lea eax, [esp + 0x80]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp], eax
call sub.libgcc_s_dw2_1.dll___subtf3
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp], eax
call sub.libgcc_s_dw2_1.dll___divtf3
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
jmp 0x6d138372
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
or ecx, edi
or ecx, esi
or ecx, eax
jne 0x6d138b51
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x6d138554
mov dword [esp + 0x40], 0
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x3c], 0
jmp 0x6d138575
mov ecx, esi
or ecx, edi
or ecx, ebp
or ecx, eax
je 0x6d138b3a
test eax, eax
je 0x6d138ddc
bsr eax, eax
xor eax, 0x1f
lea esi, [eax - 0xc]
mov dword [esp + 0x3c], eax
mov eax, 0x20
sub eax, esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], edi
lea ebp, [esp + 0xa0]
neg eax
lea ebx, [ebp + eax*4]
mov eax, 3
mov edx, dword [ebx + eax*4]
mov ecx, esi
mov edi, dword [ebx + eax*4 - 4]
shl edx, cl
movzx ecx, byte [esp + 0x40]
shr edi, cl
or edx, edi
mov dword [ebp + eax*4], edx
sub eax, 1
cmp dword [esp + 0x38], eax
jl 0x6d1386c8
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
mov ecx, esi
shl edi, cl
lea eax, [ebx - 1]
mov dword [esp + ebx*4 + 0xa0], edi
test ebx, ebx
jne 0x6d138e35
mov esi, dword [esp + 0x3c]
mov eax, 0xffffc011
sub eax, esi
mov edi, eax
jmp 0x6d138548
mov esi, dword [esp + 0xa0]
test edi, 1
je 0x6d138756
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0xac]
lea ebx, [ecx + ecx]
mov ecx, dword [eax - 4]
sub eax, 4
mov edx, ecx
shr edx, 0x1f
or edx, ebx
mov dword [eax + 4], edx
cmp ebp, eax
jne 0x6d138736
add esi, esi
mov dword [esp + 0xa0], esi
sar edi, 1
mov byte [esp + 0x3c], 0
mov ebx, 0x80000
mov dword [esp + 0x7c], edi
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x38], 0x14
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
lea esi, [esi]
mov eax, dword [esp + 0x40]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0xac]
cmp eax, ecx
jb 0x6d1387db
lea edi, [ecx + ebx]
sub eax, ecx
add dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0xac], eax
mov byte [esp + 0x3c], 1
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0xac]
lea edi, [ecx + ecx]
mov ecx, dword [eax - 4]
mov edx, ecx
shr edx, 0x1f
or edx, edi
mov edi, eax
lea eax, [eax - 4]
mov dword [eax + 4], edx
cmp ebp, eax
jne 0x6d1387e9
add esi, esi
shr ebx, 1
sub dword [esp + 0x38], 1
mov dword [esp + 0xa0], esi
jne 0x6d1387b0
cmp byte [esp + 0x3c], 0
je 0x6d138826
mov eax, dword [esp + 0x44]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x3c], 0x20
mov ebp, edi
mov edi, dword [esp + 0x40]
mov esi, 0x80000000
lea esi, [esi]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xa8]
lea ecx, [esi + eax]
mov eax, dword [esp + 0xac]
cmp edi, eax
jb 0x6d138b70
cmp eax, edi
je 0x6d138b68
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0xac]
lea edi, [ecx + ecx]
mov ecx, dword [eax - 4]
mov ebx, eax
sub eax, 4
mov edx, ecx
shr edx, 0x1f
or edx, edi
mov dword [eax + 4], edx
cmp ebp, ebx
jne 0x6d138877
mov eax, dword [esp + 0xa0]
shr esi, 1
mov edi, dword [esp + 0x40]
add eax, eax
sub dword [esp + 0x3c], 1
mov dword [esp + 0xa0], eax
jne 0x6d138840
mov edx, dword [esp + 0xb4]
mov ebx, edi
mov edi, ebp
mov ebp, eax
mov dword [esp + 0x4c], 0x20
xor esi, esi
mov eax, 0x80000000
mov dword [esp + 0x70], edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], edi
mov edi, ebx
mov ebx, esi
mov esi, eax
nop
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa8]
lea edx, [eax + esi]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x40], ecx
cmp edi, eax
jb 0x6d138ba0
cmp eax, edi
je 0x6d138d50
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0xac]
lea ebp, [ecx + ecx]
mov ecx, dword [eax - 4]
mov edi, eax
sub eax, 4
mov edx, ecx
shr edx, 0x1f
or edx, ebp
mov dword [eax + 4], edx
cmp dword [esp + 0x44], edi
jne 0x6d13891b
shl dword [esp + 0x48], 1
shr esi, 1
mov eax, dword [esp + 0x48]
sub dword [esp + 0x4c], 1
mov edi, dword [esp + 0x40]
mov dword [esp + 0xa0], eax
jne 0x6d1388e0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov ebp, eax
test bl, bl
je 0x6d138ebb
mov eax, dword [esp + 0x70]
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0xb0]
mov eax, 0x80000000
mov dword [esp + 0x44], edi
xor esi, esi
mov dword [esp + 0x68], 0x1d
mov edi, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x78], edx
lea esi, cs:[esi]
lea esi, cs:[esi]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xa8]
lea ecx, [edi + eax]
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0xac]
cmp dword [esp + 0x40], eax
jb 0x6d138c40
mov ebx, dword [esp + 0x40]
cmp eax, ebx
je 0x6d138d80
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0xac]
lea ebp, [ecx + ecx]
mov ecx, dword [eax - 4]
mov ebx, eax
sub eax, 4
mov edx, ecx
shr edx, 0x1f
or edx, ebp
mov dword [eax + 4], edx
cmp dword [esp + 0x44], ebx
jne 0x6d1389e1
mov ebp, dword [esp + 0x48]
shr edi, 1
add ebp, ebp
sub dword [esp + 0x68], 1
mov dword [esp + 0xa0], ebp
jne 0x6d1389a0
mov eax, esi
mov edx, dword [esp + 0x78]
test al, al
je 0x6d138ec4
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb0], eax
mov ebx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov eax, ebx
or eax, ecx
or eax, edx
or eax, ebp
je 0x6d138e78
mov eax, dword [esp + 0x40]
cmp eax, edx
jb 0x6d138ef7
cmp edx, eax
je 0x6d138ecd
or dword [esp + 0x6c], 1
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x6d138ea5
cmp dword [esp + 0x74], 2
jne 0x6d138ac7
mov eax, dword [esp + 0x6c]
add eax, 8
mov dword [esp + 0xb0], eax
cmp eax, 7
setbe al
mov esi, dword [esp + 0x70]
movzx eax, al
add eax, esi
mov dword [esp + 0xb4], eax
setb al
movzx eax, al
add dword [esp + 0xb8], eax
adc edx, 0
mov dword [esp + 0xbc], edx
test edx, 0x100000
jne 0x6d138dc0
mov ebx, dword [esp + 0x7c]
add ebx, 0x3fff
mov esi, dword [esp + 0xb0]
lea eax, [esp + 0xb0]
lea ebp, [esp + 0xbc]
shr esi, 3
add eax, 4
mov edi, esi
mov esi, dword [eax]
mov ecx, esi
shl ecx, 0x1d
or ecx, edi
mov dword [eax - 4], ecx
cmp ebp, eax
jne 0x6d138af2
mov eax, dword [esp + 0xb4]
shr edx, 3
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x40], eax
mov eax, edx
mov edx, ebx
xor ebx, ebx
and dx, 0x7fff
jmp 0x6d138575
mov dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x3c], 0
jmp 0x6d138575
movzx eax, word [esp + 0x48]
mov ecx, edi
or ax, 0x8000
jmp 0x6d138570
cmp edx, ecx
jb 0x6d138865
mov ebx, ecx
add ebx, esi
mov dword [esp + 0x38], ebx
mov ebx, edi
adc ebx, 0
add dword [esp + 0xb8], esi
sub edx, ecx
sbb eax, edi
mov edi, ebx
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], edx
jmp 0x6d138865
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x50], ebx
mov ebx, edx
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
add ebx, esi
mov dword [esp + 0x3c], ebx
setb bl
movzx ebx, bl
add ebx, ebp
mov dword [esp + 0x54], ebx
mov ebx, edi
adc ebx, 0
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x50]
sub ebx, edx
setb dl
sub ecx, ebp
mov dword [esp + 0x50], ebx
setb bl
sub eax, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
movzx ebx, bl
cmp ebp, edi
mov edi, dword [esp + 0x38]
sete cl
add dword [esp + 0x70], esi
and ecx, edx
movzx edx, dl
or ecx, ebx
mov ebx, dword [esp + 0x54]
movzx ecx, cl
sub eax, ecx
mov dword [esp + 0x38], ebx
mov ebx, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x58]
sub eax, edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xa4], eax
jmp 0x6d138909
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x54], esi
mov ebx, ecx
mov esi, dword [esp + 0x3c]
add ebx, edi
mov dword [esp + 0x4c], ebx
setb bl
mov edx, esi
movzx ebx, bl
add edx, ebx
setb bl
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x38]
movzx ebx, bl
add edx, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x54]
adc ebx, 0
sub ebp, ecx
mov ecx, edx
setb byte [esp + 0x48]
sub ecx, esi
mov dword [esp + 0x58], ebx
movzx ebx, byte [esp + 0x48]
mov dword [esp + 0x54], ecx
setb cl
movzx ecx, cl
movzx esi, bl
mov dword [esp + 0x64], ebp
mov dword [esp + 0x48], ecx
mov byte [esp + 0x48], bl
mov ebx, dword [esp + 0x54]
sub ebx, esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x38]
sub esi, ebx
cmp dword [esp + 0x3c], edx
jne 0x6d138cce
cmp byte [esp + 0x48], 0
jne 0x6d138d38
sub esi, ecx
test ecx, ecx
jne 0x6d138d3b
xor edx, edx
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x50], ebx
setb dl
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xa8], esi
mov esi, 1
add dword [esp + 0x6c], edi
sub eax, ebx
sub eax, edx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
jmp 0x6d1389cf
sub esi, 1
xor edx, edx
mov ebx, dword [esp + 0x50]
cmp dword [esp + 0x38], ebx
setae dl
jmp 0x6d138ce1
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0x38], ebp
jb 0x6d138ba0
jne 0x6d138909
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x50], ecx
cmp ecx, edx
jb 0x6d138909
jmp 0x6d138bab
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x38], edx
jb 0x6d138c40
jne 0x6d1389cf
mov ebx, dword [esp + 0xa4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], ebx
cmp edx, ebx
jb 0x6d138c4b
cmp ebx, edx
jne 0x6d1389cf
cmp ebp, ecx
jb 0x6d1389cf
jmp 0x6d138c4b
mov ebx, dword [esp + 0x7c]
and edx, 0xffefffff
mov dword [esp + 0xbc], edx
add ebx, 0x4000
jmp 0x6d138add
test ebp, ebp
je 0x6d138f1a
bsr eax, ebp
xor eax, 0x1f
lea edx, [eax + 0x14]
mov esi, edx
and esi, 0x1f
jne 0x6d138f6a
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0x2c
mov ebx, dword [esp + 0x38]
lea ebp, [esp + 0xa0]
mov eax, ebx
neg eax
lea edx, [ebp + eax*4]
mov eax, 3
mov ecx, dword [edx + eax*4]
mov dword [ebp + eax*4], ecx
sub eax, 1
cmp ebx, eax
jle 0x6d138e20
mov eax, dword [esp + 0x38]
sub eax, 1
lea edx, [eax*4 + 4]
mov ecx, 4
mov dword [ebp], 0
xor ebx, ebx
and eax, 1
cmp ecx, edx
jae 0x6d138707
test eax, eax
jne 0x6d138f01
mov dword [ebp + ecx], ebx
mov dword [ebp + ecx + 4], ebx
add ecx, 8
cmp ecx, edx
jb 0x6d138e5d
jmp 0x6d138707
mov edx, dword [esp + 0xbc]
test byte [esp + 0x6c], 7
je 0x6d138ac7
cmp dword [esp + 0x74], 0
jne 0x6d138a85
mov eax, dword [esp + 0x6c]
and eax, 0xf
cmp eax, 4
je 0x6d138ac7
mov eax, dword [esp + 0x6c]
add eax, 4
mov dword [esp + 0xb0], eax
cmp eax, 3
jmp 0x6d138a9d
mov dword [esp + 0x70], edx
jmp 0x6d13896f
mov dword [esp + 0x6c], edx
jmp 0x6d138a2b
mov eax, dword [esp + 0x38]
cmp eax, ecx
jb 0x6d138ef7
cmp ecx, eax
jne 0x6d138a62
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jb 0x6d138ef7
cmp ebx, eax
jne 0x6d138a62
cmp dword [esp + 0x4c], ebp
jae 0x6d138a62
or dword [esp + 0x6c], 4
jmp 0x6d138a62
mov ecx, 8
mov dword [ebp + 4], 0
cmp ecx, edx
jb 0x6d138e5d
jmp 0x6d138707
test esi, esi
je 0x6d138f44
bsr eax, esi
xor eax, 0x1f
lea edx, [eax + 0x34]
mov esi, edx
sar esi, 5
mov dword [esp + 0x38], esi
mov esi, edx
and esi, 0x1f
jne 0x6d138f88
mov dword [esp + 0x3c], 0x4c
jmp 0x6d138e08
bsr eax, edi
xor eax, 0x1f
lea edx, [eax + 0x54]
mov esi, edx
sar esi, 5
mov dword [esp + 0x38], esi
mov esi, edx
and esi, 0x1f
jne 0x6d138f9f
mov dword [esp + 0x3c], 0x6c
jmp 0x6d138e08
add eax, 0x20
sar edx, 5
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov eax, 0x20
sub eax, esi
mov dword [esp + 0x40], eax
jmp 0x6d1386ae
add eax, 0x40
mov dword [esp + 0x3c], eax
mov eax, 0x20
sub eax, esi
mov dword [esp + 0x40], eax
jmp 0x6d1386ae
add eax, 0x60
mov ecx, esi
mov dword [esp + 0x3c], eax
mov eax, edi
shl eax, cl
cmp dword [esp + 0x38], 2
je 0x6d138f78
mov dword [esp + 0xac], eax
lea ebp, [esp + 0xa0]
mov eax, 2
jmp 0x6d138e35