Function at 0x4092a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x2f0
push ebx
push ebp
push esi
push edi
mov ecx, 0x25
xor eax, eax
mov edi, 0x5729e8
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], ebx
call fcn.0041fc60
cmp eax, ebx
mov dword [esp + 0x18], eax
jl 0x4099f7
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0xcc]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x534800]
mov word [0x4821d4], bx
lea edx, [esp + 0xcc]
mov cl, byte [eax + 0x3bd]
push edx
mov byte [esp + 0xd0], cl
call esi
mov ebp, dword [0x534800]
mov ecx, 1
mov word [0x4821d4], ax
mov word [0x716884], cx
mov dl, byte [ebp + 0x2dc38]
add esp, 4
cmp dl, bl
jne 0x409366
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0xcc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [ebp + 0x3bc]
lea ecx, [esp + 0xcc]
push ecx
mov byte [esp + 0xd0], al
call esi
add esp, 4
mov word [0x716884], ax
jmp 0x4093fa
cmp ax, cx
jne 0x409387
cmp word [0x572a68], 4
mov word [0x716884], bx
jne 0x4093f4
mov word [0x716884], 3
jmp 0x4093f4
mov dx, word [0x572a68]
cmp dx, 2
je 0x4093ed
cmp dx, 3
je 0x4093b1
cmp dx, 5
je 0x4093b1
cmp dx, 4
jne 0x4093f4
mov word [0x716884], 3
jmp 0x4093f4
mov edi, 0x46cba4
lea esi, [ebp + 0x315]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4093c7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x4093ed
cmp dx, 3
jne 0x4093dc
mov word [0x716884], 2
jmp 0x4093f4
cmp dx, 5
jne 0x4093f4
mov word [0x716884], 4
jmp 0x4093f4
mov word [0x716884], bx
mov byte [ebp + 0x22021], bl
mov eax, dword [0x534800]
cmp byte [eax + 0x22016], 0x31
jne 0x409411
mov word [0x716884], 1
cmp dword [eax + 0x3dc64], 1
jne 0x409431
mov edx, 0x46ba38
add eax, 0x2dc38
mov al, byte [eax]
mov cl, byte [edx]
cmp al, cl
jne 0x409431
call fcn.00426cc0
call fcn.00426e90
mov ebp, eax
cmp ebp, 1
jge 0x40945b
push str.sjwk
push 1
push ebp
call fcn.00415700
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f0
ret
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1fc]
lea edx, [esp + 0x1fc]
rep stosd dword es:[edi], eax
mov ecx, dword [0x534800]
add ecx, 0x1cb
push ecx
push str._sTUC_file_at03016.LOG
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x1fc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xa
xor eax, eax
mov edi, 0x715488
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0xa
mov edi, 0x4821d8
rep stosd dword es:[edi], eax
mov ecx, 0xf
mov edi, 0x695660
rep stosd dword es:[edi], eax
mov ecx, 0x14
mov edi, 0x482200
rep stosd dword es:[edi], eax
mov ecx, 0x19c54
mov edi, 0x6ae330
rep stosd dword es:[edi], eax
mov ecx, 0x7726
mov edi, 0x5545d0
rep stosd dword es:[edi], eax
mov ecx, 0x444
mov edi, 0x715770
rep stosd dword es:[edi], eax
mov ecx, 0x36a8
mov edi, 0x485d18
rep stosd dword es:[edi], eax
xor ecx, ecx
mov edi, 0x57da88
mov dword [0x719fa8], ecx
mov dword [0x786900], edx
mov dword [0x719fac], ecx
mov byte [0x786904], dl
mov dword [0x719fb0], ecx
mov word [0x6a6908], bx
mov dword [0x719fb4], ecx
mov word [0x747158], bx
mov dword [0x719fb8], ecx
mov ecx, 0x5dc
rep stosd dword es:[edi], eax
mov ecx, 0x785
mov edi, 0x691898
rep stosd dword es:[edi], eax
xor ecx, ecx
mov word [0x715740], ax
mov word [0x719f98], cx
mov edi, 0x715744
mov byte [0x719f9a], cl
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov ecx, 0xb
mov edi, 0x6a690c
mov byte [0x715742], al
mov word [0x719f9c], 0xffff
mov word [0x4f19b0], bx
mov word [0x6936b0], bx
rep stosd dword es:[edi], eax
mov word [0x67ce32], bx
mov word [0x6a5694], bx
mov word [0x747156], bx
mov word [0x795d30], bx
mov word [0x691890], bx
mov word [0x716c7e], bx
mov word [0x572a7c], bx
mov word [0x7154b2], bx
mov word [0x747154], bx
mov word [0x6956f4], bx
cmp word [0x572a62], bx
mov word [0x534804], bx
mov word [0x715486], bx
je 0x409617
mov edx, dword [0x534800]
mov ecx, dword [edx + 0x3dcb0]
lea eax, [edx + 0x3dcb0]
cmp ecx, ebx
jne 0x40961c
cmp dword [eax + 4], 0x40220000
jne 0x40961c
call fcn.00409140
call fcn.00409a70
mov edx, dword [0x534800]
mov eax, 0x46cb80
lea ecx, [edx + 0x33a]
mov cx, word [edx + 0x33a]
cmp cx, word [eax]
jne 0x409659
xor eax, eax
mov dword [0x490dd8], eax
mov dword [0x490ddc], eax
mov byte [0x490de0], al
mov dword [0x490de8], eax
mov dword [0x490dec], eax
mov ecx, dword [edx + 0x2d800]
mov eax, 0x20202020
mov dword [0x6ae335], eax
mov dword [0x786900], ecx
mov dword [0x6ae339], eax
mov ecx, 0xc
mov dword [0x6ae33d], eax
xor eax, eax
lea edi, [esp + 0x1c]
add edx, 0x371
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [edx]
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, dword [edx + 8]
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00461d80
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x1c]
mov eax, ecx
mov edi, 0x6ae335
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x534800]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x3dc64]
mov esi, 1
cmp ecx, esi
jne 0x409705
mov ecx, dword [eax + 0x390]
mov dword [0x6ae342], ecx
jmp 0x409711
mov edx, dword [str.0000]
mov dword [0x6ae342], edx
lea ecx, [eax + 0x395]
mov edx, dword [eax + 0x395]
mov dword [0x6ae347], edx
mov cl, byte [ecx + 4]
mov byte [0x6ae34b], cl
mov cx, word [eax + 0x3a1]
mov word [0x6ae34d], cx
mov dl, byte [eax + 0x3ba]
cmp dl, 0x31
jne 0x409766
push 0x6ae347
mov word [0x4821d8], si
mov word [0x695660], cx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [0x482200], eax
mov ecx, 0x3f2
xor eax, eax
mov edi, 0x535968
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
push edx
mov word [0x7154b4], bx
call fcn.00461db0
add esp, 4
test eax, eax
je 0x4097b0
mov eax, dword [0x534800]
mov word [0x7154b4], si
cmp byte [eax + 0x22019], 0x31
jne 0x4097bd
push 0x535968
call fcn.0041a110
add esp, 4
jmp 0x4097bd
mov ecx, dword [0x534800]
mov byte [ecx + 0x22019], 0x30
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x164]
mov esi, 0x6ae335
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 3
lea edi, [esp + 0x164]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4097fb
push 0x46cb5c
push 4
push ebx
call fcn.00415700
add esp, 0xc
jmp 0x4099ea
mov eax, dword [0x534800]
mov dword [0x67ce2c], ebx
mov dword [0x482178], ebx
mov dword [0x695658], 0
mov dword [0x69565c], 0
mov ecx, dword [eax + 0x3dc64]
cmp ecx, 1
je 0x409830
call fcn.004258e0
mov word [0x482250], bx
call fcn.004284e0
mov edx, eax
cmp edx, 1
mov dword [esp + 0x14], edx
jl 0x409924
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
push 3
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x54]
stosw word es:[edi], ax
push ecx
push 1
push edx
stosb byte es:[edi], al
call fcn.0045bd40
add esp, 0x10
jmp 0x409871
xor ebx, ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x50]
push ebx
push edx
push eax
call fcn.0045bd60
add esp, 0xc
cmp eax, 1
jl 0x409914
movsx eax, word [esp + 0x10]
xor ebp, ebp
cmp eax, ebx
jle 0x4098cb
mov edx, 0x57da88
mov ecx, 5
lea edi, [esp + 0x53]
lea esi, [edx + 4]
xor ebx, ebx
repe cmpsw word [esi], word es:[edi]
jne 0x4098c1
mov ecx, 3
lea edi, [esp + 0x50]
mov esi, edx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x40986f
inc ebp
add edx, 0xf
cmp ebp, eax
jl 0x40989d
xor ebx, ebx
mov dx, word [esp + 0x50]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4 + 0x57da88]
lea eax, [eax + eax*4 + 0x57da8c]
mov word [ecx], dx
mov dl, byte [esp + 0x52]
mov byte [ecx + 2], dl
mov ecx, dword [esp + 0x53]
mov edx, dword [esp + 0x57]
mov dword [eax], ecx
mov cx, word [esp + 0x5b]
mov dword [eax + 4], edx
mov word [eax + 8], cx
mov eax, dword [esp + 0x10]
inc eax
cmp ax, 0x190
mov dword [esp + 0x10], eax
jl 0x409871
mov dx, word [esp + 0x10]
mov word [0x482250], dx
mov edx, dword [esp + 0x14]
push edx
call fcn.004289e0
mov eax, dword [0x534800]
add esp, 4
mov cx, word [eax + 0x300]
lea edi, [eax + 0x3ead8]
mov word [0x715740], cx
mov dx, word [eax + 0x303]
mov word [0x719f98], dx
mov al, byte [edi]
cmp al, bl
jne 0x4099c6
mov ecx, 0x32
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x534800]
mov edi, 0x4d33a0
mov cx, word [eax + 0x303]
mov word [eax + 0x3ead8], cx
mov eax, dword [0x534800]
mov dx, word [eax + 0x303]
mov word [eax + 0x3eada], dx
mov eax, dword [0x534800]
mov cx, word [eax + 0x303]
mov word [eax + 0x3eadc], cx
mov eax, dword [0x534800]
mov ecx, 0x32
mov dx, word [eax + 0x303]
mov word [eax + 0x3eade], dx
mov eax, dword [0x534800]
lea esi, [eax + 0x3ead8]
rep movsd dword es:[edi], dword [esi]
call fcn.00419e90
mov ebp, dword [esp + 0x14]
mov ecx, 0x16
xor eax, eax
mov edi, 0x572268
rep stosd dword es:[edi], eax
mov word [0x715484], 0xffff
mov dword [esp + 0x18], ebx
push ebp
call fcn.004289e0
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f0
ret