Function at 0x404485
Capabilities:
Delete file

Disassembly:
jmp 0x576af0
jmp 0x4d0cf0
jmp 0x4d1470
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x284]
cmp ebx, 1
jne 0x4d0d3d
mov eax, dword [esp + 0x10]
imul eax, eax, 0x3e8
add eax, dword [0x7b5f70]
push edi
mov dword [esi + 0x238], eax
call fcn.004107c6
push str.ANRaster.tga
lea ecx, [esi + 0x284]
call fcn.00402ed2
pop edi
push ebx
mov ecx, esi
call fcn.0040f5c4
pop esi
pop ebx
ret 8
call fcn.004107c6
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.0040f5c4
pop esi
pop ebx
ret 8
mov eax, dword [esp + 8]
sub esp, 0x8c
push esi
push 0xb
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00404b7e
mov eax, dword [esp + 0xa0]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x24]
push str.__16s__s
push ecx
call fcn.0060a295
mov ecx, dword [esi + 0x220]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
add esp, 0x1c
push 0
push 0
push 0xffffffffffffffff
push 0x808080
lea eax, [esp + 0x20]
push eax
call edx
pop esi
add esp, 0x8c
ret 8
movzx eax, byte [esp + 4]
dec eax
sub esp, 0x140
cmp eax, 0xf
ja case.default.0x576b07
push esi
push edi
jmp dword [eax*4 + 0x576ea0]
push 0x6a9
jmp 0x576c10
mov eax, dword [esp + 0x150]
mov eax, dword [eax + 9]
dec eax
cmp eax, 5
ja case.default.0x576b28
jmp dword [eax*4 + 0x576ee0]
push 0x6aa
jmp 0x576c10
push 0x6ab
jmp 0x576c10
push 0x6ac
jmp 0x576c10
push 0x6ad
jmp 0x576c10
push 0x6ae
jmp 0x576c10
push 0x6af
jmp 0x576c10
push 0x6b0
jmp 0x576c10
mov ecx, dword [esp + 0x150]
mov edx, dword [ecx + 9]
push edx
push 0x6b1
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 0x1d
push 0x7b73a8
call fcn.0040198d
mov ecx, dword [0x7a4450]
add esp, 0x10
test ecx, ecx
je case.0x576b07.3
call fcn.00408927
pop edi
pop esi
add esp, 0x140
ret 8
push 0x6b2
jmp 0x576c10
push 0x6b3
jmp 0x576bd3
push 0x6b4
jmp 0x576bd3
push 0x6b5
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 0x1d
push 0x7b73a8
call fcn.0040198d
mov ecx, dword [0x7a4450]
add esp, 0xc
test ecx, ecx
je case.0x576b07.3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
pop edi
pop esi
add esp, 0x140
ret 8
push 0x6b6
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 0x1d
push 0x7b73a8
call fcn.0040198d
add esp, 0xc
pop edi
pop esi
add esp, 0x140
ret 8
push ebx
push ebp
push 0xff
lea eax, [esp + 0x55]
push 0
push eax
mov byte [esp + 0x5c], 0
call fcn.00609d70
mov ecx, dword [esp + 0x164]
mov ecx, dword [ecx + 9]
mov eax, 0x88888889
mul ecx
shr edx, 5
mov eax, 0x88888889
mul edx
shr edx, 5
mov eax, 0x10624dd3
mul edx
mov esi, edx
shr esi, 6
mov edx, esi
imul edx, edx, 0xffc91180
add ecx, edx
mov eax, 0x88888889
mul ecx
shr edx, 5
mov eax, 0x10624dd3
mul edx
mov ebx, edx
shr ebx, 6
mov eax, ebx
imul eax, eax, 0xea60
sub ecx, eax
mov eax, 0x10624dd3
mul ecx
mov ebp, edx
add esp, 0xc
shr ebp, 6
test esi, esi
je 0x576cf8
push esi
lea ecx, [esp + 0x14]
push 0x657d6c
push ecx
call fcn.0060a295
lea eax, [esp + 0x1c]
add esp, 0xc
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x576cd0
lea edi, [esp + 0x50]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x576ce0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
je 0x576d3b
push ebx
lea edx, [esp + 0x14]
push 0x657d64
push edx
call fcn.0060a295
lea eax, [esp + 0x1c]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x576d15
lea edi, [esp + 0x50]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x576d23
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea eax, [esp + 0x14]
push 0x657d5c
push eax
call fcn.0060a295
add esp, 0xc
lea eax, [esp + 0x10]
pop ebp
mov edx, eax
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x576d56
lea edi, [esp + 0x48]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x576d64
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
push ecx
push 0x6b7
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 0x1d
push 0x7b73a8
call fcn.0040198d
add esp, 0x10
pop edi
pop esi
add esp, 0x140
ret 8
push 0x6b8
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 0x1d
push 0x7b73a8
call fcn.0040198d
mov ecx, dword [0x7a444c]
add esp, 0xc
test ecx, ecx
je case.0x576b07.3
mov eax, dword [esp + 0x150]
pop edi
lea edx, [eax + 0x1a]
pop esi
add esp, 0x140
mov dword [esp + 8], edx
add eax, 9
mov dword [esp + 4], eax
jmp 0x40dd37
cmp dword [0x7a444c], 0
mov eax, dword [esp + 0x150]
mov edi, dword [eax + 9]
je case.0x576b07.3
test edi, edi
jle case.0x576b07.3
lea esi, [eax + 0xd]
lea esp, [esp]
mov ecx, dword [0x7a444c]
lea eax, [esi + 0x11]
push eax
push esi
call 0x40dd37
add esi, 0x25
dec edi
jne 0x576e20
pop edi
pop esi
add esp, 0x140
ret 8
mov eax, dword [0x7a4450]
test eax, eax
je case.0x576b07.3
push ecx
mov ecx, eax
call fcn.0040e219
mov esi, dword [esp + 0x150]
lea ecx, [esi + 0xd]
push ecx
mov ecx, dword [0x7a4450]
call fcn.00403404
mov ecx, dword [0x7a4450]
push 0x645292
call fcn.004089c7
mov edx, dword [esi + 9]
pop edi
pop esi
add esp, 0x140
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov ecx, dword [0x7a4450]
jmp 0x40aede