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

Disassembly:
push ebp
mov ebp, esp
push ecx
bt dword [0x10161d7c], 0
mov edx, str.localeconv
mov ecx, 0x101ad004
call fcn.1014ec40
test eax, eax
jne 0x10145363
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 0x10145676
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x101b5c48]
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 0x101453f8
mov dword [esi + 0x18], ecx
lea ebx, [esi + 0x68]
mov eax, dword [edi]
test eax, eax
jne 0x101453cd
xor ebx, ebx
jmp 0x101453f2
cmp byte [eax], 0
jne 0x101453d9
mov ebx, 0x10162418
jmp 0x101453f2
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 0x1014543f
mov dword [esi + 0x1c], eax
lea ebx, [esi + 0x6c]
mov eax, dword [edi + 4]
test eax, eax
jne 0x1014541a
xor ebx, ebx
jmp 0x10145439
cmp byte [eax], 0
jne 0x10145426
mov ebx, 0x10162418
jmp 0x10145439
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 0x1014549e
mov dword [esi + 0x24], eax
cmp dword [edi + 0xc], 0
je 0x10145494
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 0x10145488
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x10145470
xor eax, eax
mov word [esi + ecx*2 + 0x70], ax
jmp 0x1014549e
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x28], eax
je 0x101454e9
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x78]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x101454c0
xor ebx, ebx
jmp 0x101454e3
cmp byte [eax], 0
jne 0x101454cc
mov ebx, 0x10162418
jmp 0x101454e3
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 0x10145534
mov dword [esi + 0x2c], eax
lea ebx, [esi + 0x178]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x1014550b
xor ebx, ebx
jmp 0x1014552e
cmp byte [eax], 0
jne 0x10145517
mov ebx, 0x10162418
jmp 0x1014552e
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 0x1014557f
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x278]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10145556
xor ebx, ebx
jmp 0x10145579
cmp byte [eax], 0
jne 0x10145562
mov ebx, 0x10162418
jmp 0x10145579
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 0x101455d3
mov dword [esi + 0x38], eax
lea ebx, [esi + 0x378]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x101455aa
xor ebx, ebx
jmp 0x101455cd
cmp byte [eax], 0
jne 0x101455b6
mov ebx, 0x10162418
jmp 0x101455cd
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 0x1014561e
mov dword [esi + 0x3c], eax
lea ebx, [esi + 0x478]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x101455f5
xor ebx, ebx
jmp 0x10145618
cmp byte [eax], 0
jne 0x10145601
mov ebx, 0x10162418
jmp 0x10145618
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