Function at 0x4b5660
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5be736
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
mov eax, dword [0x64a740]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x16c]
call fcn.00557aba
mov eax, dword [0x63b4a0]
mov dword [esp + 0x280], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x280], 0x12
call fcn.0055b385
lea ecx, [esp + 0x68]
mov byte [esp + 0x280], 0x13
call fcn.0055b385
lea ecx, [esp + 0x58]
mov byte [esp + 0x280], 0x14
call fcn.0055b385
lea ecx, [esp + 0xc8]
mov byte [esp + 0x280], 0x15
call fcn.0055b385
lea ecx, [esp + 0xa8]
mov byte [esp + 0x280], 0x16
call fcn.0055b385
lea ecx, [esp + 0xf8]
mov byte [esp + 0x280], 0x17
call fcn.0055b385
lea ecx, [esp + 0xe8]
mov byte [esp + 0x280], 0x18
call fcn.0055b385
lea ecx, [esp + 0xd8]
mov byte [esp + 0x280], 0x19
call fcn.0055b385
mov byte [esp + 0x280], 0x1a
lea ecx, [esp + 0x88]
call fcn.0055b385
lea ecx, [esp + 0xb8]
mov byte [esp + 0x280], 0x1b
call fcn.0055b385
lea ecx, [esp + 0x98]
mov byte [esp + 0x280], 0x1c
call fcn.0055b385
push fcn.0055b3f5
push fcn.0055b385
push 2
lea ecx, [esp + 0x134]
push 0x10
push ecx
mov byte [esp + 0x294], 0x1d
call fcn.005695c3
push fcn.0055b3f5
push fcn.0055b385
push 2
lea edx, [esp + 0x114]
push 0x10
push edx
mov byte [esp + 0x294], 0x1e
call fcn.005695c3
push str.TPChannel1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x284], 0x1f
call fcn.0058e0c8
push str.ShareContactToChannel1
lea ecx, [esp + 0x4c]
call fcn.0058e0c8
push 0x619fac
lea ecx, [esp + 0x44]
call fcn.0058e0c8
push str.Monitor1
lea ecx, [esp + 0x34]
call fcn.0058e0c8
push 0x619fac
lea ecx, [esp + 0x40]
call fcn.0058e0c8
push str.CheckTask1
lea ecx, [esp + 0x48]
call fcn.0058e0c8
push 0x619fac
lea ecx, [esp + 0x38]
call fcn.0058e0c8
push str.SoftCall1
lea ecx, [esp + 0x30]
call fcn.0058e0c8
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0
push 0
push 0
add esi, 0x122c
push 0x645010
mov ebx, 1
push 0
push ebx
mov ecx, esi
call fcn.00589d9e
mov ebp, eax
push ebx
lea eax, [esp + 0x2c]
push 0x61842c
push eax
call fcn.00588507
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ecx
push ebx
push ebp
mov ecx, esi
call fcn.00589e99
push 0x631518
push 3
push ebp
mov ecx, esi
call fcn.00589e99
mov ecx, 0xc
xor eax, eax
mov edi, 0x64a6b8
xor edx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xc
xor eax, eax
mov edi, 0x64a684
mov dword [0x64fc58], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xc
xor eax, eax
mov edi, 0x64a650
mov dword [0x64fc5c], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 8
xor eax, eax
mov edi, 0x64a630
mov dword [0x64fc60], edx
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esp + 0x148]
rep stosd dword es:[edi], eax
mov dword [0x64fc64], edx
lea ecx, [esp + 0x168]
mov dword [0x64fc68], edx
call fcn.005580b8
test eax, eax
je 0x4b5963
lea ecx, [esp + 0x168]
call fcn.00557ea3
push ebx
lea eax, [esp + 0x18]
push str.select__from_Line_where_Line_d
push eax
call fcn.00588507
mov ecx, dword [esp + 0x20]
add esp, 0xc
xor edi, edi
push edi
push ecx
push edi
lea ecx, [esp + 0x174]
call fcn.00557dcf
cmp dword [esp + 0x230], edi
je 0x4b5a47
push ebx
push 0x61842c
push 0x64fc58
call fcn.00569261
add esp, 0xc
mov ecx, esi
mov dword [0x64a62c], ebx
mov dword [0x64a628], ebx
push 0x6199a8
push 6
push ebp
mov dword [0x64a624], ebx
mov dword [0x64a620], ebx
mov dword [0x64a61c], edi
mov dword [0x64a5b0], ebx
mov dword [0x64a5ac], ebx
mov dword [0x64a5a8], ebx
mov dword [0x64a5a4], ebx
mov dword [0x64a5a0], ebx
mov dword [0x64a618], ebx
call fcn.00589e99
push 0x6199a8
push 7
push ebp
mov ecx, esi
call fcn.00589e99
mov edx, dword [0x64a5a8]
mov eax, dword [0x64a5ac]
mov ecx, dword [0x64a5b0]
push edx
push eax
push ecx
push ebx
lea edx, [esp + 0x24]
push str.insert_into_Line_Line__tOutRec_InRec__tPermitEdit__t_t_tPermitDelete__t_t_tPermitAllRec_ClientPSD_LDTP_QDTP_AUTOPLAY_Add0CallRemoteMobile_values__d_1_1__d__d__d__1_1_0_1_
push edx
call fcn.00588507
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x64a740]
add esp, 0x18
push eax
call fcn.005572e4
jmp 0x4b5d63
lea ecx, [esp + 0x10]
push ecx
push str.Phone
lea ecx, [esp + 0x170]
call fcn.0055891c
lea edx, [esp + 0x78]
push edi
push edx
push str.OutRec
lea ecx, [esp + 0x174]
call fcn.005587de
lea eax, [esp + 0x68]
push edi
push eax
push str.InRec
lea ecx, [esp + 0x174]
call fcn.005587de
lea ecx, [esp + 0x20]
push ecx
push str.InAdd
lea ecx, [esp + 0x170]
call fcn.0055891c
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x168]
push edx
push str.OutAdd
call fcn.0055891c
lea eax, [esp + 0x18]
lea ecx, [esp + 0x168]
push eax
push str.CallIP
call fcn.0055891c
lea ecx, [esp + 0x24]
push ecx
push str.ClientPSD
lea ecx, [esp + 0x170]
call fcn.0055891c
lea edx, [esp + 0x58]
push edi
push edx
push str.PermitEdit
lea ecx, [esp + 0x174]
call fcn.005587de
lea eax, [esp + 0xc8]
push edi
push eax
push str.PermitDelete
lea ecx, [esp + 0x174]
call fcn.005587de
lea ecx, [esp + 0xa8]
push edi
push ecx
push str.PermitAllRec
lea ecx, [esp + 0x174]
call fcn.005587de
lea edx, [esp + 0xd8]
push edi
push edx
push str.LDTP
lea ecx, [esp + 0x174]
call fcn.005587de
lea eax, [esp + 0x88]
push edi
push eax
push str.QDTP
lea ecx, [esp + 0x174]
call fcn.005587de
lea ecx, [esp + 0xb8]
push edi
push ecx
push str.AUTOPLAY
lea ecx, [esp + 0x174]
call fcn.005587de
lea edx, [esp + 0x98]
push edi
push edx
push str.Add0CallRemoteMobile
lea ecx, [esp + 0x174]
call fcn.005587de
mov eax, dword [esp + 0xa0]
mov dword [0x64a618], eax
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0xc0]
mov dword [0x64a624], ecx
mov ecx, dword [esp + 0x20]
mov dword [0x64a620], edx
push ecx
push 0x6190e0
push 0x64a650
mov dword [0x64a61c], eax
call fcn.00569261
mov edx, dword [esp + 0x28]
push edx
push 0x6190e0
push 0x64a684
call fcn.00569261
mov eax, dword [esp + 0x30]
push eax
push 0x6190e0
push 0x64a6b8
call fcn.00569261
mov ecx, dword [esp + 0x48]
push ecx
push 0x6190e0
push 0x64a630
call fcn.00569261
mov edx, dword [esp + 0x40]
add esp, 0x30
mov ecx, esi
push edx
push 2
push ebp
call fcn.00589e99
lea ecx, [esp + 0x10]
call fcn.005887be
lea ecx, [esp + 0x10]
call fcn.005886c7
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x148]
push eax
push 0x6190e0
push ecx
call fcn.00569261
mov edx, dword [esp + 0x1c]
push 0x645010
push edx
call fcn.00568a52
add esp, 0x14
test eax, eax
jne 0x4b5c71
push ebx
push 0x61842c
jmp 0x4b5c7b
mov eax, dword [esp + 0x10]
push eax
push 0x6190e0
push 0x64fc58
call fcn.00569261
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp eax, edi
mov dword [0x64a62c], edi
mov dword [0x64a628], edi
mov dword [0x64a5b0], edi
mov dword [0x64a5ac], edi
mov dword [0x64a5a8], edi
mov dword [0x64a5a4], edi
mov dword [0x64a5a0], edi
mov dword [0x64a59c], edi
mov byte [0x64a598], 0
je 0x4b5cdc
push 0x6199a8
push 6
push ebp
mov ecx, esi
mov dword [0x64a62c], ebx
call fcn.00589e99
cmp dword [esp + 0x80], edi
je 0x4b5cfa
push 0x6199a8
push 7
push ebp
mov ecx, esi
call fcn.00589e99
mov dword [0x64a628], ebx
cmp dword [esp + 0x60], edi
je 0x4b5d06
mov dword [0x64a5b0], ebx
cmp dword [esp + 0xd0], edi
je 0x4b5d15
mov dword [0x64a5ac], ebx
cmp dword [esp + 0xf0], edi
je 0x4b5d24
mov dword [0x64a5a0], ebx
cmp dword [esp + 0xb0], edi
je 0x4b5d33
mov dword [0x64a5a8], ebx
cmp dword [esp + 0x100], edi
je 0x4b5d42
mov dword [0x64a5a4], ebx
mov al, byte [esp + 0x140]
test al, al
je 0x4b5d53
mov dword [0x64a59c], ebx
cmp byte [esp + 0x120], bl
sete cl
mov byte [0x64a598], cl
push edi
push 0x64a6b8
call dword [0x64530c]
push edi
push 0x64a684
call dword [0x645308]
push edi
push 0x64a650
call dword [0x645304]
push edi
push 0x64a630
call dword [0x645300]
lea edx, [esp + 0x148]
push edi
push edx
call dword [0x6452fc]
mov eax, dword [0x64a5a0]
mov ecx, dword [0x64a5a4]
mov edx, dword [0x64a5a8]
push edi
push eax
mov eax, dword [0x64a5ac]
push ecx
mov ecx, dword [0x64a5b0]
push edx
push eax
push ecx
call dword [0x6452ec]
mov edx, dword [0x64a618]
push edi
push edx
call dword [0x645284]
lea ecx, [esp + 0x168]
call fcn.005580b8
test eax, eax
je 0x4b5df4
lea ecx, [esp + 0x168]
call fcn.00557ea3
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push fcn.0055b3f5
push 2
lea eax, [esp + 0x110]
push 0x10
push eax
mov byte [esp + 0x290], 0x1e
call fcn.00569645
push fcn.0055b3f5
push 2
lea ecx, [esp + 0x130]
push 0x10
push ecx
mov byte [esp + 0x290], 0x1d
call fcn.00569645
lea ecx, [esp + 0x98]
mov byte [esp + 0x280], 0x1c
call fcn.0055b3f5
lea ecx, [esp + 0xb8]
mov byte [esp + 0x280], 0x1b
call fcn.0055b3f5
lea ecx, [esp + 0x88]
mov byte [esp + 0x280], 0x1a
call fcn.0055b3f5
lea ecx, [esp + 0xd8]
mov byte [esp + 0x280], 0x19
call fcn.0055b3f5
lea ecx, [esp + 0xe8]
mov byte [esp + 0x280], 0x18
call fcn.0055b3f5
lea ecx, [esp + 0xf8]
mov byte [esp + 0x280], 0x17
call fcn.0055b3f5
lea ecx, [esp + 0xa8]
mov byte [esp + 0x280], 0x16
call fcn.0055b3f5
lea ecx, [esp + 0xc8]
mov byte [esp + 0x280], 0x15
call fcn.0055b3f5
lea ecx, [esp + 0x58]
mov byte [esp + 0x280], 0x14
call fcn.0055b3f5
lea ecx, [esp + 0x68]
mov byte [esp + 0x280], 0x13
call fcn.0055b3f5
lea ecx, [esp + 0x78]
mov byte [esp + 0x280], 0x12
call fcn.0055b3f5
lea ecx, [esp + 0x50]
mov byte [esp + 0x280], 0x11
call fcn.0058df3f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x280], 0x10
call fcn.0058df3f
lea ecx, [esp + 0x34]
mov byte [esp + 0x280], 0xf
call fcn.0058df3f
lea ecx, [esp + 0x44]
mov byte [esp + 0x280], 0xe
call fcn.0058df3f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x280], 0xd
call fcn.0058df3f
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 0xc
call fcn.0058df3f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x280], 0xb
call fcn.0058df3f
lea ecx, [esp + 0x38]
mov byte [esp + 0x280], 0xa
call fcn.0058df3f
lea ecx, [esp + 0x40]
mov byte [esp + 0x280], 9
call fcn.0058df3f
lea ecx, [esp + 0x48]
mov byte [esp + 0x280], 8
call fcn.0058df3f
mov byte [esp + 0x280], 7
lea ecx, [esp + 0x54]
call fcn.0058df3f
lea ecx, [esp + 0x24]
mov byte [esp + 0x280], 6
call fcn.0058df3f
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], 5
call fcn.0058df3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 4
call fcn.0058df3f
lea ecx, [esp + 0x20]
mov byte [esp + 0x280], 3
call fcn.0058df3f
lea ecx, [esp + 0x10]
mov byte [esp + 0x280], 2
call fcn.0058df3f
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], bl
call fcn.0058df3f
lea ecx, [esp + 0x28]
mov byte [esp + 0x280], 0
call fcn.0058df3f
lea ecx, [esp + 0x168]
mov dword [esp + 0x280], 0xffffffff
call fcn.00557cc6
mov ecx, dword [esp + 0x278]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x274
ret