Function at 0x4e2740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c37a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
push edi
push 0x645010
lea ecx, [esp + 0x18]
mov dword [esp + 0x14c], 0
call fcn.0058dfad
mov eax, dword [0x64a740]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x14c], 1
call fcn.00557aba
lea ecx, [esp + 0xc]
push 2
push ecx
lea ecx, [esp + 0x158]
mov byte [esp + 0x150], 2
call fcn.00588091
mov eax, dword [eax]
push 0x619788
push eax
mov byte [esp + 0x150], 3
call fcn.00568a52
add esp, 8
test eax, eax
je 0x4e2868
lea edx, [esp + 0x1c]
push 2
push edx
lea ecx, [esp + 0x158]
call fcn.00588091
mov eax, dword [eax]
push 0x619784
push eax
call fcn.00568a52
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.0058df3f
test bl, bl
jne 0x4e2868
lea eax, [esp + 0x18]
push 2
push eax
lea ecx, [esp + 0x158]
call fcn.00588091
mov eax, dword [eax]
push 0x619780
push eax
call fcn.00568a52
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.0058df3f
test bl, bl
jne 0x4e2868
lea ecx, [esp + 0x10]
push 2
push ecx
lea ecx, [esp + 0x158]
call fcn.00588091
mov eax, dword [eax]
push 0x61977c
push eax
call fcn.00568a52
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.0058df3f
test bl, bl
je 0x4e286a
mov bl, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x148], 2
call fcn.0058df3f
test bl, bl
push 0
push ecx
je 0x4e2cb1
mov edx, esp
mov dword [esp + 0x14], esp
lea eax, [esp + 0x158]
push 0x634c7c
push eax
push edx
call fcn.0058e1d4
call fcn.004d9c50
add esp, 4
mov ecx, esp
mov dword [esp + 0x10], esp
push str.SMSBACK_OUTCALL
call fcn.0058dfad
push ecx
mov byte [esp + 0x150], 4
mov ecx, esp
mov dword [esp + 0x18], esp
push str.SoftwarePhoneAssist
call fcn.0058dfad
push reloc.WSOCK32.dll_accept
mov byte [esp + 0x154], 2
call fcn.0048a630
add esp, 0xc
cmp eax, 1
jne 0x4e2c9c
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.SMSBACKMSG_OUTCALL
call fcn.0058dfad
push ecx
mov byte [esp + 0x150], 5
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwarePhoneAssist
call fcn.0058dfad
lea ecx, [esp + 0x14]
push reloc.WSOCK32.dll_accept
push ecx
mov byte [esp + 0x158], 2
call fcn.0048ad10
mov eax, dword [eax]
push 0x645010
push eax
call fcn.00568a52
add esp, 0x18
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call fcn.0058df3f
test bl, bl
je 0x4e2c9c
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x634cf0
call fcn.0058dfad
call fcn.004d9c50
add esp, 8
lea ecx, [esp + 0x20]
call fcn.0055b385
lea edx, [esp + 0xc]
mov bl, 6
push edx
mov byte [esp + 0x14c], bl
call fcn.0058766b
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.BACKOUTCALLMSG
call fcn.0058dfad
push ecx
mov byte [esp + 0x150], 7
mov ecx, esp
mov dword [esp + 0x18], esp
push str.SoftwarePhoneAssist
call fcn.0058dfad
push reloc.WSOCK32.dll_accept
mov byte [esp + 0x154], bl
call fcn.0048a630
add esp, 0xc
cmp eax, 1
jne 0x4e2a68
mov eax, dword [esp + 0x150]
push 2
push eax
lea ecx, [esp + 0x1c]
push str.Select_count___as_val_count_from_Call_where_CallNumber_s_and_CallType_d
push ecx
call fcn.00588507
add esp, 0x10
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x14]
push 0
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.00557dcf
lea eax, [esp + 0x20]
push 0
push eax
push str.val_count
lea ecx, [esp + 0x3c]
call fcn.005587de
lea ecx, [esp + 0x30]
call fcn.00557ea3
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
cmp eax, 2
jge 0x4e2a51
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x634cd4
jmp 0x4e2bec
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x634cbc
call fcn.0058dfad
jmp 0x4e2c81
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.BACKOUTCALLMSG
call fcn.0058dfad
push ecx
mov byte [esp + 0x150], 8
mov ecx, esp
mov dword [esp + 0x18], esp
push str.SoftwarePhoneAssist
call fcn.0058dfad
push reloc.WSOCK32.dll_accept
mov byte [esp + 0x154], bl
call fcn.0048a630
add esp, 0xc
cmp eax, 2
jne 0x4e2bde
cmp dword [0x645390], 2
jne 0x4e2ad8
mov eax, dword [0x64a188]
test ah, 4
jne 0x4e2ad8
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 2
call fcn.0055b3f5
jmp 0x4e2cd2
mov al, byte [0x647939]
test al, al
je 0x4e2af7
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 2
call fcn.0055b3f5
jmp 0x4e2cd2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0058ec41
push eax
mov ecx, 0x6478d8
call fcn.0059129d
push 5
mov ecx, 0x6478d8
call fcn.0059219e
mov ecx, dword [0x6478f4]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esp + 0x150]
mov ecx, 0x647ab4
push edx
call fcn.00592059
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.SMSBACKMSG_OUTCALL
call fcn.0058dfad
push ecx
mov byte [esp + 0x150], 9
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwarePhoneAssist
call fcn.0058dfad
lea eax, [esp + 0x14]
push reloc.WSOCK32.dll_accept
push eax
mov byte [esp + 0x158], bl
call fcn.0048ad10
add esp, 0x10
mov eax, dword [eax]
mov ecx, 0x647a3c
push eax
mov byte [esp + 0x14c], 0xa
call fcn.00592059
lea ecx, [esp + 0xc]
mov byte [esp + 0x148], bl
call fcn.0058df3f
mov ecx, 0x647ab4
call fcn.00592207
mov ecx, 0x6478d8
call fcn.004fe7b0
lea ecx, [esp + 0x20]
mov byte [0x647938], 1
mov byte [esp + 0x148], 2
call fcn.0055b3f5
jmp 0x4e2cd2
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x634ca4
call fcn.0058dfad
call fcn.004d9c50
add esp, 8
xor esi, esi
mov edx, 0x64ecb8
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e2c1c
add edx, 0x14
inc esi
cmp edx, 0x64fc58
jl 0x4e2c00
jmp 0x4e2c5d
mov ecx, dword [esp + 0x150]
lea edx, [esi + esi*4]
push ecx
push 0x6190e0
lea eax, [edx*4 + 0x64ecb8]
push eax
call fcn.00569261
add esp, 0xc
mov byte [esi + 0x64ebf0], 4
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x634b28
call fcn.0058dfad
call fcn.004d9c50
add esp, 8
cmp esi, 0xc8
jne 0x4e2c89
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
lea edx, [esp + 0x158]
push 0x632e98
push edx
push ecx
call fcn.0058e1d4
call fcn.004d9c50
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 2
call fcn.0055b3f5
jmp 0x4e2cd2
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x634c88
call fcn.0058dfad
jmp 0x4e2cca
mov eax, esp
mov dword [esp + 0x14], esp
lea ecx, [esp + 0x158]
push 0x634afc
push ecx
push eax
call fcn.0058e1d4
call fcn.004d9c50
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 1
call fcn.00557cc6
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.0058df3f
lea ecx, [esp + 0x150]
mov dword [esp + 0x148], 0xffffffff
call fcn.0058df3f
mov ecx, dword [esp + 0x140]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x140
ret