Function at 0x5562f6
Capabilities:
Terminate process

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [0x5513f8], 0
mov dword [esp + 0x10], eax
jne 0x55653d
inc dword [0x5513f8]
cmp dword [0x5535e8], 0
je 0x556331
mov eax, dword [0x5535e8]
push eax
call fcn.00555a9c
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x55653d
mov edi, dword [0x5511b4]
mov ebx, 0xffffffff
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov ebp, 0x5534e0
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x551418
mov edi, ebp
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebx
movsw word es:[edi], word [esi]
mov esi, 0x55141c
mov edi, ebp
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, ebp
sub eax, eax
repne scasb al, byte es:[edi]
mov esi, 0x551424
mov edi, ebp
not ecx
add ecx, 0x5534df
push ecx
call fcn.00557d50
add esp, 4
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebx
movsw word es:[edi], word [esi]
mov edi, ebp
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x5534df
mov esi, 0x551428
push ecx
mov edi, ebp
call fcn.00557cc0
add esp, 4
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
mov edi, dword [eax*4 + 0x5513ac]
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, ebx
mov edi, ebp
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x55643e
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, ebx
mov edi, ebp
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 0
je 0x5564d6
mov esi, 0x55142c
mov ebx, 0x5534e0
mov edi, ebx
mov ebp, 0xffffffff
mov ecx, ebp
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebp
push 0
push 0xc8
mov ecx, ebp
movsd dword es:[edi], dword [esi]
mov edi, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x5534df
mov edi, ebx
push ecx
push 0x400
push dword [esp + 0x20]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov ecx, ebp
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
push 0xd
push ebx
mov byte [ecx + 0x5534dd], 0
call fcn.00557c00
add esp, 8
mov edx, eax
test edx, edx
je 0x5564d6
lea edi, [edx + 2]
mov ecx, ebp
sub eax, eax
mov byte [edx], 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [edx + 1]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5534e0
mov esi, str.SHRINKER.ERR
push esi
call fcn.00555bba
add esp, 8
push 0x10
push 0x551430
push esi
call fcn.00555aa9
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x55653d
mov eax, dword [esp + 0x1c]
cmp eax, 0xd
jl 0x55650d
mov eax, 0xd
mov esi, 0x551434
mov edx, 0x5534e0
mov edi, edx
mov ecx, 0xffffffff
mov dword [esp + 0x1c], eax
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
push ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push edx
call fcn.00555b25
add esp, 8
push ebx
call fcn.00555a9c
add esp, 4
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]