Function at 0x6d0d0000
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 esi, dword [esp + 0x74]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov edx, ebp
mov edi, ebp
mov ecx, ebp
shr edx, 0x14
shr edi, 0x1f
and ecx, 0xfffff
and edx, 0x7ff
mov dword [esp + 0x14], edi
mov ebx, esi
lea edi, [edx + 1]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
and edi, 0x7ff
cmp edi, 1
jle 0x6d0d00c0
mov edi, ecx
shl esi, 0x1c
shr ebx, 4
shl edi, 0x1c
shr ecx, 4
or ebx, edi
mov edi, esi
lea esi, [edx + 0x3c00]
movzx edx, word [esp + 0x3e]
mov word [esp + 0x3c], cx
movzx ecx, byte [esp + 0x14]
and dx, 0x8000
or edx, esi
shl ecx, 7
mov word [esp + 0x3e], dx
shr dx, 8
and edx, 0x7f
or edx, ecx
mov byte [esp + 0x3f], dl
mov esi, dword [esp + 0x3c]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
jne 0x6d0d01c0
mov edi, esi
or edi, ecx
je 0x6d0d0250
test ecx, ecx
jne 0x6d0d0260
bsr ecx, esi
xor ecx, 0x1f
lea esi, [ecx + 0x20]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x18]
lea ebp, [esi + 0x31]
mov edi, ebp
sar edi, 5
and ebp, 0x1f
je 0x6d0d0270
cmp edi, 3
mov edx, 2
lea esi, [esp + 0x40]
je 0x6d0d014c
lea esi, [esp + 0x40]
mov edx, edi
mov dword [esp + 0x70], eax
neg edx
lea ebx, [esi + edx*4 + 0xc]
mov edx, 0x20
sub edx, ebp
mov dword [esp + 0x1c], edx
movzx ecx, byte [esp + 0x1c]
mov edx, dword [ebx - 4]
mov eax, dword [ebx]
shr edx, cl
mov ecx, ebp
shl eax, cl
or edx, eax
mov dword [ebx + edi*4], edx
sub ebx, 4
cmp esi, ebx
jne 0x6d0d0125
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x40]
lea edx, [edi - 1]
mov ecx, ebp
shl ebx, cl
mov dword [esp + edi*4 + 0x40], ebx
mov dword [esi + edx*4], 0
sub edx, 1
cmp edx, 0xffffffff
jne 0x6d0d0154
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov word [esp + 0x3c], dx
mov edx, 0x3c0c
sub edx, dword [esp + 0x18]
mov ecx, edx
movzx edx, word [esp + 0x3e]
and cx, 0x7fff
and dx, 0x8000
or edx, ecx
movzx ecx, byte [esp + 0x14]
mov word [esp + 0x3e], dx
shr dx, 8
and edx, 0x7f
shl ecx, 7
or edx, ecx
mov ecx, 2
mov byte [esp + 0x3f], dl
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x6d0d0223
mov edi, esi
or edi, ecx
je 0x6d0d0240
movzx edx, word [esp + 0x3e]
mov ebx, ecx
shr ecx, 4
or ch, 0x80
mov edi, esi
shl ebx, 0x1c
mov word [esp + 0x3c], cx
movzx ecx, byte [esp + 0x14]
shr edi, 4
shl esi, 0x1c
mov dword [esp + 0x18], edi
or ebx, dword [esp + 0x18]
or dx, 0x7fff
mov edi, esi
mov word [esp + 0x3e], dx
shr dx, 8
shl ecx, 7
and edx, 0x7f
or edx, ecx
mov byte [esp + 0x3f], dl
xor edx, edx
and ebp, 0x80000
mov esi, dword [esp + 0x3c]
jne 0x6d0d00a4
mov ecx, 1
mov dword [esp], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
call fcn.6d0c7b40
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x6d0d00a4
xor ebx, ebx
mov esi, 0x7fff
xor ecx, ecx
jmp 0x6d0d0073
xor ebx, ebx
xor esi, esi
xor ecx, ecx
jmp 0x6d0d0073
bsr esi, ecx
xor esi, 0x1f
mov dword [esp + 0x18], esi
jmp 0x6d0d00e7
lea esi, [esp + 0x40]
mov edx, edi
lea ecx, [esp + 0x30]
neg edx
lea edx, [esi + edx*4]
mov ebx, dword [edx + 0xc]
mov dword [edx + edi*4 + 0xc], ebx
sub edx, 4
cmp edx, ecx
jne 0x6d0d027f
lea edx, [edi - 1]
jmp 0x6d0d0154