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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov edx, dword [0x808040]
xor edx, ebp
mov dword [esp + 0x18], edx
mov dword [ecx], 0x774e60
mov edx, dword [ebp + 8]
mov dword [ebp + 8], 0
mov dword [ecx + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [esp], ecx
mov dword [ecx + 0xc], edx
test edx, edx
je 0x6d7588
lock inc dword [edx + 4]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
test edi, edi
je 0x6d759f
lock inc dword [edi + 4]
mov esi, dword [esp]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x20]
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov edi, edx
sub edi, eax
sar edi, 4
mov dword [esp + 8], ecx
push edi
push edx
push eax
call fcn.006023d0
lea ecx, [esi + 0x30]
xorps xmm0, xmm0
movups xmmword [esi + 0x2c], xmm0
mov edx, dword [ebp + 0x28]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov edi, edx
sub edi, eax
sar edi, 4
mov dword [esp + 0xc], ecx
push edi
push edx
push eax
call fcn.006023d0
mov dword [esi + 0x6c], ebx
xorps xmm0, xmm0
movups xmmword [esi + 0x3c], xmm0
movups xmmword [esi + 0x50], xmm0
movups xmmword [esi + 0x59], xmm0
cmp dword [esi + 8], ebx
setne byte [esi + 0x70]
mov byte [esi + 0x71], 0
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
lea eax, [esi + 0x80]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebx
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x8c], eax
lea edi, [esi + 0x40]
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebx
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov ebx, ecx
sar eax, 4
mov ecx, edi
push eax
call fcn.004f9300
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
jmp 0x6d768a
mov eax, dword [esi + 8]
add eax, dword [esi]
mov ecx, dword [esi + 0xc]
adc ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ecx, edi
lea eax, [esp + 0x10]
push eax
call fcn.00619830
add esi, 0x10
cmp esi, ebx
jne 0x6d7668
mov esi, dword [esp]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, 1
adc ecx, 0
lea edx, [esp + 0x10]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, edi
push edx
call fcn.00619830
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
je 0x6d76f6
mov ecx, dword [ebp + 0x24]
mov esi, dword [ecx + 4]
cmp dword [ecx], esi
je 0x6d7a91
mov ecx, dword [esi - 8]
add ecx, dword [esi - 0x10]
mov edx, dword [esi - 4]
adc edx, dword [esi - 0xc]
shrd ecx, edx, 3
shr edx, 3
add edi, ecx
mov ecx, dword [eax - 0x10]
adc ebx, edx
add ecx, dword [eax - 8]
mov edx, dword [eax - 0xc]
adc edx, dword [eax - 4]
sub edi, ecx
sbb ebx, edx
mov esi, dword [esp]
shld ebx, edi, 3
mov dword [esp + 4], ebx
shl edi, 3
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
cmp ebx, eax
jb 0x6d77c3
mov ecx, dword [esp + 8]
mov esi, dword [ecx]
sub ebx, esi
sar ebx, 4
lea edx, [ebx + 1]
cmp edx, 0x10000000
jae 0x6d7a98
sub eax, esi
mov ecx, eax
sar ecx, 3
cmp ecx, edx
cmovbe ecx, edx
cmp eax, 0x7ffffff0
mov esi, 0xfffffff
cmovb esi, ecx
test esi, esi
je 0x6d77bf
cmp esi, 0x10000000
jae 0x6d7a93
mov eax, esi
shl eax, 4
push eax
call fcn.005c5789
add esp, 4
shl ebx, 4
add ebx, eax
je 0x6d7a91
shl esi, 4
add eax, esi
mov dword [esp + 8], eax
mov dword [ebx], edi
mov eax, dword [esp + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
lea esi, [ebx + 0x10]
mov edi, dword [esp]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
sub ecx, eax
sub ebx, ecx
push ecx
push eax
push ebx
call fcn.005c9580
add esp, 0xc
mov eax, dword [edi + 0x20]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], esi
mov ecx, dword [esp + 8]
mov dword [edi + 0x28], ecx
test eax, eax
je 0x6d77e1
push eax
call fcn.005c57c0
add esp, 4
jmp 0x6d77e1
xor eax, eax
jmp 0x6d7760
test ebx, ebx
je 0x6d7a91
mov dword [ebx], edi
mov eax, dword [esp + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
add ebx, 0x10
mov esi, ebx
mov edx, dword [esp]
mov dword [edx + 0x24], esi
mov ebx, dword [edx + 0x34]
mov eax, dword [edx + 0x38]
cmp ebx, eax
jae 0x6d781a
test ebx, ebx
je 0x6d7a91
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
add ebx, 0x10
mov esi, ebx
jmp 0x6d78cd
xor eax, eax
jmp 0x6d786b
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx]
sub ebx, esi
sar ebx, 4
lea edx, [ebx + 1]
cmp edx, 0x10000000
jae 0x6d7a9d
sub eax, esi
mov ecx, eax
sar ecx, 3
cmp ecx, edx
cmovbe ecx, edx
cmp eax, 0x7ffffff0
mov esi, 0xfffffff
cmovb esi, ecx
test esi, esi
je 0x6d7816
cmp esi, 0x10000000
jae 0x6d7a93
mov eax, esi
shl eax, 4
push eax
call fcn.005c5789
add esp, 4
shl ebx, 4
add ebx, eax
je 0x6d7a91
shl esi, 4
add eax, esi
mov dword [esp + 4], eax
mov edi, dword [esp]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
lea esi, [ebx + 0x10]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
sub ecx, eax
sub ebx, ecx
push ecx
push eax
push ebx
call fcn.005c9580
add esp, 0xc
mov eax, dword [edi + 0x30]
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], esi
mov ecx, dword [esp + 4]
mov dword [edi + 0x38], ecx
test eax, eax
je 0x6d78ca
push eax
call fcn.005c57c0
add esp, 4
mov edx, dword [esp]
mov dword [edx + 0x34], esi
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
xor edi, edi
cmp eax, ecx
je 0x6d7911
mov dword [esp + 4], 0
jmp 0x6d78f5
mov dword [esp + 4], esi
mov edi, edx
add eax, 0x10
cmp eax, ecx
je 0x6d7919
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp edx, edi
mov ebx, esi
sbb ebx, dword [esp + 4]
jb 0x6d78ee
jmp 0x6d78e8
mov esi, 2
jmp 0x6d79d9
mov dword [esp + 4], 0
push 0x18
call fcn.005c5789
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx], 0x774ee4
mov esi, ebx
add esi, 0xc
je 0x6d7a91
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.005360f0
mov edx, dword [esp]
mov dword [edx + 0x78], esi
mov esi, dword [edx + 0x7c]
mov dword [edx + 0x7c], ebx
test esi, esi
je 0x6d7980
xor eax, eax
dec eax
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x6d7980
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x8010bc]
mov ecx, esi
call ebx
mov ecx, esi
call fcn.00548f30
mov edx, dword [esp]
xor eax, eax
cmp dword [edx + 0x8c], edi
sbb eax, dword [esp + 4]
jae 0x6d7998
mov dword [edx + 0x8c], 0
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x6d7907
xor esi, esi
xor edx, edx
mov dword [esp + 4], ecx
mov edi, esi
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
shld ecx, esi, 3
shl esi, 3
cmp esi, edi
mov ebx, ecx
sbb ebx, edx
cmovae edx, ecx
mov ecx, dword [esp + 4]
cmovb esi, edi
add eax, 0x10
cmp eax, ecx
jne 0x6d79b0
add esi, 2
lea ebx, [ebp + 8]
push 0xc
call fcn.005c5789
add esp, 4
mov edi, eax
mov ecx, eax
push esi
call fcn.005360f0
mov esi, dword [esp]
mov eax, dword [esi + 0x74]
mov dword [esi + 0x74], edi
test eax, eax
je 0x6d7a06
lea ecx, [esi + 0x78]
push eax
call fcn.004f9390
mov edi, dword [ebx]
mov dword [ebx], 0
test edi, edi
je 0x6d7a24
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x8010bc]
mov ecx, edi
push 1
call ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x6d7a4f
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x6d7a4f
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x8010bc]
mov ecx, ebx
call edi
mov ecx, ebx
call fcn.00548f30
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x6d7a7a
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x6d7a7a
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x8010bc]
mov ecx, ebx
call edi
mov ecx, ebx
call fcn.00548f30
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.005c6b46
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x28
ud2
call fcn.005fb090
call fcn.005fa9f0
call fcn.005fa9f0
int3