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

Disassembly:
sub esp, 0x498
push ebx
push ebp
push esi
mov esi, dword [0x5d15a8]
push edi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
lea ebp, [eax + 8]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x1c]
push eax
xor eax, eax
add ecx, esi
test edx, edx
setne al
mov dword [esp + 0x24], ecx
add eax, 0x67
push eax
call fcn.10007d05
mov ebx, dword [esp + 0x18]
mov edi, dword [0x5cf0e8]
lea ecx, [ebx + 4]
add ecx, dword [ebx + 0x3c]
mov dword [esp + 0x10], ecx
movzx eax, word [ecx + 0x10]
lea esi, [ecx + 0x14]
movzx ecx, word [ecx + 2]
add esi, eax
xor eax, eax
test ecx, ecx
je 0x10006d4e
cmp dword [esi + 0x24], 0xc0000040
je 0x10006d31
inc eax
add esi, 0x28
cmp eax, ecx
jb 0x10006d1e
jmp 0x10006d4e
mov esi, dword [esi + 0x14]
mov eax, dword [esp + 0x4ac]
add esi, ebx
mov dword [esi], eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 8], ebp
mov dword [esi + 0xc], eax
call fcn.10004178
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
lea eax, [esp + 0x2a0]
push eax
push 0x104
call dword [0x5cf0b4]
lea eax, [esp + 0x98]
push eax
xor ebp, ebp
push ebp
push 0x5cf40c
lea eax, [esp + 0x2ac]
push eax
call dword [0x5cf0b8]
lea eax, [esp + 0x98]
push ebp
push 0x80
push 4
push ebp
push ebp
push 0x40000000
push eax
call dword [0x5cf09c]
mov ebp, dword [0x5cf074]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006dd0
and dword [esp + 0x10], 0
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x28]
push ebx
push esi
call dword [0x5cf0a8]
push esi
call ebp
push 0x46
pop eax
mov word [esp + 0x38], ax
push 0x4d
pop eax
mov word [esp + 0x3a], ax
xor eax, eax
mov word [esp + 0x4c], ax
call edi
mov edi, eax
xor esi, esi
mov ebx, edi
shr ebx, 0x1c
and bl, 0xf
movzx eax, bl
lea ecx, [eax + 0x30]
add eax, 0x57
movzx edx, ax
movzx eax, cx
cmp bl, 0x39
cmovbe edx, eax
shl edi, 4
mov word [esp + esi*2 + 0x3c], dx
inc esi
cmp esi, 8
jl 0x10006ded
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
lea esi, [edi + 8]
push esi
xor ebx, ebx
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [0x5cf0ec]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10006ee9
push esi
push ebx
push ebx
push 0xf001f
push eax
call dword [0x5cf04c]
mov ebx, eax
test ebx, ebx
je 0x10006ee3
mov edx, dword [esp + 0x1c]
lea ecx, [ebx + 8]
mov esi, ecx
sub esi, ebx
push edi
mov dword [ebx], esi
mov dword [ebx + 4], edi
call fcn.1000ce3b
xor esi, esi
push 0x40
lea eax, [esp + 0x58]
push esi
push eax
call fcn.1000eca2
xor eax, eax
mov dword [esp + 0x34], esi
add esp, 0xc
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x2a8]
push eax
push esi
push 0xc000000
push 1
push esi
push esi
push esi
lea eax, [esp + 0xbc]
push eax
mov dword [esp + 0x78], 0x44
call dword [0x5cf0f4]
test eax, eax
je 0x10006edc
push 0xffffffffffffffff
push dword [esp + 0x2c]
call dword [0x5cf070]
push dword [esp + 0x2c]
call ebp
push dword [esp + 0x28]
call ebp
push ebx
call dword [0x5cf0f8]
push dword [esp + 0x14]
call ebp
lea ecx, [esp + 0x98]
push ecx
call dword [0x5cf0b0]
mov ecx, dword [esp + 0x18]
call fcn.1000ce2b
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x498
ret 4