Function at 0x49c3b0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
mov eax, 0x5dcdf8
push ebx
push esi
push edi
lea ebx, [ebp - 0x48]
mov esi, dword [ebp + 0x10]
call fcn.0057c5c8
push esi
mov esi, 0x5dbb54
lea edi, [ebp - 0x14c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
test esi, esi
jg 0x49c8bf
push 0x5deba4
push 8
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.004815c8
test eax, eax
jne 0x49c45c
mov word [ebx + 0x10], 8
mov edx, 0x5dcb46
lea eax, [ebp - 4]
call fcn.0058f82c
inc dword [ebx + 0x1c]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x14
push eax
lea eax, [ebp - 4]
dec dword [ebx + 0x1c]
call fcn.0058fb04
pop eax
mov word [ebx + 0x10], 8
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x49c9cc
cmp byte [ebp + 0x14], 0
je 0x49c50f
xor ecx, ecx
xor eax, eax
mov cl, byte [ebp - 0x145]
xor edx, edx
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x146]
push eax
xor eax, eax
mov dl, byte [ebp - 0x147]
push edx
xor edx, edx
mov cl, byte [ebp - 0x148]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x149]
push eax
xor eax, eax
mov dl, byte [ebp - 0x14a]
push edx
lea edx, [ebp - 0x49]
mov cl, byte [ebp - 0x14b]
push ecx
mov al, byte [ebp - 0x14c]
push eax
push 0x5dcb47
push edx
call sub.CC3260MT.DLL__sprintf
mov word [ebx + 0x10], 0x20
add esp, 0x28
lea edx, [ebp - 0x49]
lea eax, [ebp - 8]
call fcn.0058f82c
mov edx, eax
inc dword [ebx + 0x1c]
mov eax, dword [ebp + 8]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x2c
push eax
lea eax, [ebp - 8]
dec dword [ebx + 0x1c]
call fcn.0058fb04
pop eax
mov word [ebx + 0x10], 0x20
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x49c9cc
mov word [ebx + 0x10], 0x38
xor ecx, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
inc dword [ebx + 0x1c]
xor edx, edx
mov dl, byte [ebp - 0x14c]
xor eax, eax
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], ecx
xor ecx, ecx
mov byte [ebp - 0x58], 0
mov al, byte [ebp - 0x14b]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], edx
xor edx, edx
mov byte [ebp - 0x64], 0
mov cl, byte [ebp - 0x14a]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
xor eax, eax
mov byte [ebp - 0x70], 0
mov dl, byte [ebp - 0x149]
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x80], ecx
xor ecx, ecx
mov byte [ebp - 0x7c], 0
mov al, byte [ebp - 0x148]
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], edx
xor edx, edx
mov byte [ebp - 0x88], 0
mov cl, byte [ebp - 0x147]
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
xor eax, eax
mov byte [ebp - 0x94], 0
mov dl, byte [ebp - 0x146]
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], ecx
mov ecx, 8
mov byte [ebp - 0xa0], 0
mov al, byte [ebp - 0x145]
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 0xac], 0
push 0
push 0
push 0x419390
push 3
mov dword [ebp - 0x10], ecx
push ecx
push 8
push 0
call fcn.0057c214
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov dword [esi], eax
mov dl, byte [ebp - 0x58]
mov byte [esi + 4], dl
mov edi, dword [ebp - 0x14]
add edi, 8
mov eax, dword [ebp - 0x68]
mov dword [edi], eax
mov dl, byte [ebp - 0x64]
mov byte [edi + 4], dl
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x74]
mov dword [eax], edx
mov ecx, dword [ebp - 0xb4]
mov al, byte [ebp - 0x70]
mov byte [ecx + 4], al
mov edx, dword [ebp - 0x14]
add edx, 0x18
mov dword [ebp - 0xb8], edx
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x80]
mov dword [ecx], eax
mov edx, dword [ebp - 0xb8]
mov cl, byte [ebp - 0x7c]
mov byte [edx + 4], cl
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x8c]
mov dword [edx], ecx
mov eax, dword [ebp - 0xbc]
mov dl, byte [ebp - 0x88]
mov byte [eax + 4], dl
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x98]
mov dword [eax], edx
mov ecx, dword [ebp - 0xc0]
mov al, byte [ebp - 0x94]
mov byte [ecx + 4], al
mov edx, dword [ebp - 0x14]
add edx, 0x30
mov dword [ebp - 0xc4], edx
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xa4]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc4]
mov cl, byte [ebp - 0xa0]
mov byte [edx + 4], cl
mov eax, dword [ebp - 0x14]
add eax, 0x38
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xb0]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc8]
mov dl, byte [ebp - 0xac]
mov byte [eax + 4], dl
lea ecx, [ebp - 0x14]
inc dword [ebx + 0x1c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
push edx
mov edx, 0x5dcb68
lea eax, [ebp - 0xc]
call fcn.0058f82c
inc dword [ebx + 0x1c]
xor edx, edx
mov dl, byte [ebp - 0x14c]
mov eax, dword [eax]
mov dword [ebp - 0xcc], edx
xor edx, edx
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 0xd0], 0
mov dl, byte [ebp - 0x14b]
mov dword [ebp - 0xd8], edx
xor edx, edx
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 0xdc], 0
mov dl, byte [ebp - 0x14a]
mov dword [ebp - 0xe4], edx
xor edx, edx
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 0xe8], 0
mov dl, byte [ebp - 0x149]
mov dword [ebp - 0xf0], edx
xor edx, edx
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 0xf4], 0
mov dl, byte [ebp - 0x148]
mov dword [ebp - 0xfc], edx
xor edx, edx
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 0x100], 0
mov dl, byte [ebp - 0x147]
mov dword [ebp - 0x108], edx
xor edx, edx
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 0x10c], 0
mov dl, byte [ebp - 0x146]
mov dword [ebp - 0x114], edx
xor edx, edx
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 0x118], 0
mov dl, byte [ebp - 0x145]
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x128], ecx
mov byte [ebp - 0x124], 0
mov dword [ebp - 0x12c], 8
mov ecx, dword [ebp - 0x12c]
pop edx
dec ecx
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x44
push eax
lea eax, [ebp - 0x18]
dec dword [ebx + 0x1c]
call fcn.0058fb04
dec dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x14]
push ecx
call sub.CC3260MT.DLL___bdla_qpv
pop ecx
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0058fb04
pop eax
mov word [ebx + 0x10], 0x38
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x49c9cc
lea ecx, [ebp - 0x14c]
push ecx
push esi
call fcn.0049c240
add esp, 8
test eax, eax
je 0x49c926
mov word [ebx + 0x10], 0x5c
mov edx, 0x5dcb79
lea eax, [ebp - 0x20]
call fcn.0058f82c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x68
push eax
lea eax, [ebp - 0x20]
dec dword [ebx + 0x1c]
call fcn.0058fb04
pop eax
mov word [ebx + 0x10], 0x5c
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x49c9cc
mov word [ebx + 0x10], 0x74
xor ecx, ecx
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x1c]
inc dword [ebx + 0x1c]
mov word [ebx + 0x10], pe_nt_image_headers32
push eax
push 0x5dcb7a
push edx
call fcn.0058fdec
mov word [ebx + 0x10], 0x8c
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x24]
inc dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
call fcn.0058ff10
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x1c]
call fcn.0058fb34
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0058fb04
mov word [ebx + 0x10], 0x98
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0xa4
push eax
lea eax, [ebp - 0x1c]
dec dword [ebx + 0x1c]
call fcn.0058fb04
pop eax
mov word [ebx + 0x10], 0x98
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x49c9cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret