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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
xor eax, eax
mov dword [ebp - 8], edx
push eax
mov edi, ecx
xor edx, edx
push eax
push eax
mov ebx, dword [edi + 0x44]
call fcn.100f8630
mov esi, eax
cmp esi, 0xffffffff
je 0x10104336
test esi, esi
je 0x10104336
mov ecx, esi
mov dword [edi + 0x78], esi
shl ecx, 7
push ecx
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
add esi, esi
mov dword [edi + 0x7c], eax
push esi
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push 8
push ebx
mov dword [edi + 0x80], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 0x84], eax
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x101044c7
mov eax, dword [edi + 0x80]
test eax, eax
je 0x101044c7
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x101044c7
push 0xffffffffffffffff
push ecx
xor esi, esi
mov ecx, edi
push esi
push eax
call fcn.100f8630
cmp dword [edi + 0x3c], esi
je 0x10104379
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edx, edx
mov dword [edi + 0x3c], esi
mov ecx, edi
mov dword [edi + 0x40], esi
call fcn.100f8a51
cmp eax, 0xffffffff
je 0x101043a6
mov dword [edi + 0x88], eax
imul eax, eax, 0x30
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 0x8c], eax
mov edx, dword [edi + 0x8c]
test edx, edx
je 0x101044c7
mov ecx, edi
call fcn.100f8a51
cmp dword [edi + 0x54], esi
jne 0x101043f4
mov eax, dword [edi + 0x18]
test dword [eax + 0xc], 0x100000
je 0x101043f4
mov eax, dword [edi + 0x24]
cmp dword [eax + 0x12c], esi
je 0x101043f4
cmp dword [eax + 0x130], esi
je 0x101043f4
mov ecx, edi
call fcn.100d957e
test eax, eax
jne 0x101043f4
mov dword [edi + 0x524], 1
push 0x40
pop eax
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x101044c7
push 0x40
push 0
push esi
call sub.msvcrt.dll_memset
movzx ecx, word [esi + 2]
add esp, 0xc
mov dword [esi + 0xc], edi
xor edx, edx
push 0x40
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
mov dword [esi + 0x1c], eax
mov eax, dword [0x101a0f0c]
mov dword [esi + 4], eax
mov dword [esi + 8], 0xfa
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [esi + 0x28], eax
mov eax, ecx
mov dword [esi + 0x2c], 0x603
mov dword [esi + 0x24], 0xfa52
cmp dword [edi + 0x60], edx
je 0x10104463
or ecx, 1
movzx eax, cx
or eax, 4
mov word [esi + 2], ax
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x10], eax
mov eax, 0x100fb2f0
cmp dword [edi + 0x54], edx
je 0x10104485
mov eax, 0x100f90b0
push edi
mov ecx, eax
mov dword [ebp - 4], eax
mov dword [edi + 0x4f4], edx
mov dword [edi + 0x4f8], edx
mov dword [edi + 0x4fc], edx
mov dword [edi + 0x500], edx
call dword [0x101a27b8]
call dword [ebp - 4]
test eax, eax
je 0x101044c7
mov eax, dword [edi + 0x4f4]
test eax, eax
jne 0x101044ce
cmp dword [ebp - 8], 3
jne 0x101044c7
or dword [edi + 0x528], 4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
imul eax, eax, 0x34
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 0x4f8], eax
mov eax, dword [edi + 0x4fc]
shl eax, 5
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 0x500], eax
imul eax, dword [edi + 0x4f4], 0x2c
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [edi + 0x4f8]
test edx, edx
je 0x101044c7
xor ebx, ebx
cmp dword [edi + 0x500], ebx
je 0x101044c7
test eax, eax
je 0x101044c7
mov ecx, dword [edi + 0x4f4]
test ecx, ecx
je 0x10104549
add edx, 8
mov dword [edx], eax
lea edx, [edx + 0x34]
mov dword [eax], 0x2c
add eax, 0x2c
sub ecx, 1
jne 0x10104530
mov edx, dword [edi + 0x4f8]
mov dword [edi + 0x4d4], edx
mov dword [esi + 0x18], edx
mov ax, word [edi + 0x4f4]
mov word [esi + 0x20], ax
mov dword [edi + 0x4fc], ebx
mov dword [edi + 0x4f4], ebx
mov ebx, dword [ebp - 4]
mov ecx, ebx
push edi
call dword [0x101a27b8]
call ebx
test eax, eax
je 0x101044c7
mov eax, esi
jmp 0x101044c9