Function at 0x63218760
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x5c
mov dword [ebp - 0x1c], 0
test byte [0x6321d08c], 1
jne 0x63218990
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x63218a00
test ebx, ebx
mov eax, pe_nt_image_headers32
mov dword [esp], edi
cmove ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call fcn.6320f1e0
mov edx, eax
test eax, eax
jne 0x632188b8
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [eax + 0x20]
sub esp, 0x10
mov edx, eax
cmp eax, 0x8877001e
je 0x632187f0
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword fs:[0x18]
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x63218a1a
mov eax, dword [esi + 0x10]
lea esi, [ebp - 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x30]
sub esp, 0x10
test eax, eax
js 0x632189d0
and ebx, 0x80
mov eax, pe_nt_image_headers32
mov dword [ebp - 0x30], ecx
cmovne ebx, eax
mov eax, dword [ebp + 8]
or ebx, dword [ecx + 4]
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [esp + 8], ebx
mov ebx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], ebx
call dword [edx + 0x60]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
sub esp, 0xc
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
test byte [0x6321d08c], 2
je 0x632187e5
mov dword [esp], eax
mov dword [ebp - 0x2c], eax
call fcn.632132a0
test edi, edi
mov edx, dword [ebp - 0x2c]
mov ebx, eax
je 0x63218a10
mov eax, edi
shr eax, 0x10
je 0x632189e0
movzx eax, byte [edi + 0xf]
mov dword [ebp - 0x2c], edx
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], 0x63223918
mov dword [esp + 4], eax
call fcn.632157e0
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.error_creating_interface_for__s:_s._n
mov dword [esp + 8], str.DPL_ConnectEx
mov dword [esp + 4], 0x6321d08c
mov dword [esp], 1
mov dword [ebp - 0x2c], edx
call fcn.632158a0
mov edx, dword [ebp - 0x2c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.__p____0x_08lx__p__p_:_semi_stub_n
mov dword [esp + 0x18], eax
mov dword [esp + 8], str.DPL_ConnectEx
mov dword [esp + 4], 0x6321d08c
mov dword [esp], 0
call fcn.632158a0
jmp 0x63218783
mov dword [ebp - 0x2c], eax
jmp 0x63218888
movzx ecx, di
mov dword [esp], 0x63223907
mov dword [esp + 4], ecx
call fcn.632157e0
mov edx, dword [ebp - 0x2c]
jmp 0x63218950
mov edx, 0x80070057
jmp 0x632187e5
mov eax, 0x632239d8
jmp 0x63218950
mov edx, 0x8007000e
jmp 0x632187e5