Function at 0x10084630
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1018b248]
test eax, eax
jne 0x1008465a
push str.localeconv
call fcn.10085d30
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10084655
or eax, 0xffffffff
mov dword [0x1018b248], 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 0x10084685
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x1018aee4]
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 0x100846f0
mov dword [esi + 0x440], ecx
lea ebx, [esi + 0x490]
mov eax, dword [edi]
test eax, eax
jne 0x100846c5
xor ebx, ebx
jmp 0x100846ea
cmp byte [eax], 0
jne 0x100846d1
mov ebx, 0x1008d720
jmp 0x100846ea
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 0x10084737
mov dword [esi + 0x444], eax
lea ebx, [esi + 0x494]
mov eax, dword [edi + 4]
test eax, eax
jne 0x10084712
xor ebx, ebx
jmp 0x10084731
cmp byte [eax], 0
jne 0x1008471e
mov ebx, 0x1008d720
jmp 0x10084731
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 0x10084793
mov dword [esi + 0x44c], eax
cmp dword [edi + 0xc], 0
je 0x10084789
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 0x1008477d
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x10084765
xor eax, eax
mov word [esi + ecx*2 + 0x498], ax
jmp 0x10084793
mov dword [esi + 0x478], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x450], eax
je 0x100847de
mov dword [esi + 0x450], eax
lea ebx, [esi + 0x4a0]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x100847b5
xor ebx, ebx
jmp 0x100847d8
cmp byte [eax], 0
jne 0x100847c1
mov ebx, 0x1008d720
jmp 0x100847d8
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 0x10084829
mov dword [esi + 0x454], eax
lea ebx, [esi + 0x5a0]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x10084800
xor ebx, ebx
jmp 0x10084823
cmp byte [eax], 0
jne 0x1008480c
mov ebx, 0x1008d720
jmp 0x10084823
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 0x10084874
mov dword [esi + 0x458], eax
lea ebx, [esi + 0x6a0]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x1008484b
xor ebx, ebx
jmp 0x1008486e
cmp byte [eax], 0
jne 0x10084857
mov ebx, 0x1008d720
jmp 0x1008486e
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 0x100848c8
mov dword [esi + 0x460], eax
lea ebx, [esi + 0x7a0]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x1008489f
xor ebx, ebx
jmp 0x100848c2
cmp byte [eax], 0
jne 0x100848ab
mov ebx, 0x1008d720
jmp 0x100848c2
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 0x10084913
mov dword [esi + 0x464], eax
lea ebx, [esi + 0x8a0]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x100848ea
xor ebx, ebx
jmp 0x1008490d
cmp byte [eax], 0
jne 0x100848f6
mov ebx, 0x1008d720
jmp 0x1008490d
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