Function at 0x10085690
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1018d328]
test eax, eax
jne 0x100856ba
push str.localeconv
call fcn.10086d90
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100856b5
or eax, 0xffffffff
mov dword [0x1018d328], 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 0x100856e5
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x1018cfc0]
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 + 0x440], ecx
je 0x10085750
mov dword [esi + 0x440], ecx
lea ebx, [esi + 0x490]
mov eax, dword [edi]
test eax, eax
jne 0x10085725
xor ebx, ebx
jmp 0x1008574a
cmp byte [eax], 0
jne 0x10085731
mov ebx, 0x1008e720
jmp 0x1008574a
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 + 0x470], ebx
mov eax, dword [edi + 4]
cmp dword [esi + 0x444], eax
je 0x10085797
mov dword [esi + 0x444], eax
lea ebx, [esi + 0x494]
mov eax, dword [edi + 4]
test eax, eax
jne 0x10085772
xor ebx, ebx
jmp 0x10085791
cmp byte [eax], 0
jne 0x1008577e
mov ebx, 0x1008e720
jmp 0x10085791
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 + 0x474], ebx
mov eax, dword [edi + 8]
mov dword [esi + 0x448], eax
mov eax, dword [edi + 0xc]
cmp dword [esi + 0x44c], eax
je 0x100857f3
mov dword [esi + 0x44c], eax
cmp dword [edi + 0xc], 0
je 0x100857e9
lea edx, [esi + 0x498]
xor ecx, ecx
mov dword [esi + 0x478], edx
mov eax, dword [edi + 0xc]
mov al, byte [ecx + eax]
test al, al
je 0x100857dd
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x100857c5
xor eax, eax
mov word [esi + ecx*2 + 0x498], ax
jmp 0x100857f3
mov dword [esi + 0x478], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x450], eax
je 0x1008583e
mov dword [esi + 0x450], eax
lea ebx, [esi + 0x4a0]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x10085815
xor ebx, ebx
jmp 0x10085838
cmp byte [eax], 0
jne 0x10085821
mov ebx, 0x1008e720
jmp 0x10085838
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 + 0x47c], ebx
mov eax, dword [edi + 0x14]
cmp dword [esi + 0x454], eax
je 0x10085889
mov dword [esi + 0x454], eax
lea ebx, [esi + 0x5a0]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x10085860
xor ebx, ebx
jmp 0x10085883
cmp byte [eax], 0
jne 0x1008586c
mov ebx, 0x1008e720
jmp 0x10085883
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 + 0x480], ebx
mov eax, dword [edi + 0x18]
cmp dword [esi + 0x458], eax
je 0x100858d4
mov dword [esi + 0x458], eax
lea ebx, [esi + 0x6a0]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x100858ab
xor ebx, ebx
jmp 0x100858ce
cmp byte [eax], 0
jne 0x100858b7
mov ebx, 0x1008e720
jmp 0x100858ce
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 + 0x484], ebx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x45c], eax
mov eax, dword [edi + 0x20]
cmp dword [esi + 0x460], eax
je 0x10085928
mov dword [esi + 0x460], eax
lea ebx, [esi + 0x7a0]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x100858ff
xor ebx, ebx
jmp 0x10085922
cmp byte [eax], 0
jne 0x1008590b
mov ebx, 0x1008e720
jmp 0x10085922
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 + 0x488], ebx
mov eax, dword [edi + 0x24]
cmp dword [esi + 0x464], eax
je 0x10085973
mov dword [esi + 0x464], eax
lea ebx, [esi + 0x8a0]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x1008594a
xor ebx, ebx
jmp 0x1008596d
cmp byte [eax], 0
jne 0x10085956
mov ebx, 0x1008e720
jmp 0x1008596d
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 + 0x48c], ebx
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x468], al
movzx eax, byte [edi + 0x29]
mov byte [esi + 0x469], al
movzx eax, byte [edi + 0x2a]
mov byte [esi + 0x46a], al
lea eax, [esi + 0x440]
movzx ecx, byte [edi + 0x2b]
mov byte [esi + 0x46b], cl
movzx ecx, byte [edi + 0x2c]
mov byte [esi + 0x46c], cl
movzx ecx, byte [edi + 0x2d]
mov byte [esi + 0x46d], cl
movzx ecx, byte [edi + 0x2e]
mov byte [esi + 0x46e], cl
movzx ecx, byte [edi + 0x2f]
mov byte [esi + 0x46f], cl
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret