Function at 0x414340
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x421bf0]
test eax, eax
jne 0x41436a
push 0x41ce1c
call fcn.00415330
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x414365
or eax, 0xffffffff
mov dword [0x421bf0], 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 0x414395
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x421c5c]
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 0x414400
mov dword [esi + 0x440], ecx
lea ebx, [esi + 0x490]
mov eax, dword [edi]
test eax, eax
jne 0x4143d5
xor ebx, ebx
jmp 0x4143fa
cmp byte [eax], 0
jne 0x4143e1
mov ebx, 0x41aac4
jmp 0x4143fa
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 0x414447
mov dword [esi + 0x444], eax
lea ebx, [esi + 0x494]
mov eax, dword [edi + 4]
test eax, eax
jne 0x414422
xor ebx, ebx
jmp 0x414441
cmp byte [eax], 0
jne 0x41442e
mov ebx, 0x41aac4
jmp 0x414441
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 0x4144a3
mov dword [esi + 0x44c], eax
cmp dword [edi + 0xc], 0
je 0x414499
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 0x41448d
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x414475
xor eax, eax
mov word [esi + ecx*2 + 0x498], ax
jmp 0x4144a3
mov dword [esi + 0x478], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x450], eax
je 0x4144ee
mov dword [esi + 0x450], eax
lea ebx, [esi + 0x4a0]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4144c5
xor ebx, ebx
jmp 0x4144e8
cmp byte [eax], 0
jne 0x4144d1
mov ebx, 0x41aac4
jmp 0x4144e8
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 0x414539
mov dword [esi + 0x454], eax
lea ebx, [esi + 0x5a0]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x414510
xor ebx, ebx
jmp 0x414533
cmp byte [eax], 0
jne 0x41451c
mov ebx, 0x41aac4
jmp 0x414533
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 0x414584
mov dword [esi + 0x458], eax
lea ebx, [esi + 0x6a0]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x41455b
xor ebx, ebx
jmp 0x41457e
cmp byte [eax], 0
jne 0x414567
mov ebx, 0x41aac4
jmp 0x41457e
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 0x4145d8
mov dword [esi + 0x460], eax
lea ebx, [esi + 0x7a0]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4145af
xor ebx, ebx
jmp 0x4145d2
cmp byte [eax], 0
jne 0x4145bb
mov ebx, 0x41aac4
jmp 0x4145d2
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 0x414623
mov dword [esi + 0x464], eax
lea ebx, [esi + 0x8a0]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x4145fa
xor ebx, ebx
jmp 0x41461d
cmp byte [eax], 0
jne 0x414606
mov ebx, 0x41aac4
jmp 0x41461d
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