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

Disassembly:
push 0xffffffffffffffff
push 0x101bbdd6
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x102832a0]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2a8]
push ebx
mov esi, ecx
mov dword [esp + 0x48], ebx
call fcn.100c5f00
test al, al
jne 0x100d6fe8
mov ecx, esi
call fcn.100c98b0
movzx edi, word [esi + 0x16]
mov dword [esp + 0x34], eax
cmp di, 8
ja 0x100d6b33
test eax, eax
je 0x100d6fe8
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, eax
add eax, eax
imul ecx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, esi
movzx ebp, di
mov dword [esp + 0x18], eax
call fcn.100ca4e0
test al, al
je 0x100d6b83
cmp dword [esi + 0x28], 0
jne 0x100d6b83
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 0x10]
add eax, eax
add eax, eax
mov ebp, 0x20
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2b0]
cmp eax, 1
jge 0x100d6b94
mov eax, 1
xor ecx, ecx
mov edx, 1
mov word [esp + 0x38], cx
mov word [esp + 0x3a], dx
mov word [esp + 0x3c], ax
cmp byte [esp + 0x2ac], cl
jne 0x100d6bbf
shl eax, 4
add eax, 6
mov dword [esi + 0x1fc], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x18]
mov dl, byte [esi + 0xc]
lea edi, [ecx + eax*4 + 0x28]
mov al, byte [esi + 0x10]
mov cl, byte [esi + 0x28]
add edi, dword [esp + 0x40]
mov byte [esp + 0x25], al
mov eax, dword [esi + 0x1fc]
mov byte [esp + 0x24], dl
mov byte [esp + 0x26], cl
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], eax
mov eax, 1
xor edx, edx
push eax
mov word [esp + 0x2c], dx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1c]
push eax
mov word [esp + 0x32], bp
mov word [esp + 0x66], bp
xor ebp, ebp
push eax
add edx, edx
mov dword [esp + 0x70], ecx
push esi
lea ecx, [esp + 0xa8]
mov byte [esp + 0x37], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x68], edx
mov word [esp + 0x6c], ax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
call fcn.100c5390
push ebp
push ebp
lea ecx, [esp + 0x80]
mov dword [esp + 0x2a8], ebp
call fcn.100c4580
mov eax, 0xff
cmp dword [esi + 0xc], eax
mov byte [esp + 0x2a0], 1
jg 0x100d6c89
cmp dword [esi + 0x10], eax
jle 0x100d6cbe
lea ecx, [esp + 0x78]
mov byte [esp + 0x25], 0
mov byte [esp + 0x24], 0
call fcn.100c45e0
push 4
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0xa0]
call fcn.100c5f70
lea ecx, [esp + 0x78]
call fcn.100c4700
mov edi, eax
mov dword [esp + 0x2c], edi
cmp byte [esp + 0x2ac], 0
jne 0x100d6e2e
mov eax, dword [esp + 0x3a]
push eax
mov ecx, esi
call fcn.100c5ba0
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
mov word [esp + 0x3e], ax
call fcn.100c5ba0
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push 1
mov word [esp + 0x40], ax
push 6
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x3a]
push eax
mov ecx, esi
call fcn.100c5ba0
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
mov word [esp + 0x3e], ax
call fcn.100c5ba0
mov word [esp + 0x3c], ax
cmp dword [esp + 0x2b0], ebp
jne 0x100d7103
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.100c5ba0
mov ecx, dword [esp + 0x2a]
push ecx
mov ecx, esi
mov word [esp + 0x2c], ax
call fcn.100c5ba0
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
mov word [esp + 0x2e], ax
call fcn.100c5bd0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.100c5bd0
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push 1
mov dword [esp + 0x34], eax
push 0x10
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.100c5ba0
mov ecx, dword [esp + 0x2a]
push ecx
mov ecx, esi
mov word [esp + 0x2c], ax
call fcn.100c5ba0
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
mov word [esp + 0x2e], ax
call fcn.100c5bd0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.100c5bd0
add dword [esi + 0x1fc], edi
cmp byte [esp + 0x2ac], 0
mov dword [esp + 0x30], eax
je 0x100d6df2
mov ecx, dword [esp + 0x2b0]
cmp ecx, dword [esi + 0x160]
jl 0x100d6dff
cmp byte [esp + 0x2ac], 0
jne 0x100d7103
cmp dword [esp + 0x2b0], ebp
jne 0x100d7103
cmp byte [esp + 0x24], 0
jne 0x100d6e43
cmp byte [esp + 0x25], 0
jne 0x100d6e43
mov esi, dword [ebx]
push 1
push edi
push ebp
lea ecx, [esp + 0x84]
add esi, 0xc
call fcn.100c4620
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
jmp 0x100d7103
mov edx, dword [esp + 0x2b0]
cmp edx, dword [esi + 0x160]
je 0x100d6d2f
jmp 0x100d6dd5
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.100c5c10
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push 1
push 0x28
lea eax, [esp + 0x58]
push eax
mov ecx, ebx
call edx
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.100c5c10
cmp dword [esi + 0x14c], ebp
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
setge byte [esp + 0x1b]
call fcn.100c53d0
mov edi, dword [esp + 0x34]
cmp edi, ebp
je 0x100d6ed5
cmp byte [esp + 0x17], 0
je 0x100d6ea6
movzx edx, byte [esi + 0x14c]
push ebp
push ebp
push ebp
push ebp
push edx
mov ecx, esi
call fcn.100c9800
mov ecx, dword [esi + 0x28]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
add ecx, ecx
push 1
add ecx, ecx
push ecx
push edi
mov ecx, ebx
call edx
cmp byte [esp + 0x17], 0
je 0x100d6ed5
movzx ecx, byte [esi + 0x14c]
mov eax, dword [esp + 0x48]
push eax
push ecx
mov ecx, esi
call fcn.100c9850
mov ecx, esi
call fcn.100ca4e0
test al, al
je 0x100d6f7d
cmp dword [esi + 0x28], ebp
jne 0x100d6f7d
mov edx, dword [esp + 0x18]
push edx
call fcn.10109f92
add esp, 4
cmp dword [esi + 0x10], ebp
mov edi, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], ebp
jle 0x100d6f61
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.100c4b20
xor ebx, ebx
cmp dword [esi + 0xc], ebx
mov ebp, eax
jle 0x100d6f4b
mov edi, edi
mov cl, byte [ebp]
mov byte [edi], cl
mov dl, byte [ebp + 1]
mov ecx, dword [esp + 0x1c]
inc ebp
inc edi
mov byte [edi], dl
mov al, byte [ebp + 1]
inc ebp
push ecx
inc edi
mov byte [edi], al
push ebx
mov ecx, esi
inc edi
inc ebp
call fcn.100ca720
mov byte [edi], al
inc ebx
inc edi
cmp ebx, dword [esi + 0xc]
jl 0x100d6f20
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
jl 0x100d6f09
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push 1
push eax
push edi
mov ecx, ebx
call edx
push edi
call fcn.10109eb5
add esp, 4
jmp 0x100d6f91
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [esi + 0x34]
mov eax, dword [eax + 0xc]
push 1
push ecx
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x40]
push 1
push ecx
call fcn.1010d964
mov ebp, eax
add esp, 8
mov dword [esp + 0x34], ebp
test ebp, ebp
jne 0x100d6fef
lea ecx, [esp + 0x78]
mov byte [esp + 0x2a0], al
call fcn.100c4830
lea ecx, [esp + 0x98]
mov dword [esp + 0x2a0], 0xffffffff
mov dword [esp + 0x98], vtable.GImage.0
call fcn.100c4a90
lea ecx, [esp + 0x98]
call fcn.100c49e0
xor al, al
jmp 0x100d7144
mov ecx, esi
call fcn.100ca7c0
mov ecx, esi
mov byte [esp + 0x22], al
call fcn.100ca4e0
xor edi, edi
cmp dword [esi + 0x10], edi
mov byte [esp + 0x23], al
mov dword [esp + 0x1c], edi
jle 0x100d70e9
mov dword [esp + 0x18], edi
xor ebp, ebp
cmp dword [esi + 0xc], ebp
jle 0x100d70cf
xor ebx, ebx
cmp byte [esp + 0x23], bl
je 0x100d703d
push edi
push ebp
mov ecx, esi
call fcn.100ca720
test al, al
jne 0x100d703d
mov ebx, 1
cmp byte [esp + 0x22], 0
je 0x100d7062
push 1
push edi
push ebp
lea edx, [esp + 0xa0]
push edx
mov ecx, esi
call fcn.100c9c00
cmp byte [eax + 3], 0
jne 0x100d7062
mov ebx, 1
push 0
push edi
push ebp
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
call fcn.100c9af0
cmp byte [esp + 0x17], 0
mov eax, dword [eax]
je 0x100d7089
cmp eax, dword [esp + 0x48]
jne 0x100d7089
mov ebx, 1
mov edi, ebp
sar edi, 3
add edi, dword [esp + 0x34]
mov edx, ebp
add edi, dword [esp + 0x18]
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x100d70a5
dec edx
or edx, 0xfffffff8
inc edx
mov ecx, 7
sub ecx, edx
mov al, 1
shl al, cl
and bl, 1
shl bl, cl
inc ebp
not al
and al, byte [edi]
or al, bl
mov byte [edi], al
cmp ebp, dword [esi + 0xc]
mov edi, dword [esp + 0x1c]
jl 0x100d7023
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x18], ecx
inc edi
cmp edi, dword [esi + 0x10]
mov dword [esp + 0x1c], edi
jl 0x100d7018
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push 1
push eax
push ebp
mov ecx, ebx
call edx
push ebp
call fcn.10109eb5
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0x2a0], 0
call fcn.100c4830
lea ecx, [esp + 0x98]
mov dword [esp + 0x2a0], 0xffffffff
mov dword [esp + 0x98], vtable.GImage.0
call fcn.100c4a90
lea ecx, [esp + 0x98]
call fcn.100c49e0
mov al, 1
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.1010583a
add esp, 0x290
ret 0xc