Function at 0x56cec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
mov edi, eax
push esi
mov eax, edx
push ebx
sub esp, 0x1bc
call fcn.0056cd70
mov dword [esp + 0x30], eax
mov eax, dword [0x8671f8]
call fcn.0056cde0
mov ebx, eax
mov eax, dword [eax]
test eax, eax
je 0x56d356
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00499300
mov ebp, eax
mov eax, dword [ebx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp + 0x88], edi
mov esi, eax
mov eax, dword [ebx + 0x30]
cmp eax, 0xffffffff
je 0x56d1f3
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00498860
mov dword [esp], eax
call fcn.004997d0
mov edi, eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp], eax
call fcn.00496da0
lea edx, [esp + 0x8c]
mov dword [esp + 8], edi
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov byte [esp + edi + 0x8c], 0
mov eax, dword [ebx + 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp], eax
call fcn.004997d0
mov dword [esp + 0x190], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp], eax
call fcn.004997d0
mov dword [esp + 0x194], eax
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x56d346
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00498860
mov dword [esp], eax
call fcn.00499730
mov dword [esp + 0x198], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
jle 0x56d068
mov edx, dword [ebx + 0x18]
test edx, edx
jle 0x56d068
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00498860
mov edi, eax
mov eax, dword [ebx + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp], eax
call fcn.005640f0
mov dword [esp], edi
mov ebp, eax
call fcn.004997d0
mov dword [esp], ebp
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.004a7750
mov edi, eax
mov dword [esp], eax
call fcn.004968c0
mov dword [esp + 8], 0
mov dword [esp + 4], str.called_task
mov dword [esp], eax
call fcn.00559810
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp], eax
call fcn.00499730
mov dword [esp + 0x19c], eax
jmp 0x56d073
mov dword [esp + 0x19c], 0
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x1a0], 0
test eax, eax
js 0x56d0a1
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00498860
mov dword [esp], eax
call fcn.00499730
test eax, eax
jne 0x56d6d0
call fcn.005073f0
test eax, eax
jne 0x56d114
mov eax, dword [0x8603b8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov eax, dword [0x8603bc]
mov dword [esp + 0x80], eax
mov eax, dword [0x8603c0]
mov dword [esp + 0x84], eax
mov eax, dword [edx + 0x14]
test eax, eax
je 0x56d1c2
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, edx
je 0x56d1c2
cmp ecx, edx
jbe 0x56d848
lea ecx, [edx + 1]
imul edx, edx, 0x128
mov dword [eax], ecx
lea esi, [esp + 0x7c]
mov ecx, 0x4a
lea edi, [eax + edx + 8]
rep movsd dword es:[edi], dword [esi]
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x190], 2
je 0x56d0aa
mov eax, dword [0x8671f8]
xor ebx, ebx
call fcn.0056cde0
mov edi, eax
mov eax, dword [eax + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00498860
mov esi, eax
mov eax, dword [edi + 0x44]
test eax, eax
js 0x56d15a
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00498860
mov dword [esp], eax
call fcn.00499730
mov ebx, eax
mov eax, dword [edi + 0x40]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp], eax
call fcn.004997d0
lea edx, [esp + 0x1a4]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call dword [0x866590]
sub esp, 4
mov eax, dword [esp + 0x1a4]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x84], eax
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x56d0da
mov dword [esp + 0xc], 0x128
mov dword [esp + 8], 8
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00575310
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov dword [edx + 0x14], eax
mov edx, dword [eax]
jmp 0x56d0e7
mov eax, dword [ebx + 0x2c]
test eax, eax
js 0x56d766
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00498860
mov edi, eax
mov eax, dword [0x6a90a0]
test eax, eax
je 0x56d2b5
mov dword [esp], edi
call fcn.004968c0
mov dword [esp + 8], 0
mov dword [esp + 4], str.P_ARRAY
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.00559810
mov edx, dword [esp + 0x28]
mov dword [esp + 8], 0
mov dword [esp + 4], str.P_BOUNDS
mov dword [esp], edx
mov dword [0x85f4c8], eax
call fcn.00559810
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x14]
mov dword [0x85f4cc], eax
lea eax, [eax + eax*2]
mov ecx, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
movzx ecx, byte [edx]
cmp cl, 1
je 0x56d800
cmp cl, 3
jne 0x56d898
mov dword [esp + 8], 0
mov dword [esp + 4], 0x72a9af
mov dword [esp], eax
call fcn.00559810
mov dword [0x6a90a0], 0
mov dword [0x85f4d0], eax
mov eax, dword [0x85f4cc]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp], eax
call fcn.004a3ea0
mov edx, dword [0x85f4d0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00498860
mov dword [esp], eax
call fcn.004997d0
mov edx, 0x100
mov dword [esp], edi
cmp eax, 0x100
cmovle edx, eax
mov eax, dword [0x85f4c8]
mov dword [esp + 0x28], edx
mov dword [esp + 4], eax
call fcn.00498860
mov dword [esp], eax
call fcn.004a3ea0
mov dword [esp], eax
call fcn.00497030
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.00548b30
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x8c], 0
jmp 0x56cf76
mov dword [esp + 0x198], 0
jmp 0x56cfd8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], str.system__tasking__ada_task_control_block___XVE
call fcn.004b6510
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], str.system__tasking__common_atcb
mov ebp, eax
call fcn.004b6510
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], str.system__task_primitives__private_data
mov esi, eax
call fcn.004b6510
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], str.system__tasking__entry_call_record
mov dword [esp + 0x2c], eax
call fcn.004b6510
test ebp, ebp
mov edx, eax
je 0x56d717
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x56d717
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00562c70
mov edx, dword [esp + 0x28]
mov ebp, eax
test esi, esi
je 0x56d88c
mov esi, dword [esi + 0x20]
test esi, esi
je 0x56d88c
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x56d880
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x20]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x56d880
test edx, edx
je 0x56d874
mov edx, dword [edx + 0x20]
test edx, edx
mov dword [esp + 0x34], edx
je 0x56d874
mov dword [esp + 8], 0
mov dword [esp + 4], 0x72a8ed
mov dword [esp], ebp
call fcn.00559810
mov dword [esp + 8], 1
mov dword [esp + 4], str.entry_calls
mov dword [esp], ebp
mov dword [esp + 0x3c], eax
call fcn.00559810
mov dword [esp + 8], 1
mov dword [esp + 4], str.atc_nesting_level
mov dword [esp], ebp
mov dword [esp + 0x40], eax
call fcn.00559810
mov dword [esp + 8], 0
mov dword [esp + 4], str.state
mov dword [esp], esi
mov dword [esp + 0x44], eax
call fcn.00559810
mov dword [esp + 8], 1
mov dword [esp + 4], str.parent
mov dword [esp], esi
mov dword [esp + 0x48], eax
call fcn.00559810
mov dword [esp + 8], 0
mov dword [esp + 4], str.base_priority
mov dword [esp], esi
mov dword [esp + 0x4c], eax
call fcn.00559810
mov dword [esp + 8], 1
mov dword [esp + 4], str.task_image
mov dword [esp], esi
mov dword [esp + 0x50], eax
call fcn.00559810
mov dword [esp + 8], 1
mov dword [esp + 4], str.task_image_len
mov dword [esp], esi
mov dword [esp + 0x54], eax
call fcn.00559810
mov dword [esp + 8], 1
mov dword [esp + 4], str.activation_link
mov dword [esp], esi
mov dword [esp + 0x58], eax
call fcn.00559810
mov dword [esp + 8], 1
mov dword [esp + 4], 0x72a957
mov dword [esp], esi
mov dword [esp + 0x5c], eax
call fcn.00559810
mov dword [esp + 8], 0
mov dword [esp + 4], 0x72a95c
mov dword [esp], esi
mov dword [esp + 0x60], eax
call fcn.00559810
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], str.thread
mov dword [esp], edx
mov dword [esp + 0x64], eax
call fcn.00559810
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x72a966
mov dword [esp], edx
mov dword [esp + 0x68], eax
call fcn.00559810
mov edx, dword [esp + 0x34]
mov dword [esp + 8], 0
mov dword [esp + 4], str.self
mov dword [esp], edx
mov dword [esp + 0x38], eax
call fcn.00559810
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
test eax, eax
js 0x56d7d8
mov eax, dword [0x8671f8]
call fcn.0056cde0
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [eax], 1
mov dword [eax + 4], ebp
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0x30], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0x38], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x3c], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 0x44], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x48], edx
jmp 0x56ceed
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.00499300
mov edx, dword [ebx + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00498860
mov dword [esp], eax
call fcn.00499730
mov dword [esp + 0x1a0], eax
call fcn.005073f0
test eax, eax
je 0x56d0aa
jmp 0x56d114
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], str.system__tasking__ada_task_control_block
call fcn.004b6510
mov edx, dword [esp + 0x28]
test eax, eax
je 0x56d75a
mov ebp, dword [eax + 0x20]
test ebp, ebp
jne 0x56d455
mov dword [esp], str.Cannot_find_Ada_Task_Control_Block_type._Aborting
call fcn.0059a2d0
mov dword [esp], edi
call fcn.00518d70
test eax, eax
je 0x56d810
mov ecx, dword [eax]
movzx eax, byte [ecx]
test al, al
je 0x56d7b0
lea edx, [ecx + 2]
jmp 0x56d78f
movzx eax, byte [edx - 1]
add edx, 1
test al, al
je 0x56d7b0
cmp al, 0x5f
jne 0x56d784
movzx eax, byte [edx - 1]
mov edi, edx
cmp al, 0x5f
jne 0x56d788
add edx, 1
mov ecx, edi
movzx eax, byte [edx - 1]
mov edi, edx
cmp al, 0x5f
jne 0x56d788
jmp 0x56d79d
lea eax, [esp + 0x8c]
mov dword [esp + 8], 0x101
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov byte [esp + 0x18c], 0
jmp 0x56cf76
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x72a96f
mov dword [esp], edx
call fcn.00559810
mov dword [esp + 0x38], eax
jmp 0x56d63e
mov eax, dword [edx + 0x14]
mov edx, dword [eax + 0x14]
movzx ecx, byte [edx]
jmp 0x56d285
mov dword [esp + 0x8c], 0x65766152
mov dword [esp + 0x90], 0x6163736e
mov dword [esp + 0x94], 0x61742072
mov word [esp + 0x98], 0x6b73
mov byte [esp + 0x9a], 0
jmp 0x56cf76
mov dword [esp + 0x10], 0x72a9bf
mov dword [esp + 0xc], str.VEC_ada_task_info_s_quick_push
mov dword [esp + 8], 0x72a726
mov dword [esp + 4], 0x307
mov dword [esp], str._home_build_work_GCC_4_8_build_src_gdb_gdb_ada_tasks.c
call fcn.0059c0c0
mov dword [esp], str.Cannot_find_Entry_Call_Record_type._Aborting
call fcn.0059a2d0
mov dword [esp], str.Cannot_find_Private_Data_type._Aborting
call fcn.0059a2d0
mov dword [esp], str.Cannot_find_Common_ATCB_type._Aborting
call fcn.0059a2d0
mov dword [esp], str.Unknown_task_name_format._Aborting
call fcn.0059a2d0
lea esi, [esi]
lea edi, [edi]