Function at 0x6c83a060
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [0x6c853824]
test eax, eax
je 0x6c83a130
mov dword [esp], ebx
call sym.krnl386.exe16_LoadLibrary16
sub esp, 4
mov ebx, eax
cmp ax, 0x20
ja 0x6c83a0c8
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x1c
movzx eax, ax
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [ebp - 0x3c], eax
call fcn.6c826ca0
sub esp, 8
mov edi, eax
test eax, eax
je 0x6c83a0b4
call dword [sym.imp.ntdll.dll_RtlAcquirePebLock]
mov eax, dword [0x6c853828]
test eax, eax
jne 0x6c83a0fe
jmp 0x6c83a160
mov eax, dword [eax]
test eax, eax
je 0x6c83a160
cmp esi, dword [eax + 4]
jne 0x6c83a0f8
call dword [sym.imp.ntdll.dll_RtlReleasePebLock]
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sym.krnl386.exe16_FreeLibrary16
xor eax, eax
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov dword [esp], str.gdi.exe
call sym.krnl386.exe16_LoadLibrary16
sub esp, 4
mov dword [esp], str.user.exe
call sym.krnl386.exe16_LoadLibrary16
mov dword [0x6c853824], 1
sub esp, 4
jmp 0x6c83a0a1
mov eax, dword [0x6c853820]
test eax, eax
je 0x6c83a2d8
mov dword [esp + 8], 0x24
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x6c83a103
mov ecx, 0x6858
mov word [eax + 8], bx
mov ebx, 0xffffea50
mov dword [eax + 4], esi
mov word [eax + 0xa], cx
mov eax, dword [ebp - 0x30]
mov word [edx + 0x10], bx
mov dword [edx + 0x18], edi
mov dword [ebp - 0x30], edx
mov dword [edx + 0xc], eax
mov eax, dword [0x6c853820]
mov dword [edx + 0x12], eax
mov eax, 0x6858
mov word [edx + 0x16], ax
mov eax, 0xffffe950
mov word [edx + 0x1c], ax
mov eax, 0x6c839d1e
sub eax, edx
mov dword [edx + 0x1e], eax
mov eax, dword [0x6c853828]
mov dword [0x6c853828], edx
mov dword [edx], eax
call dword [sym.imp.ntdll.dll_RtlReleasePebLock]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
test eax, eax
je 0x6c83a2b8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], edx
mov dword [esp], eax
call fcn.6c826ca0
mov edx, dword [ebp - 0x2c]
sub esp, 8
test eax, eax
mov edi, eax
je 0x6c83a2b8
lea eax, [edx + 0xa]
mov dword [ebp - 0x30], edx
mov dword [esp], eax
call sym.krnl386.exe16_MapLS
mov ebx, eax
mov eax, dword [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
call sym.krnl386.exe16_MapLS
mov dword [ebp - 0x1c], ebx
sub esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], edi
call sym.krnl386.exe16_K32WOWCallback16Ex
mov ecx, dword [ebp - 0x2c]
sub esp, 0x14
mov dword [esp], ecx
call sym.krnl386.exe16_UnMapLS
sub esp, 4
mov dword [esp], ebx
call sym.krnl386.exe16_UnMapLS
mov edx, dword [ebp - 0x24]
sub esp, 4
test edx, edx
mov edx, dword [ebp - 0x30]
jne 0x6c83a2b8
mov dword [esp], esi
call sym.krnl386.exe16_UTUnRegister
sub esp, 4
jmp 0x6c83a0b4
mov eax, dword [ebp - 0x34]
add edx, 0x16
mov dword [eax], edx
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov dword [esp], str.KERNEL
call sym.krnl386.exe16_GetModuleHandle16
sub esp, 4
movzx eax, ax
mov dword [esp + 4], str.UTGlue16
mov dword [esp], eax
call fcn.6c826ca0
sub esp, 8
mov dword [0x6c853820], eax
test eax, eax
jne 0x6c83a16d
jmp 0x6c83a103