Function at 0x6eec70
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3c]
add edi, eax
lea eax, [ebp + 0x18]
push eax
push ecx
lea ecx, [ebp + 0xc]
push ecx
lea edx, [esp + 0xf4]
push edx
mov dword [esp + 0x2c], edi
call fcn.006efc90
add esp, 0xc
push eax
lea esi, [esp + 0x50]
call fcn.006efbf0
mov eax, dword [esp + 0xf0]
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6eecd8
call fcn.00622510
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
push 0x40
lea eax, [esp + 0x2dc]
push eax
call dword [0x100ef7e8]
push 0xf8
lea ecx, [esp + 0x1c4]
push ecx
mov word [esp + 0x2e0], 0x5a4d
mov dword [esp + 0x31c], 0x40
call dword [0x100ef7e8]
mov eax, 0x1000
mov esi, 0x200
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x22c], eax
mov dword [esp + 0x228], eax
mov dword [esp + 0x224], eax
mov dword [esp + 0x220], eax
mov dword [esp + 0x1c0], 0x4550
mov word [esp + 0x1d6], 0x210e
mov word [esp + 0x1c4], 0x14c
mov dword [esp + 0x1f0], 0x2000
mov word [esp + 0x1c6], 3
mov word [esp + 0x1d4], 0xe0
mov word [esp + 0x1d8], 0x10b
mov dword [esp + 0x1fc], esi
mov dword [esp + 0x1f4], 0x10000000
mov dword [esp + 0x1dc], esi
mov dword [esp + 0x214], esi
mov dx, word [edi + 0x5c]
mov word [esp + 0x21c], dx
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x2bc]
mov dword [esp + 0x238], 0x10
call fcn.006e2c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf14c]
cmp byte [esp + 0x2d4], 0
mov ebx, eax
je 0x6eee07
mov esi, dword [esp + 0x2d0]
call fcn.006c54d0
mov byte [ebx], 0xb8
mov dword [ebx + 1], 1
lea esi, [ebx + 1]
mov byte [esi + 4], 0xc2
add esi, 4
mov word [esi + 1], 0xc
add esi, 1
mov byte [esi + 2], 0xe8
add esi, 2
mov dword [esi + 1], 0
mov eax, esi
add esi, 1
mov byte [esi + 4], 0x58
add esi, 4
mov byte [esi + 1], 5
sub eax, ebx
mov dword [esp + 0xdc], eax
mov eax, esi
add esi, 1
add esi, 1
mov word [esi + 4], 0xc7
mov ecx, esi
add esi, 4
mov dword [esi + 2], 1
add esi, 2
mov byte [esi + 4], 0xb8
add esi, 4
mov dword [esi + 1], 1
add esi, 1
mov byte [esi + 4], 0xc2
add esi, 4
add esi, 1
mov word [esi], 0xc
add esi, 2
mov edi, esi
sub eax, ebx
sub edi, ebx
mov edx, edi
sub edx, eax
mov dword [ecx], edx
mov dword [esi], 0
add esi, 4
mov eax, esi
sub eax, ebx
mov dword [esp + 0x20], eax
push 0x28
lea eax, [esp + 0x174]
push eax
call dword [0x100ef7e8]
mov eax, dword [esp + 0x20]
add eax, 0x1028
mov dword [esp + 0x18c], eax
mov ecx, 1
add eax, 4
mov dword [esp + 0x190], eax
mov dword [esp + 0x184], ecx
mov dword [esp + 0x188], ecx
add eax, 4
mov dword [esp + 0x180], ecx
push 0x28
lea ecx, [esp + 0x174]
mov dword [esp + 0x198], eax
push ecx
add eax, 2
push esi
mov dword [esp + 0x188], eax
call dword [0x100ef7ec]
add esi, 0x28
add edi, 0x1000
mov dword [esi], edi
mov edi, dword [ebp + 0x1c]
add edi, 1
add esi, 4
mov edx, edi
sub edx, ebx
lea eax, [edx + esi + 0x1006]
mov dword [esi], eax
add esi, 4
mov word [esi], 0
add esi, 2
push edi
mov ecx, dword [ebp + 0x18]
push ecx
push esi
call dword [0x100ef7ec]
push 0x100d81a4
add esi, edi
push esi
call dword [0x100cf180]
push 0x100d81a4
call dword [0x100cf17c]
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 0xc0]
sub esi, ebx
lea esi, [eax + esi + 1]
xor eax, eax
mov dword [esp + 0xe0], esi
sub esi, dword [esp + 0x20]
cmp edi, eax
mov dword [esp + 0x14], 0x24
mov byte [esp + 0x13], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
je 0x6ef001
call fcn.006efe90
test eax, eax
je 0x6ef001
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
add ecx, edi
je 0x6ef001
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov edi, eax
sub edi, dword [edx + 0x34]
mov dword [esp + 0x18], eax
call fcn.006efe90
test eax, eax
jne 0x6eefd4
xor ecx, ecx
jmp 0x6eefdc
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
add ecx, edi
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
je 0x6ef001
test ecx, ecx
je 0x6ef001
add eax, 0x24
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
mov edi, eax
shr edi, 2
add edi, edi
add edi, edi
cmp edi, eax
mov dword [esp + 0x24], edi
jae 0x6ef01d
add edi, 4
mov dword [esp + 0x24], edi
push 0x28
lea ecx, [esp + 0x10c]
lea eax, [edi + 0x3000]
push ecx
mov dword [esp + 0x288], 0x3000
mov dword [esp + 0x28c], 0x18
mov dword [esp + 0x26c], 0x12
mov dword [esp + 0x268], eax
call dword [0x100ef7e8]
push 0x100e3bec
lea edx, [esp + 0x10c]
push edx
call dword [0x100cf180]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x110], eax
lea eax, [edi + 0x12]
mov edi, eax
shr edi, 9
shl edi, 9
cmp edi, eax
mov ecx, 0x200
mov dword [esp + 0x114], 0x1000
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x12c], 0xe0000060
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
jae 0x6ef0c2
add edi, ecx
mov dword [esp + 0x1c], edi
push 0x28
lea ecx, [esp + 0x14c]
push ecx
call dword [0x100ef7e8]
push 0x100e3bf4
lea edx, [esp + 0x14c]
push edx
call dword [0x100cf180]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
push 0x28
lea edx, [esp + 0x19c]
push edx
mov dword [esp + 0x15c], 0x2000
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x158], 0x1000
mov dword [esp + 0x174], 0x40000040
call dword [0x100ef7e8]
push 0x100e3bfc
lea eax, [esp + 0x19c]
push eax
call dword [0x100cf180]
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x114]
add ecx, eax
mov dword [esp + 0x23c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1ac], ecx
mov ecx, dword [esp + 0x150]
add edx, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x1a0], ecx
add ecx, 0x3000
mov dword [esp + 0x1e0], eax
push esi
lea eax, [esp + 0xf8]
mov dword [esp + 0x1a8], 0x3000
mov dword [esp + 0x1ac], edi
mov dword [esp + 0x1c0], 0xc0000040
mov dword [esp + 0x23c], edx
mov dword [esp + 0x214], ecx
call fcn.006b52f0
mov eax, dword [eax]
add esp, 4
push 0x80
push 1
push 0x40000000
push eax
mov eax, dword [0x100ef48c]
push eax
call fcn.006d0bb0
mov edi, eax
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x6ef20d
call fcn.00622510
xor eax, eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
cmp edi, 0xffffffff
jne 0x6ef245
mov eax, ebx
call fcn.00622510
test esi, esi
je 0x6ef224
mov eax, esi
call fcn.00622510
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6ef230
call fcn.00622510
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x6ef23c
call fcn.00622510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x100cf23c]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x40
lea edx, [esp + 0x2e4]
push edx
push edi
call esi
push 0
lea eax, [esp + 0x10]
push eax
push 0xf8
lea ecx, [esp + 0x1cc]
push ecx
push edi
call esi
push 0
lea edx, [esp + 0x10]
push edx
push 0x28
lea eax, [esp + 0x114]
push eax
push edi
call esi
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x28
lea edx, [esp + 0x154]
push edx
push edi
call esi
push 0
lea eax, [esp + 0x10]
push eax
push 0x28
lea ecx, [esp + 0x1a4]
push ecx
push edi
call esi
xor eax, eax
mov byte [esp + 0x12], 0
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0x20], 0x50
nop
push 0
lea edx, [esp + 0x10]
push edx
push 1
lea eax, [esp + 0x1e]
push eax
push edi
call esi
sub dword [esp + 0x20], 1
jne 0x6ef2d0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x200
push ebx
push edi
call esi
push 0x18
lea edx, [esp + 0x134]
push edx
call dword [0x100ef7e8]
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x1f4]
je 0x6ef33e
mov edx, dword [esp + 0x30]
lea ecx, [eax + 0x3024]
mov dword [esp + 0x130], ecx
add ecx, edx
mov dword [esp + 0x134], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x140], edx
push 0
lea ecx, [eax + 0x3018]
add eax, 0x301c
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x144], eax
push 0x18
lea eax, [esp + 0x13c]
push eax
push edi
mov dword [esp + 0x14c], ecx
call esi
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0xe4]
push edx
push edi
call esi
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0xdc]
lea edx, [eax + ecx + 0x10000000]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0xf0]
push ecx
push edi
mov dword [esp + 0xf8], edx
call esi
push 0
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0xe0]
push eax
push edi
call esi
cmp byte [esp + 0x13], 0
je 0x6ef3e3
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
add eax, ecx
push eax
push edi
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jae 0x6ef40d
sub eax, ecx
mov dword [esp + 0x24], eax
push 0
lea edx, [esp + 0x10]
push edx
push 1
lea eax, [esp + 0x1e]
push eax
push edi
call esi
sub dword [esp + 0x24], 1
jne 0x6ef3f5
push 0
lea ecx, [esp + 0x10]
push ecx
push 8
lea edx, [esp + 0x10c]
push edx
push edi
mov dword [esp + 0x118], 0x12
mov dword [esp + 0x114], 0x3000
call esi
mov dword [esp + 0x14], 0
nop
mov eax, dword [esp + 0x14]
lea ecx, [eax*4 + 0x3000]
push 0
lea eax, [esp + 0x10]
push eax
movzx edx, cx
push 2
lea ecx, [esp + 0x50]
push ecx
push edi
mov dword [esp + 0x58], edx
call esi
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 4
mov dword [esp + 0x14], eax
jb 0x6ef440
push 0
lea edx, [esp + 0x10]
push edx
push 2
lea eax, [esp + 0x50]
push eax
push edi
mov dword [esp + 0x58], 0x301c
call esi
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x18], ecx
jae 0x6ef4b8
mov eax, ecx
sub eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
push 0
lea edx, [esp + 0x10]
push edx
push 1
lea eax, [esp + 0x1e]
push eax
push edi
call esi
sub dword [esp + 0x18], 1
jne 0x6ef4a0
push edi
call dword [0x100cf21c]
xor esi, esi
mov eax, 0x100ef4b8
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x38]
mov ecx, 0x100ef4b4
mov dword [esp + 0x40], esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
call fcn.006e5fe0
call dword [0x100cf08c]
mov edx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [edx]
cmp edi, eax
je 0x6ef544
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
test edx, edx
jne 0x6ef6ce
mov eax, dword [esp + 0x5c]
push esi
push edi
push eax
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x6ef6ce
mov ecx, dword [esp + 0x64]
mov dword [ecx], esi
mov eax, dword [esp + 0x64]
add dword [eax], 1
mov al, 1
mov edx, dword [0x100ef808]
push ebx
push 1
push edx
mov byte [esp + 0x7c], al
call dword [0x100cf260]
cmp byte [esp + 0x70], 0
je 0x6ef5ab
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], esi
jne 0x6ef5ab
mov edx, ecx
mov dword [edx], esi
mov eax, dword [edi + 8]
push esi
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x6ef5ab
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push esi
push 1
push edx
call dword [0x100cf088]
cmp dword [esp + 0x48], esi
je 0x6ef6fc
mov eax, 0x100ef4b8
mov dword [esp + 0x38], esi
mov ecx, 0x100ef4b4
mov dword [esp + 0x40], esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
call fcn.006e5fe0
mov ebx, dword [0x100cf08c]
call ebx
mov edi, eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
cmp edi, ecx
je 0x6ef649
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
jne 0x6ef6e5
mov ecx, dword [esp + 0x7c]
push esi
push edi
push ecx
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x6ef6e5
mov edx, dword [esp + 0x84]
mov dword [edx], esi
mov eax, dword [esp + 0x84]
add dword [eax], 1
mov al, 1
mov ecx, dword [0x100ef808]
mov byte [esp + 0x90], al
mov eax, dword [esp + 0x48]
push eax
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x90], 0
je 0x6ef6c0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov edx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [edx], esi
jne 0x6ef6c0
mov eax, edx
mov dword [eax], esi
mov ecx, dword [edi + 8]
push esi
push ecx
call dword [0x100cf084]
mov edx, dword [edi + 0xc]
test edx, edx
lea eax, [edi + 0xc]
jle 0x6ef6c0
push eax
call dword [0x100cf080]
mov eax, dword [edi + 0x14]
push esi
push 1
push eax
call dword [0x100cf088]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
jmp 0x6ef702
push edi
lea eax, [esp + 0x58]
call fcn.006e5290
test al, al
jne 0x6ef544
jmp 0x6ef54d
push edi
lea eax, [esp + 0x78]
call fcn.006e5290
test al, al
jne 0x6ef649
jmp 0x6ef655
mov ebx, dword [0x100cf08c]
cmp dword [ebp + 0xc], esi
je 0x6ef82c
mov eax, 0x100ef4b8
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x38]
mov ecx, 0x100ef4b4
mov dword [esp + 0x40], esi
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
call fcn.006e5fe0
call ebx
mov edx, dword [esp + 0xbc]
mov edi, eax
mov eax, dword [edx]
cmp edi, eax
je 0x6ef7ae
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
test edx, edx
jne 0x6ef958
mov eax, dword [esp + 0xbc]
push esi
push edi
push eax
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x6ef958
mov ecx, dword [esp + 0xc4]
mov dword [ecx], esi
mov eax, dword [esp + 0xc4]
add dword [eax], 1
mov al, 1
mov edx, dword [ebp + 0xc]
push edx
mov byte [esp + 0xd4], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0xd0], 0
je 0x6ef823
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], esi
jne 0x6ef823
mov edx, ecx
mov dword [edx], esi
mov eax, dword [edi + 8]
push esi
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x6ef823
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push esi
push 1
push edx
call dword [0x100cf088]
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
cmp dword [ebp + 0x18], esi
je 0x6ef94c
mov eax, 0x100ef4b8
mov dword [esp + 0x38], esi
mov ecx, 0x100ef4b4
mov dword [esp + 0x40], esi
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x94]
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
call fcn.006e5fe0
call ebx
mov edi, eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
cmp edi, ecx
je 0x6ef8d8
mov edx, dword [esp + 0x9c]
mov eax, dword [edx]
test eax, eax
jne 0x6ef972
mov ecx, dword [esp + 0x9c]
push esi
push edi
push ecx
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x6ef972
mov edx, dword [esp + 0xa4]
mov dword [edx], esi
mov eax, dword [esp + 0xa4]
add dword [eax], 1
mov al, 1
mov ecx, dword [0x100ef808]
mov byte [esp + 0xb0], al
mov eax, dword [ebp + 0x18]
push eax
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0xb0], 0
je 0x6ef94c
mov edi, dword [esp + 0xac]
mov ecx, dword [edi + 0x10]
add dword [ecx], 0xffffffff
mov edx, dword [edi + 0x10]
cmp dword [edx], esi
lea eax, [edi + 0x10]
jne 0x6ef94c
mov eax, edx
mov dword [eax], esi
mov ecx, dword [edi + 8]
push esi
push ecx
call dword [0x100cf084]
mov edx, dword [edi + 0xc]
test edx, edx
lea eax, [edi + 0xc]
jle 0x6ef94c
push eax
call dword [0x100cf080]
mov eax, dword [edi + 0x14]
push esi
push 1
push eax
call dword [0x100cf088]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea eax, [esp + 0xb8]
call fcn.006e5290
test al, al
jne 0x6ef7ae
jmp 0x6ef7ba
push edi
lea eax, [esp + 0x98]
call fcn.006e5290
test al, al
jne 0x6ef8d8
jmp 0x6ef8e4