Function at 0x10063690
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov ecx, eax
sub ecx, dword [ebp + 8]
mov edi, edx
sub edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
test byte [0x1007a1b4], 8
jne 0x10063820
test ebx, ebx
je 0x10063893
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocaleNameToLCID]
sub esp, 8
mov ebx, eax
or eax, esi
jne 0x10063700
mov esi, edi
cmp dword [ebp - 0x10], edi
jae 0x100638b0
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 8
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x18], eax
call eax
sub esp, 0x18
mov edx, eax
test eax, eax
je 0x10063810
lea ecx, [edx + edx]
mov dword [ebp - 0x14], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x10063810
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x14], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 4], 8
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x18]
call ecx
mov edi, dword [sym.imp.kernel32.dll_LCMapStringW]
sub esp, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], 0x400
mov dword [esp], ebx
mov dword [esp + 8], eax
call edi
sub esp, 0x18
mov esi, eax
cmp dword [ebp - 0x10], eax
jae 0x100638d0
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov esi, 0x7fffffff
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edx
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.__p__p__p__p__p__n
mov dword [esp + 8], str._Strxfrm
mov dword [esp + 4], 0x1007a1b4
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.10042550
test ebx, ebx
jne 0x100636c4
test byte [0x1007a1b4], 8
je 0x10063893
mov dword [esp + 0xc], 0x100888cc
mov dword [esp + 8], str.getcoll
mov dword [esp + 4], 0x1007a1b4
mov dword [esp], 3
call fcn.10042550
call sub.msvcr110.dll____lc_collate_cp_func
mov esi, eax
call sub.msvcr110.dll____lc_locale_name_func
mov eax, dword [eax + 4]
jmp 0x100636c9
mov dword [esp + 8], edi
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcr110.dll_memcpy
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], 0x400
mov dword [esp], ebx
mov dword [esp + 8], eax
call edi
sub esp, 0x18
jmp 0x100637dd