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

Disassembly:
push ebp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov word [esp + 0x2e], si
fnstcw word [esp + 0x2e]
mov edi, eax
movzx esi, ax
mov dword [esp + 0x3c], eax
shr edi, 0x10
shr eax, 0x18
shr al, 7
mov dword [esp + 0x30], ebx
movzx ebp, al
mov dword [esp + 0x40], ebx
mov ebx, edi
mov dword [esp + 0x34], edx
and ebx, 0x7fff
mov dword [esp + 0x44], edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
shr ecx, 0x1d
sub eax, 4
shl esi, 3
or ecx, esi
mov dword [eax + 4], ecx
cmp eax, edx
je 0x6ced0040
mov esi, dword [eax]
mov ecx, dword [eax - 4]
jmp 0x6ced0023
mov eax, dword [esp + 0x40]
lea ecx, [eax*8]
lea eax, [ebx + 1]
and eax, 0x7fff
cmp eax, 1
mov dword [esp + 0x40], ecx
jle 0x6ced0201
lea eax, [ebx - 0x3c00]
cmp eax, 0x7fe
jg 0x6ced0170
test eax, eax
jle 0x6ced0356
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov edi, ebx
shr esi, 0x1c
shl ebx, 4
or ebx, esi
mov esi, dword [esp + 0x44]
shl edx, 4
shr edi, 0x1c
shl esi, 4
or esi, ecx
setne cl
or edx, edi
movzx ecx, cl
or ebx, ecx
mov esi, ebx
and esi, 7
xor ecx, ecx
test esi, esi
je 0x6ced00e1
movzx esi, word [esp + 0x2e]
mov ecx, 0x20
and si, 0xc00
cmp si, 0x400
je 0x6ced0268
cmp si, 0x800
je 0x6ced0343
test si, si
je 0x6ced02e0
mov esi, edx
and esi, 0x800000
test eax, eax
je 0x6ced0198
test esi, esi
jne 0x6ced01b6
mov esi, edx
mov edi, eax
shl esi, 0x1d
and di, 0x7ff
shr ebx, 3
shr edx, 3
or esi, ebx
cmp eax, 0x7ff
je 0x6ced01f0
and edx, 0xfffff
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
and edx, 0xfffff
mov dword [esp + 8], esi
and eax, 0xfff00000
or eax, edx
mov edx, edi
shl edx, 0x14
and eax, 0x800fffff
or eax, edx
mov edx, ebp
shl edx, 0x1f
and eax, 0x7fffffff
or eax, edx
test ecx, ecx
mov dword [esp + 0xc], eax
fld qword [esp + 8]
jne 0x6ced056c
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx esi, word [esp + 0x2e]
and si, 0xc00
jne 0x6ced0233
mov eax, 0x7ff
mov ecx, 0x28
xor esi, esi
xor edx, edx
xor ebx, ebx
test eax, eax
jne 0x6ced00f1
mov edi, edx
or edi, ebx
je 0x6ced00f1
test cl, 0x20
je 0x6ced02d0
or ecx, 0x10
test esi, esi
je 0x6ced00f9
add eax, 1
cmp eax, 0x7ff
je 0x6ced0301
and edx, 0xff7fffff
mov edi, eax
mov esi, edx
and di, 0x7ff
shl esi, 0x1d
shr ebx, 3
shr edx, 3
or esi, ebx
and edx, 0xfffff
jmp 0x6ced011e
mov eax, edx
or eax, esi
je 0x6ced0275
or edx, 0x80000
jmp 0x6ced0118
test ebx, ebx
jne 0x6ced0280
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x44]
or eax, dword [esp + 0x4c]
or eax, ecx
je 0x6ced0460
movzx esi, word [esp + 0x2e]
mov ecx, 0x22
xor edx, edx
mov bl, 1
xor eax, eax
and si, 0xc00
jmp 0x6ced00c2
cmp si, 0x800
je 0x6ced0470
cmp si, 0x400
je 0x6ced04b0
cmp si, 0x400
mov ecx, 0x28
mov edx, 0xffffffff
mov ebx, 0xffffffff
mov eax, 0x7fe
jne 0x6ced00cd
test ebp, ebp
jne 0x6ced034b
jmp 0x6ced00e1
xor edx, edx
xor esi, esi
jmp 0x6ced011e
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov edi, edx
or edi, esi
or edi, eax
or edi, ecx
je 0x6ced0454
xor ecx, ecx
cmp ebx, 0x7fff
je 0x6ced0493
mov ebx, edx
shl eax, 4
shl ebx, 4
shr esi, 0x1c
shr edx, 0x1c
or ebx, esi
or edx, eax
and ebx, 0xfffffff8
or edx, 0x400000
mov eax, 0x7ff
jmp 0x6ced00e1
test byte [esp + 0x2e], 0x10
je 0x6ced00f1
jmp 0x6ced01ab
mov esi, ebx
and esi, 0xf
cmp esi, 4
je 0x6ced00e1
add ebx, 4
adc edx, 0
mov esi, edx
and esi, 0x800000
jmp 0x6ced0190
movzx edx, word [esp + 0x2e]
and dx, 0xc00
je 0x6ced0446
cmp dx, 0x800
je 0x6ced043e
cmp dx, 0x400
je 0x6ced04a3
mov edi, 0x7fe
mov esi, 0xffffffff
mov edx, 0x1fffffff
mov eax, 0x7fe
or ecx, 0x28
jmp 0x6ced010d
test ebp, ebp
jne 0x6ced00e1
add ebx, 8
adc edx, 0
jmp 0x6ced00e1
cmp eax, 0xffffffcc
jl 0x6ced0480
mov edi, dword [esp + 0x4c]
mov esi, 0x3c3d
sub esi, ebx
lea eax, [esi + 0x1f]
mov ebx, esi
or edi, 0x80000
test esi, esi
cmovns eax, esi
sar ebx, 0x1f
shr ebx, 0x1b
add esi, ebx
mov dword [esp + 8], esi
sar eax, 5
and dword [esp + 8], 0x1f
sub dword [esp + 8], ebx
test eax, eax
mov dword [esp + 0x4c], edi
jle 0x6ced0547
lea ebx, [esp + 0x44]
lea esi, [edx + eax*4]
mov dword [esp + 0x14], edi
xor edi, edi
or edi, ecx
cmp ebx, esi
mov dword [esp + 0x10], 0
je 0x6ced03cb
lea esi, [esi]
mov ecx, dword [ebx]
add ebx, 4
or edi, ecx
cmp ebx, esi
jne 0x6ced03c0
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov ecx, eax
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x6ced04c5
mov ecx, 3
mov ebx, ecx
sub ebx, eax
js 0x6ced0565
mov ecx, edx
lea esi, [esp + ebx*4 + 0x44]
mov ebx, dword [ecx + eax*4]
add ecx, 4
mov dword [ecx - 4], ebx
cmp ecx, esi
jne 0x6ced03f6
mov ebx, 4
sub ebx, eax
jmp 0x6ced041a
mov dword [edx + ebx*4], 0
add ebx, 1
cmp ebx, 3
jle 0x6ced0410
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov edx, dword [esp + 0x44]
test eax, eax
setne bl
xor eax, eax
or ebx, dword [esp + 0x40]
mov esi, ebx
and esi, 7
jmp 0x6ced00ad
test ebp, ebp
jne 0x6ced0327
mov edi, 0x7ff
xor esi, esi
xor edx, edx
jmp 0x6ced033b
mov eax, 0x7ff
xor ecx, ecx
jmp 0x6ced018a
xor eax, eax
xor ecx, ecx
jmp 0x6ced018a
test ebp, ebp
je 0x6ced0180
jmp 0x6ced0249
mov esi, 1
xor edx, edx
mov ebx, 1
xor eax, eax
jmp 0x6ced00ad
mov ecx, eax
shr ecx, 0x12
xor ecx, 1
and ecx, 1
jmp 0x6ced02a8
test ebp, ebp
je 0x6ced0327
jmp 0x6ced0446
test ebp, ebp
jne 0x6ced0180
nop
lea esi, [esi]
jmp 0x6ced0249
mov ebx, dword [esp + 8]
mov dword [esp + 0x14], 0x20
sub dword [esp + 0x14], ebx
mov ebx, dword [esp + ecx*4 + 0x40]
movzx ecx, byte [esp + 0x14]
mov dword [esp + 0x1c], 3
sub dword [esp + 0x1c], eax
shl ebx, cl
mov ecx, dword [esp + 0x1c]
or dword [esp + 0x10], ebx
test ecx, ecx
jle 0x6ced0556
lea edi, [edx + ecx*4]
mov ebx, edx
mov dword [esp + 0x18], edi
mov edi, ebp
mov ebp, dword [ebx + eax*4 + 4]
movzx ecx, byte [esp + 0x14]
mov esi, dword [ebx + eax*4]
add ebx, 4
shl ebp, cl
movzx ecx, byte [esp + 8]
shr esi, cl
or ebp, esi
mov dword [ebx - 4], ebp
cmp ebx, dword [esp + 0x18]
jne 0x6ced0503
mov ebp, edi
mov edi, dword [esp + 0x4c]
mov ebx, 4
sub ebx, eax
movzx ecx, byte [esp + 8]
mov eax, dword [esp + 0x1c]
shr edi, cl
mov dword [esp + eax*4 + 0x40], edi
jmp 0x6ced041a
mov dword [esp + 0x10], 0
xor ecx, ecx
jmp 0x6ced03d5
mov ebx, 1
mov dword [esp + 0x1c], 0
jmp 0x6ced0533
xor ebx, ebx
jmp 0x6ced0410
fstp st(0)
mov dword [esp], ecx
call dbg.__sfp_handle_exceptions
fld qword [esp + 8]
jmp 0x6ced0163