Function at 0x48c366
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x47c400], 0
push ebx
push esi
push edi
jne 0x48c546
mov eax, dword [0x486e20]
inc dword [0x47c400]
test eax, eax
je 0x48c394
push eax
call fcn.0048a572
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x48c546
mov esi, 0x47c420
mov edx, 0x486cc0
mov edi, edx
mov ebx, 0xffffffff
mov ecx, ebx
sub eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [0x47c1f8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x10], ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, dword [ebp - 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x47c428
mov edi, edx
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax*4 + 0x47c3b4]
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0xc], ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, dword [ebp - 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
test edi, edi
je 0x48c455
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 8], ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, dword [ebp - 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
test edx, edx
je 0x48c4ba
mov esi, 0x47c42c
mov ebx, 0x486cc0
mov edi, ebx
mov ecx, 0xffffffff
sub eax, eax
push 0
repne scasb al, byte es:[edi]
dec edi
push 0xc8
mov ecx, 0xffffffff
sub eax, eax
movsd dword es:[edi], dword [esi]
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x486cbf
mov edi, ebx
push ecx
push 0x400
push edx
push 0
push 0x1000
call dword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
mov byte [ecx + 0x486cbd], 0
push str.USER32
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
je 0x48c4f0
push str.MessageBoxA
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
test eax, eax
je 0x48c4f0
push 0x2030
push str.SHRINKER.ERR
push 0x486cc0
push 0
call dword [ebp - 4]
push 0x10
push 0x47c444
push str.SHRINKER.ERR
call fcn.0048a57f
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x48c546
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
jl 0x48c517
mov eax, 0xd
mov esi, 0x47c448
mov edx, 0x486cc0
mov edi, edx
mov ecx, 0xffffffff
mov dword [ebp + 0xc], 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.0048a61f
add esp, 8
push ebx
call fcn.0048a572
add esp, 4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]