Function at 0x5523d4
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x36b
push 0
push 0
dec ecx
jne 0x5523dd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x56d123
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x5e8]
mov eax, 8
call fcn.0040cbdc
mov edx, dword [ebp - 0x5e8]
mov eax, dword [ebp - 0x14]
mov ecx, 0x56d13c
call fcn.004080d8
mov byte [ebp - 0x35], 1
mov esi, 0x56d140
lea edi, [ebp - 0x5c4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, 0x56d160
lea edi, [ebp - 0x5e4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
cmp byte [0x5c9bb0], 0
je 0x552497
lea esi, [ebp - 0x5e4]
lea edi, [ebp - 0x608]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x608]
mov edx, 0x56d180
mov cl, 0x20
call fcn.00406864
lea esi, [ebp - 0x608]
lea edi, [ebp - 0x5e4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x18
lea eax, [ebp - 0x5a4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [0x5c309c]
mov eax, dword [eax]
push eax
mov eax, dword [0x5c34f0]
mov eax, dword [eax]
call eax
cmp dword [ebp - 0x18], 0
jbe 0x56f48e
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x5526de
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x5a4]
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x58c]
cmp byte [eax], 0xcc
jne 0x55260f
xor eax, eax
push ebp
push 0x55010c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [0x5c347c]
mov eax, dword [eax]
push eax
call fcn.0040a63c
mov eax, dword [0x5c3124]
cmp dword [eax], 0
je 0x5525e9
mov eax, dword [0x5c3124]
mov eax, dword [eax]
mov eax, dword [eax + 0x268]
call fcn.0040910c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x55259e
inc ebx
xor ecx, ecx
mov eax, dword [0x5c3124]
mov eax, dword [eax]
mov eax, dword [eax + 0x268]
mov eax, dword [eax + ecx*8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x34]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, dword [esp + 4]
jne 0x55257a
cmp eax, dword [esp]
pop edx
pop eax
jne 0x55259a
mov eax, dword [0x5c3124]
mov eax, dword [eax]
mov eax, dword [eax + 0x268]
movzx eax, byte [eax + ecx*8 + 4]
mov edx, dword [ebp - 0x58c]
mov byte [edx], al
jmp 0x55259e
inc ecx
dec ebx
jne 0x552546
mov eax, dword [0x5c3124]
mov eax, dword [eax]
mov eax, dword [eax + 0x26c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x34]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, dword [esp + 4]
jne 0x5525cf
cmp eax, dword [esp]
pop edx
pop eax
jne 0x5525e9
mov eax, dword [0x5c3124]
mov eax, dword [eax]
movzx eax, byte [eax + 0x270]
mov edx, dword [ebp - 0x58c]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550113
push 0
push 1
mov eax, dword [0x5c347c]
mov eax, dword [eax]
push eax
call fcn.0040a56c
ret
inc dword [ebp - 0x34]
inc dword [ebp - 0x58c]
dec dword [ebp - 0x44]
jne 0x5524f0
jmp 0x5526de
mov eax, dword [ebp - 0xc]
inc dword [eax]
movzx eax, byte [ebp - 0x5a4]
movzx eax, al
bt dword [ebp - 0x5c4], eax
jae 0x5526da
mov eax, dword [ebp - 0x14]
push dword [eax]
lea ecx, [ebp - 0x60c]
movzx eax, byte [ebp - 0x5a4]
mov edx, 2
call fcn.00576b94
push dword [ebp - 0x60c]
push 0x56d1a8
mov eax, dword [ebp - 0x14]
mov edx, 3
call fcn.00408154
mov byte [ebp - 0x35], 1
inc dword [ebp - 0x1c]
lea esi, [ebp - 0x5e4]
lea edi, [ebp - 0x608]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movzx eax, byte [ebp - 0x5a4]
movzx eax, al
bts dword [ebp - 0x608], eax
lea esi, [ebp - 0x608]
lea edi, [ebp - 0x5e4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
push eax
push 0x18
lea eax, [ebp - 0x5a4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [0x5c309c]
mov eax, dword [eax]
push eax
mov eax, dword [0x5c34f0]
mov eax, dword [eax]
call eax
jmp 0x5526de
mov byte [ebp - 0x35], 0
cmp byte [ebp - 0x35], 0
jne 0x552626
test byte [ebp - 0x5c6], 1
je 0x5526fe
lea eax, [ebp - 4]
mov edx, 0x56d1b4
call fcn.00407e58
test byte [ebp - 0x5c6], 4
setne al
test al, al
je 0x552719
lea eax, [ebp - 4]
mov edx, 0x56d1c4
call fcn.0040808c
test byte [ebp - 0x5c6], 8
setne al
test al, al
je 0x552734
lea eax, [ebp - 4]
mov edx, 0x56d1d4
call fcn.0040808c
movzx eax, byte [ebp - 0x5a4]
cmp eax, 0xff
ja 0x56f3ea
jmp dword [eax*4 + 0x550251]
lea ecx, [ebp - 0x1b58]
movzx eax, byte [ebp - 0x5a4]
mov edx, 2
call fcn.0040cbb4
mov ecx, dword [ebp - 0x1b58]
lea eax, [ebp - 4]
mov edx, 0x5738b0
call fcn.004080d8
mov eax, dword [ebp - 0x14]
mov edx, 0x573ef4
call fcn.0040808c
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
inc dword [eax]