Function at 0x10146080
Capabilities:
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
bt dword [0x10162d80], 0
mov edx, str.localeconv
mov ecx, 0x101af004
call fcn.1014f980
test eax, eax
jne 0x101460a3
mov esp, ebp
pop ebp
ret
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
jae 0x101463b6
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x101b7c88]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 4], eax
mov esi, dword [ecx + edx*4]
mov ecx, dword [edi]
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [esi + 0x18], ecx
je 0x10146138
mov dword [esi + 0x18], ecx
lea ebx, [esi + 0x68]
mov eax, dword [edi]
test eax, eax
jne 0x1014610d
xor ebx, ebx
jmp 0x10146132
cmp byte [eax], 0
jne 0x10146119
mov ebx, 0x10163418
jmp 0x10146132
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 + 0x48], ebx
mov eax, dword [edi + 4]
cmp dword [esi + 0x1c], eax
je 0x1014617f
mov dword [esi + 0x1c], eax
lea ebx, [esi + 0x6c]
mov eax, dword [edi + 4]
test eax, eax
jne 0x1014615a
xor ebx, ebx
jmp 0x10146179
cmp byte [eax], 0
jne 0x10146166
mov ebx, 0x10163418
jmp 0x10146179
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 + 0x4c], ebx
mov eax, dword [edi + 8]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0xc]
cmp dword [esi + 0x24], eax
je 0x101461de
mov dword [esi + 0x24], eax
cmp dword [edi + 0xc], 0
je 0x101461d4
lea edx, [esi + 0x70]
xor ecx, ecx
mov dword [esi + 0x50], edx
lea ecx, [ecx]
mov eax, dword [edi + 0xc]
mov al, byte [ecx + eax]
test al, al
je 0x101461c8
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x101461b0
xor eax, eax
mov word [esi + ecx*2 + 0x70], ax
jmp 0x101461de
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x28], eax
je 0x10146229
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x78]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x10146200
xor ebx, ebx
jmp 0x10146223
cmp byte [eax], 0
jne 0x1014620c
mov ebx, 0x10163418
jmp 0x10146223
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 + 0x54], ebx
mov eax, dword [edi + 0x14]
cmp dword [esi + 0x2c], eax
je 0x10146274
mov dword [esi + 0x2c], eax
lea ebx, [esi + 0x178]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x1014624b
xor ebx, ebx
jmp 0x1014626e
cmp byte [eax], 0
jne 0x10146257
mov ebx, 0x10163418
jmp 0x1014626e
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 + 0x58], ebx
mov eax, dword [edi + 0x18]
cmp dword [esi + 0x30], eax
je 0x101462bf
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x278]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10146296
xor ebx, ebx
jmp 0x101462b9
cmp byte [eax], 0
jne 0x101462a2
mov ebx, 0x10163418
jmp 0x101462b9
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 + 0x5c], ebx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x20]
cmp dword [esi + 0x38], eax
je 0x10146313
mov dword [esi + 0x38], eax
lea ebx, [esi + 0x378]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x101462ea
xor ebx, ebx
jmp 0x1014630d
cmp byte [eax], 0
jne 0x101462f6
mov ebx, 0x10163418
jmp 0x1014630d
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 + 0x60], ebx
mov eax, dword [edi + 0x24]
cmp dword [esi + 0x3c], eax
je 0x1014635e
mov dword [esi + 0x3c], eax
lea ebx, [esi + 0x478]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x10146335
xor ebx, ebx
jmp 0x10146358
cmp byte [eax], 0
jne 0x10146341
mov ebx, 0x10163418
jmp 0x10146358
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 + 0x64], ebx
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x40], al
movzx eax, byte [edi + 0x29]
mov byte [esi + 0x41], al
movzx eax, byte [edi + 0x2a]
mov byte [esi + 0x42], al
lea eax, [esi + 0x18]
movzx ecx, byte [edi + 0x2b]
mov byte [esi + 0x43], cl
movzx ecx, byte [edi + 0x2c]
mov byte [esi + 0x44], cl
movzx ecx, byte [edi + 0x2d]
mov byte [esi + 0x45], cl
movzx ecx, byte [edi + 0x2e]
mov byte [esi + 0x46], cl
movzx ecx, byte [edi + 0x2f]
mov byte [esi + 0x47], cl
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret