Function at 0x472366
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x462400], 0
push ebx
push esi
push edi
jne 0x472546
mov eax, dword [0x46ce20]
inc dword [0x462400]
test eax, eax
je 0x472394
push eax
call fcn.00470572
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x472546
mov esi, 0x462420
mov edx, 0x46ccc0
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 [0x4621f8]
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, 0x462428
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 + 0x4623b4]
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 0x472455
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 0x4724ba
mov esi, 0x46242c
mov ebx, 0x46ccc0
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, 0x46ccbf
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 + 0x46ccbd], 0
push str.USER32
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
je 0x4724f0
push str.MessageBoxA
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
test eax, eax
je 0x4724f0
push 0x2030
push str.SHRINKER.ERR
push 0x46ccc0
push 0
call dword [ebp - 4]
push 0x10
push 0x462444
push str.SHRINKER.ERR
call fcn.0047057f
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x472546
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
jl 0x472517
mov eax, 0xd
mov esi, 0x462448
mov edx, 0x46ccc0
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.0047061f
add esp, 8
push ebx
call fcn.00470572
add esp, 4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]