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

Disassembly:
push ebp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0xac
mov edi, dword [esp + 0xe0]
mov ebx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xe4]
mov eax, dword [esp + 0xdc]
mov word [esp + 0x4e], si
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0xec]
fnstcw word [esp + 0x4e]
movzx esi, ax
mov ebp, eax
mov dword [esp + 0x8c], eax
shr eax, 0x18
shr al, 7
shr ebp, 0x10
mov byte [esp + 0xc], al
movzx eax, al
mov dword [esp + 0x2c], eax
mov eax, ebp
and eax, 0x7fff
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov word [esp + 0x14], si
mov dword [esp + 0x5c], esi
mov dword [esp + 0x28], eax
je 0x6e94b0a0
cmp eax, 0x7fff
je 0x6e94b076
or esi, 0x10000
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x50]
lea eax, [esp + 0x5c]
shr edx, 0x1d
sub eax, 4
shl esi, 3
or edx, esi
mov dword [eax + 4], edx
cmp eax, ecx
je 0x6e94b190
mov esi, dword [eax]
mov edx, dword [eax - 4]
jmp 0x6e94b059
or ecx, ebx
or ecx, edx
or ecx, esi
jne 0x6e94b490
mov dword [esp + 0x24], 8
mov ebp, 2
mov dword [esp + 0x14], 0
jmp 0x6e94b1af
mov eax, ecx
or eax, ebx
or eax, edx
or eax, esi
je 0x6e94b4b4
test esi, esi
je 0x6e94b9d0
bsr eax, esi
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0x1f
mov eax, dword [esp + 0x20]
mov edx, eax
sub edx, 0xc
lea ebp, [eax + 0x13]
mov eax, edx
cmovns ebp, edx
sar eax, 0x1f
shr eax, 0x1b
add edx, eax
and edx, 0x1f
sar ebp, 5
sub edx, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], edx
je 0x6e94b943
cmp ebp, 2
jg 0x6e94bc96
lea esi, [esp + 0x50]
mov ebx, dword [esp + 0x14]
mov eax, 3
sub eax, ebp
mov dword [esp + 0x24], 0x20
lea eax, [esi + eax*4]
sub dword [esp + 0x24], ebx
mov ebx, esi
mov esi, edi
mov edi, ebx
mov edx, dword [eax - 4]
movzx ecx, byte [esp + 0x24]
mov ebx, dword [eax]
shr edx, cl
movzx ecx, byte [esp + 0x14]
shl ebx, cl
or edx, ebx
mov dword [eax + ebp*4], edx
sub eax, 4
cmp eax, edi
jne 0x6e94b11e
mov ebx, dword [esp + 0x50]
mov edi, esi
sub ebp, 1
movzx ecx, byte [esp + 0x14]
mov eax, dword [esp + 0x28]
shl ebx, cl
mov dword [esp + eax*4 + 0x50], ebx
test ebp, ebp
js 0x6e94b169
lea esi, [esp + 0x50]
mov dword [esi + ebp*4], 0
sub ebp, 1
jns 0x6e94b15d
mov eax, dword [esp + 0x20]
xor ebp, ebp
mov dword [esp + 0x28], 0xffffc011
mov dword [esp + 0x24], 0
sub dword [esp + 0x28], eax
mov dword [esp + 0x14], 2
jmp 0x6e94b1af
shl dword [esp + 0x50], 3
xor ebp, ebp
sub dword [esp + 0x28], 0x3fff
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x60], eax
movzx eax, di
mov dword [esp + 0x64], esi
mov esi, edi
shr edi, 0x18
shr esi, 0x10
mov dword [esp + 0x88], ebx
mov edx, esi
mov dword [esp + 0x68], ebx
mov ebx, edi
shr bl, 7
and edx, 0x7fff
movzx edi, bl
mov dword [esp + 0x6c], eax
mov byte [esp + 0x20], bl
mov dword [esp + 0x30], edi
je 0x6e94b250
cmp edx, 0x7fff
je 0x6e94b428
mov esi, dword [esp + 0x10]
or eax, 0x10000
mov dword [esp + 0x6c], eax
lea ebx, [esp + 0x60]
lea ecx, [esp + 0x6c]
shr esi, 0x1d
sub ecx, 4
shl eax, 3
or esi, eax
mov dword [ecx + 4], esi
cmp ecx, ebx
je 0x6e94b416
mov eax, dword [ecx]
mov esi, dword [ecx - 4]
jmp 0x6e94b22f
mov ecx, dword [esp + 0x18]
mov ebx, 1
or ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x10]
or ecx, eax
je 0x6e94b332
test eax, eax
je 0x6e94b9a0
bsr eax, eax
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0x1f
mov eax, dword [esp + 0x18]
mov edx, eax
sub edx, 0xc
lea ebx, [eax + 0x13]
mov eax, edx
cmovns ebx, edx
sar eax, 0x1f
shr eax, 0x1b
add edx, eax
and edx, 0x1f
sar ebx, 5
sub edx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], edx
je 0x6e94b970
cmp ebx, 2
jg 0x6e94bca8
mov eax, 3
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x60]
sub eax, ebx
mov dword [esp + 0x1c], 0x20
lea eax, [esi + eax*4]
sub dword [esp + 0x1c], edi
mov edi, ebp
mov ebp, esi
mov edx, dword [eax - 4]
movzx ecx, byte [esp + 0x1c]
mov esi, dword [eax]
shr edx, cl
movzx ecx, byte [esp + 0x10]
shl esi, cl
or edx, esi
mov dword [eax + ebx*4], edx
sub eax, 4
cmp eax, ebp
jne 0x6e94b2d7
mov eax, dword [esp + 0x60]
mov ebp, edi
sub ebx, 1
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x38]
shl eax, cl
mov dword [esp + edi*4 + 0x60], eax
test ebx, ebx
js 0x6e94b322
lea esi, [esp + 0x60]
mov dword [esi + ebx*4], 0
sub ebx, 1
jns 0x6e94b316
or dword [esp + 0x14], 2
mov edx, 0xffffc011
sub edx, dword [esp + 0x18]
xor ebx, ebx
movzx eax, byte [esp + 0x20]
xor al, byte [esp + 0xc]
movzx eax, al
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
or eax, ebx
jmp dword [eax*4 + 0x6e9573b8]
shl dword [esp + 0x60], 3
sub edx, 0x3fff
xor ebx, ebx
jmp 0x6e94b332
mov esi, dword [esp + 0x18]
mov ebx, 2
or esi, dword [esp + 0x1c]
or esi, dword [esp + 0x10]
or esi, eax
je 0x6e94b332
mov edi, dword [esp + 0x14]
mov bl, 3
mov eax, edi
or eax, 1
test cx, cx
cmovs eax, edi
mov dword [esp + 0x14], eax
jmp 0x6e94b332
movsx eax, word [esp + 0x14]
mov ebp, 3
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x14], eax
not dword [esp + 0x14]
shr dword [esp + 0x14], 0x1f
jmp 0x6e94b1af
mov dword [esp + 0x24], 4
mov ebp, 1
mov dword [esp + 0x14], 0
jmp 0x6e94b1af
cmp ebp, 3
jg 0x6e94bcd0
mov edx, ebp
neg edx
lea eax, [esp + 0x5c]
lea ecx, [esp + ebp*4 + 0x4c]
shl edx, 2
mov ebx, dword [eax + edx]
sub eax, 4
mov dword [eax + 4], ebx
cmp eax, ecx
jne 0x6e94b95b
sub ebp, 1
jmp 0x6e94b155
cmp ebx, 3
jg 0x6e94bcc0
mov edx, ebx
neg edx
lea eax, [esp + 0x6c]
lea ecx, [esp + ebx*4 + 0x5c]
shl edx, 2
mov esi, dword [eax + edx]
sub eax, 4
mov dword [eax + 4], esi
cmp eax, ecx
jne 0x6e94b988
sub ebx, 1
jmp 0x6e94b30e
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x6e94ba82
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6e94bc82
bsr eax, dword [esp + 0x18]
xor eax, 0x1f
add eax, 0x40
mov dword [esp + 0x18], eax
jmp 0x6e94b27d
test edx, edx
jne 0x6e94ba70
test ecx, ecx
je 0x6e94bc70
bsr ecx, ecx
xor ecx, 0x1f
lea eax, [ecx + 0x40]
mov dword [esp + 0x20], eax
jmp 0x6e94b0c2
bsr edx, edx
xor edx, 0x1f
lea eax, [edx + 0x20]
mov dword [esp + 0x20], eax
jmp 0x6e94b0c2
bsr eax, dword [esp + 0x10]
xor eax, 0x1f
add eax, 0x20
mov dword [esp + 0x18], eax
jmp 0x6e94b27d
bsr eax, ebx
xor eax, 0x1f
add eax, 0x60
mov dword [esp + 0x20], eax
jmp 0x6e94b0c2
bsr eax, dword [esp + 0x1c]
xor eax, 0x1f
add eax, 0x60
mov dword [esp + 0x18], eax
jmp 0x6e94b27d
mov ebp, 2
mov dword [esp + 0x28], 3
jmp 0x6e94b146
mov eax, dword [esp + 0x1c]
mov ebx, 2
mov dword [esp + 0x38], 3
jmp 0x6e94b2ff
mov ebx, 3
jmp 0x6e94b312
mov ebp, 3
jmp 0x6e94b159