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

Disassembly:
push ebp
mov ebp, esp
push ecx
bt dword [0x10162d7c], 0
mov edx, str.localeconv
mov ecx, 0x101ae004
call fcn.1014f3d0
test eax, eax
jne 0x10145af3
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 0x10145e06
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x101b6c88]
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 0x10145b88
mov dword [esi + 0x18], ecx
lea ebx, [esi + 0x68]
mov eax, dword [edi]
test eax, eax
jne 0x10145b5d
xor ebx, ebx
jmp 0x10145b82
cmp byte [eax], 0
jne 0x10145b69
mov ebx, 0x10163418
jmp 0x10145b82
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 0x10145bcf
mov dword [esi + 0x1c], eax
lea ebx, [esi + 0x6c]
mov eax, dword [edi + 4]
test eax, eax
jne 0x10145baa
xor ebx, ebx
jmp 0x10145bc9
cmp byte [eax], 0
jne 0x10145bb6
mov ebx, 0x10163418
jmp 0x10145bc9
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 0x10145c2e
mov dword [esi + 0x24], eax
cmp dword [edi + 0xc], 0
je 0x10145c24
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 0x10145c18
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x10145c00
xor eax, eax
mov word [esi + ecx*2 + 0x70], ax
jmp 0x10145c2e
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x28], eax
je 0x10145c79
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x78]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x10145c50
xor ebx, ebx
jmp 0x10145c73
cmp byte [eax], 0
jne 0x10145c5c
mov ebx, 0x10163418
jmp 0x10145c73
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 0x10145cc4
mov dword [esi + 0x2c], eax
lea ebx, [esi + 0x178]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x10145c9b
xor ebx, ebx
jmp 0x10145cbe
cmp byte [eax], 0
jne 0x10145ca7
mov ebx, 0x10163418
jmp 0x10145cbe
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 0x10145d0f
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x278]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10145ce6
xor ebx, ebx
jmp 0x10145d09
cmp byte [eax], 0
jne 0x10145cf2
mov ebx, 0x10163418
jmp 0x10145d09
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 0x10145d63
mov dword [esi + 0x38], eax
lea ebx, [esi + 0x378]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x10145d3a
xor ebx, ebx
jmp 0x10145d5d
cmp byte [eax], 0
jne 0x10145d46
mov ebx, 0x10163418
jmp 0x10145d5d
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 0x10145dae
mov dword [esi + 0x3c], eax
lea ebx, [esi + 0x478]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x10145d85
xor ebx, ebx
jmp 0x10145da8
cmp byte [eax], 0
jne 0x10145d91
mov ebx, 0x10163418
jmp 0x10145da8
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