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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x30]
xor eax, eax
push esi
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push edi
mov edi, dword [esi + 8]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax + 0x28]
mov byte [eax], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x2c], ebx
jle 0x6d7b23
lea esp, [esp]
mov eax, dword [ecx]
mov dword [esp + 0x20], 0
test dword [eax + 4], 0x1000000
mov edx, dword [eax + 0x14]
mov dword [esp + 0x24], edx
je 0x6d7851
mov eax, dword [eax + 0x2c]
mov ebp, dword [eax + 0x28]
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x24], 0
je 0x6d7836
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
je 0x6d7836
mov eax, dword [esp + 0x38]
test eax, eax
je 0x6d7836
test ebx, ebx
jne 0x6d7829
inc dword [esi + 0x2c]
mov ebx, dword [esi + 0x2c]
mov dword [esp + 0x18], ebx
push ebx
push eax
push 0x4f
push edi
call fcn.006bfa20
add esp, 0x10
dec dword [esi + 0x38]
mov ebx, dword [esi + 0x38]
push 0x10
push ebx
push ebp
push esi
mov dword [esp + 0x30], ebx
call fcn.0069c5e0
mov edx, dword [esp + 0x34]
add esp, 0x10
test edx, edx
je 0x6d78c1
mov ebx, dword [edx]
mov dword [esp + 0x1c], ebx
cmp ebx, 1
jne 0x6d7880
mov al, byte [esi + 0x13]
test al, al
jne 0x6d786f
inc dword [esi + 0x2c]
mov ebp, dword [esi + 0x2c]
jmp 0x6d78a8
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov ebp, dword [esi + eax*4 + 0x98]
jmp 0x6d78a8
mov ebp, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp ebx, ebp
jg 0x6d789d
sub ebp, ebx
lea eax, [ecx + ebx]
mov dword [esi + 0x1c], ebp
mov ebp, ecx
mov dword [esi + 0x20], eax
jmp 0x6d78ac
mov eax, dword [esi + 0x2c]
lea ebp, [eax + 1]
add eax, ebx
mov dword [esi + 0x2c], eax
mov dword [esp + 0x10], ebp
push 1
push 0
push ebp
push edx
push esi
call fcn.006995f0
mov edx, dword [esp + 0x38]
add esp, 0x14
jmp 0x6d78cf
xor ebp, ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0xc], 0
jl 0x6d7905
test edx, edx
je 0x6d7905
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x6d78ef
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x20], eax
push ebp
push edx
push eax
push dword [ebx + 0xc]
push dword [esp + 0x50]
push esi
call fcn.006556d0
add esp, 0x18
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
test byte [eax + 4], 0x20
je 0x6d7a01
mov eax, dword [esp + 0x24]
xor ebp, ebp
xor ebx, ebx
add eax, 8
mov dword [esp + 0x24], eax
cmp ebx, dword [esp + 0x1c]
jge 0x6d7946
push dword [eax]
push esi
call fcn.0069bd00
mov ebp, eax
add esp, 8
mov eax, dword [esp + 0x24]
inc ebx
add eax, 0x14
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x6d7921
jmp 0x6d794f
test ebp, ebp
jne 0x6d794f
mov eax, dword [esi]
mov ebp, dword [eax + 8]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x6d796a
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x24], ebx
je 0x6d796a
inc dword [esi + 0x2c]
mov ebx, dword [esi + 0x2c]
mov dword [esp + 0x18], ebx
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x6d7986
push 0
push 0
push ebx
push 0x54
push edi
call fcn.00674520
add esp, 0x14
mov edx, eax
jmp 0x6d79b9
mov esi, dword [esp + 0x34]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x54
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x6d79cf
push ebp
push 0xfffffffffffffffe
push eax
call fcn.006612f0
add esp, 0xc
jmp 0x6d7a01
test edx, edx
jns 0x6d79d7
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x6d79f6
push 0xfffffffffffffffe
push ebp
push eax
push edi
call fcn.006d9320
add esp, 0x10
jmp 0x6d7a01
test ebp, ebp
je 0x6d7a01
mov dword [eax + 0x10], ebp
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov ebx, dword [esp + 0x10]
mov edx, dword [eax + 8]
cmp dword [edi + 0x78], ecx
jg 0x6d7a28
push edx
push ebx
push 0
push 0xa1
push edi
call fcn.00674520
add esp, 0x14
jmp 0x6d7a53
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xa1
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x6d7a70
push edx
push 0xfffffffffffffff8
push eax
call fcn.006612f0
add esp, 0xc
jmp 0x6d7a82
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [edi + 0x74]
test ecx, ecx
jle 0x6d7a9b
mov eax, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
movzx edx, al
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x6d7abe
test ebx, ebx
je 0x6d7ac9
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x6d7ac9
movzx eax, al
mov dword [esi + eax*4 + 0x98], ebx
inc byte [esi + 0x13]
jmp 0x6d7ac9
cmp eax, dword [esi + 0x1c]
jle 0x6d7ac9
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov edx, dword [esp + 0x20]
test edx, edx
je 0x6d7af4
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x6d7aeb
push edx
push edi
push ecx
call fcn.006865c0
add esp, 0xc
jmp 0x6d7af4
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
inc ebp
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
add ecx, 0x14
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], ecx
cmp ebp, dword [eax + 0x2c]
jl 0x6d77e0
mov edx, ebx
test edx, edx
jne 0x6d7b2f
mov ebp, dword [esp + 0x38]
cmp dword [eax + 0x24], 0
je 0x6d7b84
mov edx, ebp
test ebp, ebp
je 0x6d7b84
mov ebx, dword [edi + 0x74]
mov dword [esp + 0x28], ebx
cmp dword [edi + 0x78], ebx
jg 0x6d7b51
push 0
push 0
push edx
push 0x12
push edi
call fcn.00674520
add esp, 0x14
mov dword [esp + 0x28], eax
jmp 0x6d7b80
lea eax, [ebx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax + 0x1c]
xor ebp, ebp
cmp dword [eax + 0x24], ebp
jle 0x6d7bac
add ebx, 4
push dword [ebx + 8]
push dword [ebx]
push esi
call fcn.00699550
mov eax, dword [esp + 0x48]
lea ebx, [ebx + 0x14]
inc ebp
add esp, 0xc
cmp ebp, dword [eax + 0x24]
jl 0x6d7b91
mov ecx, dword [esp + 0x28]
mov byte [eax], 0
test ecx, ecx
je 0x6d7bf7
mov edx, dword [edi + 0x74]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x6d7bcc
mov dword [edi + 0x74], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test ecx, ecx
jns 0x6d7bd2
mov ecx, eax
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x6d7bea
pop edi
mov eax, 0x7c89b4
pop esi
pop ebp
pop ebx
mov dword [eax + 8], edx
add esp, 0x20
ret
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret