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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
push esi
push edi
mov edi, dword [ecx + 0x80]
test edi, edi
mov dword [esp + 0x18], ecx
je 0x6edaf7
mov eax, dword [edi + ebx + 0xc]
add edi, ebx
test eax, eax
mov dword [esp + 0x10], edi
je 0x6edaf7
jmp 0x6ed7d4
mov edi, dword [esp + 0x10]
add eax, ebx
push eax
mov dword [esp + 0x24], eax
call dword [0x100cf178]
mov esi, dword [edi + 0x10]
mov edi, dword [edi]
add esi, ebx
test edi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], esi
jne 0x6ed7fa
mov dword [esp + 0x14], esi
jmp 0x6ed800
add edi, ebx
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx]
test edi, edi
je 0x6edadd
jmp 0x6ed814
mov eax, dword [esp + 0x4c]
test edi, edi
jns 0x6ed82a
movzx edx, di
push edx
push eax
call dword [0x100cf25c]
mov dword [esi], eax
jmp 0x6edac0
lea edi, [edi + ebx + 2]
push edi
push eax
call dword [0x100cf25c]
cmp dword [0x100ef594], 0
mov ebx, eax
mov dword [esi], ebx
je 0x6edabd
mov eax, 0x100
xor ecx, ecx
mov dword [esp + 0x34], 0xff
call fcn.006eb3c0
push 0x100e3bd0
lea esi, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov byte [eax], 0
call fcn.006df5f0
mov eax, dword [esp + 0x20]
push eax
call fcn.006df5f0
push 0x100e3be4
call fcn.006df5f0
push edi
call fcn.006df5f0
push 0x100d4a80
call fcn.006df5f0
lea ecx, [esp + 0x90]
push ecx
mov eax, ebx
call fcn.00635890
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x38]
push eax
call fcn.006df5f0
mov eax, dword [esp + 0x38]
xor edx, edx
cmp eax, edx
je 0x6ed9b8
mov esi, eax
mov dword [esp + 0xa4], edx
mov ecx, 0x100ef4b4
mov eax, 0x100ef4b8
mov dword [esp + 0xac], edx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xac]
lea ebx, [esp + 0x2b]
mov edi, ecx
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
call fcn.006e5220
test al, al
jne 0x6ed938
xor ebx, ebx
jmp 0x6ed946
mov eax, dword [esp + 0x80]
add dword [eax], 1
mov al, 1
xor ebx, ebx
mov edx, dword [0x100ef808]
push esi
push 1
push edx
mov byte [esp + 0x98], al
call dword [0x100cf260]
cmp byte [esp + 0x8c], bl
je 0x6ed9ac
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov esi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x6ed9ac
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x6ed9ac
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push 0x100d1420
lea esi, [esp + 0x30]
call fcn.006df5f0
mov eax, esi
call fcn.006e7250
mov eax, dword [esp + 0x94]
test eax, eax
je 0x6edab9
xor edx, edx
mov dword [esp + 0xb4], edx
mov esi, eax
mov dword [esp + 0xbc], edx
mov eax, 0x100ef4b8
mov ecx, 0x100ef4b4
mov dword [esp + 0x50], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xbc]
lea ebx, [esp + 0x1f]
mov edi, edx
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
call fcn.006e5220
test al, al
jne 0x6eda3d
xor ebx, ebx
jmp 0x6eda48
mov eax, dword [esp + 0x60]
add dword [eax], 1
mov al, 1
xor ebx, ebx
push esi
mov byte [esp + 0x70], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x6c], bl
je 0x6edaa4
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov esi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x6edaa4
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x6edaa4
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 4]
add eax, 4
add esi, 4
test edi, edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
jne 0x6ed810
mov eax, dword [esp + 0x10]
add eax, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x6ed7d0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xa4]
mov edi, ebx
sub edi, dword [ecx + 0x34]
mov ecx, dword [ecx + 0xa0]
add ecx, ebx
cmp ebx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
je 0x6edb6b
test eax, eax
mov esi, ecx
jle 0x6edb6b
mov eax, dword [esi + 4]
test eax, eax
je 0x6edb6b
add eax, 0xfffffff8
shr eax, 1
test eax, eax
lea edx, [esi + 8]
jle 0x6edb61
mov dword [esp + 0x10], eax
movzx eax, word [edx]
movzx eax, ax
mov ecx, eax
shr ecx, 0xc
cmp ecx, 3
je 0x6edb48
cmp ecx, 0xa
jne 0x6edb53
and eax, 0xfff
add eax, dword [esi]
add eax, ebx
add dword [eax], edi
add edx, 2
sub dword [esp + 0x10], 1
jne 0x6edb33
mov ecx, dword [esp + 0x18]
mov esi, edx
sub edx, ecx
cmp edx, dword [esp + 0x20]
jl 0x6edb1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret