Function at 0x4185e0
Capabilities:
Delete file

Disassembly:
mov eax, dword [0xc36038]
sub esp, 0x20c
push ebx
mov ebx, dword [esp + 0x214]
push ebp
lea ecx, [eax - 1]
cmp ebx, ecx
push esi
push edi
mov ebp, ebx
jge 0x41874e
mov eax, ebx
imul eax, eax, 0xef10
lea edx, [eax + 0xc44f50]
lea eax, [eax + 0xc36040]
mov dword [esp + 0x14], eax
mov eax, ebx
imul eax, eax, 0x4b0
add eax, 0xd61a00
lea ebx, [ebx + ebx*4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
shl ebx, 3
jmp 0x418640
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [ebx + 0xd60d80]
mov ecx, 0x3bc4
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x28]
push ecx
push eax
call fcn.00423280
mov edx, dword [ebp*4 + 0x8efc94]
mov ecx, dword [ebp*4 + 0xd610f4]
mov dword [ebp*4 + 0x8efc90], edx
mov dword [ebp*4 + 0xd610f0], ecx
lea edx, [ebx + 0xd67658]
mov esi, dword [edx]
lea ecx, [ebx + 0xd67630]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov esi, dword [edx + 0xc]
mov dword [ecx + 0xc], esi
mov esi, dword [edx + 0x10]
mov dword [ecx + 0x10], esi
mov esi, dword [edx + 0x14]
mov dword [ecx + 0x14], esi
mov esi, dword [edx + 0x18]
mov dword [ecx + 0x18], esi
mov esi, dword [edx + 0x1c]
mov dword [ecx + 0x1c], esi
mov esi, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], edx
mov eax, dword [ebp*4 + 0xd610a4]
lea ecx, [ebx + 0xd67338]
mov esi, dword [ecx]
lea edx, [ebx + 0xd67310]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov esi, dword [ecx + 0xc]
mov dword [edx + 0xc], esi
mov esi, dword [ecx + 0x10]
mov dword [edx + 0x10], esi
mov esi, dword [ecx + 0x14]
mov dword [edx + 0x14], esi
mov esi, dword [ecx + 0x18]
mov dword [edx + 0x18], esi
mov esi, dword [ecx + 0x1c]
mov dword [edx + 0x1c], esi
mov esi, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [edx + 0x20], esi
mov dword [ebp*4 + 0xd610a0], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x24], ecx
add esp, 8
mov edx, 0xa
mov esi, eax
lea edi, [eax - 0x4b0]
mov ecx, 0x1e
add eax, 0x78
dec edx
rep movsd dword es:[edi], dword [esi]
jne 0x418721
mov dword [esp + 0x10], eax
mov eax, dword [0xc36038]
inc ebp
lea edx, [eax - 1]
add ebx, 0x28
cmp ebp, edx
jl 0x418640
dec eax
push eax
lea eax, [esp + 0x20]
push 0x42cadc
push eax
call fcn.004231fe
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x418783
push eax
push 0x42caf0
push 0x42cae8
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0xc36038]
dec eax
xor esi, esi
test eax, eax
mov dword [0xc36038], eax
jle 0x41882d
mov ebp, 0xc36040
mov ebx, 0xc25078
xor edi, edi
push esi
lea edx, [esp + 0x20]
push 0x42cadc
push edx
call fcn.004231fe
mov eax, dword [esi*4 + 0xc25020]
mov ecx, dword [esi*4 + 0xa69bd0]
mov edx, dword [0x434244]
push ebx
push eax
push ecx
mov ecx, dword [esi*4 + 0xd61190]
push edx
mov edx, dword [esi*4 + 0xd61140]
lea eax, [edi + 0xd611e0]
push eax
mov eax, dword [esi*4 + 0x8efc90]
push ebp
push ecx
mov ecx, dword [esi*4 + 0xd610f0]
push edx
mov edx, dword [esi*4 + 0xd610a0]
push eax
push ecx
push edx
lea eax, [edi + 0xd60d80]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00415fd0
mov eax, dword [0xc36038]
add esp, 0x40
inc esi
add ebx, 0x190
add ebp, 0xef10
add edi, 0x28
cmp esi, eax
jl 0x4187a4
push str.userdata.idx
push 0xc26fd0
lea edx, [esp + 0x124]
xor eax, eax
push str._s_s
mov ecx, 0x40
lea edi, [esp + 0x128]
push edx
rep stosd dword es:[edi], eax
call fcn.004231fe
lea eax, [esp + 0x12c]
push 0x42c268
push eax
call fcn.004231d5
mov ecx, dword [0xc36038]
push ecx
mov esi, eax
push 0x42c5f4
push esi
call fcn.004235ec
push esi
call fcn.0042304e
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret