Function at 0x10084980
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1018b260]
test eax, eax
jne 0x100849aa
push str.localeconv
call fcn.10086080
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100849a5
or eax, 0xffffffff
mov dword [0x1018b260], 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 0x100849d5
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x1018aefc]
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 0x10084a40
mov dword [esi + 0x440], ecx
lea ebx, [esi + 0x490]
mov eax, dword [edi]
test eax, eax
jne 0x10084a15
xor ebx, ebx
jmp 0x10084a3a
cmp byte [eax], 0
jne 0x10084a21
mov ebx, 0x1008d720
jmp 0x10084a3a
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 0x10084a87
mov dword [esi + 0x444], eax
lea ebx, [esi + 0x494]
mov eax, dword [edi + 4]
test eax, eax
jne 0x10084a62
xor ebx, ebx
jmp 0x10084a81
cmp byte [eax], 0
jne 0x10084a6e
mov ebx, 0x1008d720
jmp 0x10084a81
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 0x10084ae3
mov dword [esi + 0x44c], eax
cmp dword [edi + 0xc], 0
je 0x10084ad9
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 0x10084acd
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x10084ab5
xor eax, eax
mov word [esi + ecx*2 + 0x498], ax
jmp 0x10084ae3
mov dword [esi + 0x478], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x450], eax
je 0x10084b2e
mov dword [esi + 0x450], eax
lea ebx, [esi + 0x4a0]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x10084b05
xor ebx, ebx
jmp 0x10084b28
cmp byte [eax], 0
jne 0x10084b11
mov ebx, 0x1008d720
jmp 0x10084b28
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 0x10084b79
mov dword [esi + 0x454], eax
lea ebx, [esi + 0x5a0]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x10084b50
xor ebx, ebx
jmp 0x10084b73
cmp byte [eax], 0
jne 0x10084b5c
mov ebx, 0x1008d720
jmp 0x10084b73
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 0x10084bc4
mov dword [esi + 0x458], eax
lea ebx, [esi + 0x6a0]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10084b9b
xor ebx, ebx
jmp 0x10084bbe
cmp byte [eax], 0
jne 0x10084ba7
mov ebx, 0x1008d720
jmp 0x10084bbe
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 0x10084c18
mov dword [esi + 0x460], eax
lea ebx, [esi + 0x7a0]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x10084bef
xor ebx, ebx
jmp 0x10084c12
cmp byte [eax], 0
jne 0x10084bfb
mov ebx, 0x1008d720
jmp 0x10084c12
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 0x10084c63
mov dword [esi + 0x464], eax
lea ebx, [esi + 0x8a0]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x10084c3a
xor ebx, ebx
jmp 0x10084c5d
cmp byte [eax], 0
jne 0x10084c46
mov ebx, 0x1008d720
jmp 0x10084c5d
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