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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
fnstcw word [esp + 0x2e]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov ecx, ebp
mov esi, ebp
mov ebx, ebp
shr ecx, 0x14
and esi, 0xfffff
shr ebx, 0x1f
and ecx, 0x7ff
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
lea edi, [ecx + 1]
and edi, 0x7ff
cmp edi, 1
jle 0x6e94f740
mov ebp, esi
mov edi, edx
shr esi, 4
shl ebp, 0x1c
shr edi, 4
shl edx, 0x1c
or edi, ebp
add cx, 0x3c00
mov word [esp + 0x3c], si
movzx esi, word [esp + 0x3e]
shl ebx, 7
and si, 0x8000
or ecx, esi
mov word [esp + 0x3e], cx
shr cx, 8
and ecx, 0x7f
or ecx, ebx
xor ebx, ebx
mov byte [esp + 0x3f], cl
mov esi, dword [esp + 0x3c]
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
test ecx, ecx
mov edi, esi
jne 0x6e94f850
or edi, edx
je 0x6e94f8d2
test esi, esi
jne 0x6e94f8e0
bsr ecx, edx
xor ecx, 0x1f
lea edi, [ecx + 0x20]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x18]
lea ecx, [edi + 0x31]
mov edi, ecx
sar edi, 5
and ecx, 0x1f
mov dword [esp + 0x14], ecx
je 0x6e94f8f0
cmp edi, 3
mov ebp, 2
lea esi, [esp + 0x40]
je 0x6e94f7dc
lea esi, [esp + 0x40]
mov edx, edi
mov dword [esp + 0x70], eax
neg edx
lea ebp, [esi + edx*4 + 0xc]
mov edx, 0x20
sub edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
nop
lea esi, [esi]
movzx ecx, byte [esp + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp]
shr edx, cl
movzx ecx, byte [esp + 0x14]
shl eax, cl
or edx, eax
mov dword [ebp + edi*4], edx
sub ebp, 4
cmp ebp, esi
jne 0x6e94f7b0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
lea ebp, [edi - 1]
movzx ecx, byte [esp + 0x14]
shl edx, cl
mov dword [esp + edi*4 + 0x40], edx
mov esi, esi
lea edi, [edi]
mov dword [esi + ebp*4], 0
sub ebp, 1
cmp ebp, 0xffffffff
jne 0x6e94f7f0
mov edx, dword [esp + 0x4c]
movzx ecx, word [esp + 0x3e]
shl ebx, 7
mov edi, dword [esp + 0x48]
mov word [esp + 0x3c], dx
mov edx, 0x3c0c
sub edx, dword [esp + 0x18]
and cx, 0x8000
and dx, 0x7fff
or edx, ecx
mov ecx, 2
mov word [esp + 0x3e], dx
shr dx, 8
and edx, 0x7f
or edx, ebx
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x3f], dl
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
jmp 0x6e94f8a7
or edi, edx
je 0x6e94f8c4
mov edi, esi
shr esi, 4
mov ecx, edx
or esi, 0x8000
shl ebx, 7
shl edi, 0x1c
mov word [esp + 0x3c], si
movzx esi, word [esp + 0x3e]
shr ecx, 4
shl edx, 0x1c
or edi, ecx
or si, 0x7fff
mov word [esp + 0x3e], si
shr si, 8
and esi, 0x7f
or ebx, esi
mov byte [esp + 0x3f], bl
xor ebx, ebx
and ebp, 0x80000
mov esi, dword [esp + 0x3c]
jne 0x6e94f728
mov ecx, 1
mov dword [esp], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
call fcn.6e947730
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x6e94f728
xor edx, edx
mov ecx, 0x7fff
xor esi, esi
jmp 0x6e94f6fc
xor edx, edx
xor ecx, ecx
xor esi, esi
jmp 0x6e94f6fc
bsr edi, esi
xor edi, 0x1f
mov dword [esp + 0x18], edi
jmp 0x6e94f767
lea esi, [esp + 0x40]
mov edx, edi
lea ecx, [esp + 0x30]
neg edx
lea edx, [esi + edx*4]
mov ebp, dword [edx + 0xc]
mov dword [edx + edi*4 + 0xc], ebp
sub edx, 4
cmp edx, ecx
jne 0x6e94f8ff
lea ebp, [edi - 1]
jmp 0x6e94f7f0