Function at 0x100b7d90
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10c6c810]
test eax, eax
jne 0x100b7dba
push 0x100dae00
call fcn.100ba8d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100b7db5
or eax, 0xffffffff
mov dword [0x10c6c810], eax
push edi
call eax
mov ecx, dword fs:[0x18]
mov edi, eax
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60001
jb 0x100b7de5
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [edi]
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
shr eax, 1
and eax, 0x3fff
imul esi, eax, 0x560
add esi, 0x10c6c818
cmp dword [esi], ecx
je 0x100b7e4b
mov dword [esi], ecx
lea ebx, [esi + 0x50]
mov eax, dword [edi]
test eax, eax
jne 0x100b7e23
xor ebx, ebx
jmp 0x100b7e48
cmp byte [eax], 0
jne 0x100b7e2f
mov ebx, 0x100c8cdc
jmp 0x100b7e48
push 1
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call edx
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x30], ebx
mov eax, dword [edi + 4]
cmp dword [esi + 4], eax
je 0x100b7e86
mov dword [esi + 4], eax
lea ebx, [esi + 0x54]
mov eax, dword [edi + 4]
test eax, eax
jne 0x100b7e64
xor ebx, ebx
jmp 0x100b7e83
cmp byte [eax], 0
jne 0x100b7e70
mov ebx, 0x100c8cdc
jmp 0x100b7e83
push 1
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call edx
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x34], ebx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
cmp dword [esi + 0xc], eax
je 0x100b7ecd
mov dword [esi + 0xc], eax
cmp dword [edi + 0xc], 0
je 0x100b7ec6
lea edx, [esi + 0x58]
xor ecx, ecx
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0xc]
mov al, byte [ecx + eax]
test al, al
je 0x100b7ebd
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x100b7ea5
xor eax, eax
mov word [esi + ecx*2 + 0x58], ax
jmp 0x100b7ecd
mov dword [esi + 0x38], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x10], eax
je 0x100b7f0c
mov dword [esi + 0x10], eax
lea ebx, [esi + 0x60]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x100b7ee6
xor ebx, ebx
jmp 0x100b7f09
cmp byte [eax], 0
jne 0x100b7ef2
mov ebx, 0x100c8cdc
jmp 0x100b7f09
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x3c], ebx
mov eax, dword [edi + 0x14]
cmp dword [esi + 0x14], eax
je 0x100b7f4e
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x160]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x100b7f28
xor ebx, ebx
jmp 0x100b7f4b
cmp byte [eax], 0
jne 0x100b7f34
mov ebx, 0x100c8cdc
jmp 0x100b7f4b
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x40], ebx
mov eax, dword [edi + 0x18]
cmp dword [esi + 0x18], eax
je 0x100b7f90
mov dword [esi + 0x18], eax
lea ebx, [esi + 0x260]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x100b7f6a
xor ebx, ebx
jmp 0x100b7f8d
cmp byte [eax], 0
jne 0x100b7f76
mov ebx, 0x100c8cdc
jmp 0x100b7f8d
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x44], ebx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
cmp dword [esi + 0x20], eax
je 0x100b7fd8
mov dword [esi + 0x20], eax
lea ebx, [esi + 0x360]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x100b7fb2
xor ebx, ebx
jmp 0x100b7fd5
cmp byte [eax], 0
jne 0x100b7fbe
mov ebx, 0x100c8cdc
jmp 0x100b7fd5
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x48], ebx
mov eax, dword [edi + 0x24]
cmp dword [esi + 0x24], eax
je 0x100b801a
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x460]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x100b7ff4
xor ebx, ebx
jmp 0x100b8017
cmp byte [eax], 0
jne 0x100b8000
mov ebx, 0x100c8cdc
jmp 0x100b8017
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x4c], ebx
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x28], al
movzx eax, byte [edi + 0x29]
mov byte [esi + 0x29], al
movzx eax, byte [edi + 0x2a]
mov byte [esi + 0x2a], al
mov eax, esi
movzx ecx, byte [edi + 0x2b]
mov byte [esi + 0x2b], cl
movzx ecx, byte [edi + 0x2c]
mov byte [esi + 0x2c], cl
movzx ecx, byte [edi + 0x2d]
mov byte [esi + 0x2d], cl
movzx ecx, byte [edi + 0x2e]
mov byte [esi + 0x2e], cl
movzx ecx, byte [edi + 0x2f]
mov byte [esi + 0x2f], cl
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret