Function at 0x416140
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e8d1
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x48a8f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
call fcn.00414070
mov ecx, eax
call fcn.004140e0
test al, al
jne 0x4161b2
call fcn.00415180
push eax
call fcn.00426424
push 0x47640c
call fcn.00426424
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424094
mov esp, ebp
pop ebp
ret
call fcn.00422910
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
add ecx, eax
push ecx
push str.The_super_cas_id_is__x._n
call fcn.00426424
add esp, 8
call fcn.00422910
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
add ecx, eax
push ecx
push str.The_super_cas_id_is__x.
call fcn.00423600
push eax
call fcn.00423640
push 0x3e8
push str.The_system_can_process__d_subscribers_at_most._n
call fcn.00426424
push str.Now_initializing_system..._n
call fcn.00426375
add esp, 0x18
push dword [0x48a878]
call fcn.0041a940
mov ecx, eax
call fcn.0041a9b0
cmp dword [0x48a894], 0x10
mov eax, 0x48a880
cmovae eax, dword [0x48a880]
push eax
call fcn.0041c1a0
mov ecx, eax
call fcn.0041c260
call fcn.0041c1a0
mov ecx, eax
call fcn.0041bf60
call fcn.00422910
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
add ecx, eax
mov dword [ebp - 0x38], ecx
call fcn.00422910
movzx eax, word [eax + 0xc]
mov word [ebp - 0x34], ax
call fcn.00422910
movzx eax, word [eax + 0xe]
mov word [ebp - 0x32], ax
call fcn.00422910
movzx eax, word [eax + 0x10]
mov word [ebp - 0x30], ax
call fcn.00422910
movzx eax, word [eax + 0x12]
mov word [ebp - 0x2e], ax
call fcn.00422910
movzx eax, word [eax + 0x14]
mov word [ebp - 0x2c], ax
call fcn.00422910
movzx eax, word [eax + 0x16]
mov word [ebp - 0x2a], ax
call fcn.00422910
movzx eax, word [eax + 0x18]
mov word [ebp - 0x28], ax
call fcn.00422910
movzx eax, word [eax + 0x1a]
mov word [ebp - 0x26], ax
call fcn.00422910
movzx eax, word [eax + 0x1c]
mov word [ebp - 0x24], ax
call fcn.00422910
movzx eax, word [eax + 0x1e]
mov word [ebp - 0x22], ax
call fcn.00422910
mov al, byte [eax + 0x3c]
mov byte [ebp - 0x20], al
call fcn.00422910
movzx ecx, word [eax]
shl ecx, 0x10
movzx eax, word [eax + 2]
add ecx, eax
mov dword [ebp - 0x1c], ecx
call fcn.00422910
movzx eax, word [eax + 6]
mov word [ebp - 0x18], ax
call fcn.00422910
movzx eax, word [eax + 8]
mov word [ebp - 0x16], ax
call fcn.00422910
movzx eax, word [eax + 0xa]
mov word [ebp - 0x14], ax
call fcn.00422910
mov byte [ebp - 0x12], 0
call fcn.00422910
mov al, byte [eax + 0x3c]
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call sub.CasCore.dll_Ordinal_1
add esp, 8
cmp dword [ebp + 8], 2
jne 0x416374
push str.test
push dword [esi + 4]
call fcn.00426b38
add esp, 8
test eax, eax
jne 0x416374
push eax
push 1
call sub.CasCore.dll_Ordinal_11
jmp 0x416192
xor esi, esi
call fcn.00422910
mov ecx, dword [eax + 0x30]
sub ecx, dword [eax + 0x2c]
sar ecx, 1
je 0x4163ac
call fcn.00422910
mov eax, dword [eax + 0x2c]
movzx eax, word [eax + esi*2]
push eax
call sub.CasCore.dll_Ordinal_2
add esp, 4
inc esi
call fcn.00422910
mov ecx, dword [eax + 0x30]
sub ecx, dword [eax + 0x2c]
sar ecx, 1
cmp esi, ecx
jb 0x416385
xor edi, edi
call fcn.00422910
mov ecx, dword [eax + 0x24]
sub ecx, dword [eax + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x416424
xor esi, esi
call fcn.00422910
mov eax, dword [eax + 0x20]
movzx eax, word [eax + esi + 0x18]
mov dword [ebp - 0x58], eax
call fcn.00422910
mov eax, dword [eax + 0x20]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x4163f2
mov eax, dword [eax]
push dword [ebp - 0x58]
push eax
call sub.CasCore.dll_Ordinal_3
add esp, 8
inc edi
add esi, 0x1c
call fcn.00422910
mov ecx, dword [eax + 0x24]
sub ecx, dword [eax + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4163d0
mov eax, dword [0x48ee00]
test al, 1
jne 0x41645a
or eax, 1
mov dword [0x48ee00], eax
mov ecx, 0x48e9e0
mov dword [ebp - 4], 0
call fcn.00412050
push 0x472600
call fcn.0042497e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x48e9e0
call fcn.00412100
lea ecx, [ebp - 0x74]
call fcn.00415510
mov dword [ebp - 4], 1
call fcn.00422910
xorps xmm0, xmm0
mov ecx, 2
movzx eax, word [eax + 4]
movdqu xmmword [ebp - 0x54], xmm0
push eax
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x54], cx
call dword [sym.imp.WS2_32.dll_htons]
push 0x4c
mov word [ebp - 0x52], ax
mov dword [ebp - 0x50], 0
call fcn.004247d8
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4164d3
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.0040a250
mov edi, eax
jmp 0x4164d5
xor edi, edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], 0
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00415390
mov edx, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov dword [eax], edx
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x416523
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x416523
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x416523
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push edi
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.00405620
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.0040cfa0
mov dword [ebp - 0x68], 0
call fcn.00452c10
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00415d80
cmp dword [ebp - 0x68], 0
je 0x416567
lea eax, [ebp - 0x68]
push eax
call fcn.00415c80
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
push 1
call esi
jmp 0x416570