Function at 0x403780
Capabilities:
Delete file

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x42bb80
push eax
xor esi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
call fcn.0040f8f3
mov ebp, eax
add esp, 8
cmp ebp, edi
mov dword [esp + 0x2c], ebp
je 0x403bcd
mov ecx, dword [esp + 0x3c]
push 0x42bb78
push ecx
call fcn.0040f8f3
add esp, 8
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x403bb5
mov edx, dword [esp + 0x40]
mov dword [esp + 0x30], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edx
lea esp, [esp]
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x3a
jne 0x403b6f
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403815
lea esi, [eax - 0x30]
jmp 0x403822
cmp eax, 0x5a
lea esi, [eax - 0x37]
jl 0x403822
mov esi, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403835
add eax, 0xffffffd0
jmp 0x403844
cmp eax, 0x5a
jge 0x40383f
add eax, 0xffffffc9
jmp 0x403844
mov eax, 0x6b
shl esi, 4
add esi, eax
push ebp
mov dword [esp + 0x1c], esi
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403860
lea esi, [eax - 0x30]
jmp 0x40386d
cmp eax, 0x5a
lea esi, [eax - 0x37]
jl 0x40386d
mov esi, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403880
lea edi, [eax - 0x30]
jmp 0x40388d
cmp eax, 0x5a
lea edi, [eax - 0x37]
jl 0x40388d
mov edi, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x4038a0
lea ebx, [eax - 0x30]
jmp 0x4038ad
cmp eax, 0x5a
lea ebx, [eax - 0x37]
jl 0x4038ad
mov ebx, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x4038c0
add eax, 0xffffffd0
jmp 0x4038cf
cmp eax, 0x5a
jge 0x4038ca
add eax, 0xffffffc9
jmp 0x4038cf
mov eax, 0x6b
shl esi, 4
add esi, edi
shl esi, 4
add esi, ebx
shl esi, 4
add esi, eax
push ebp
mov dword [esp + 0x3c], esi
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x4038f5
lea esi, [eax - 0x30]
jmp 0x403902
cmp eax, 0x5a
lea esi, [eax - 0x37]
jl 0x403902
mov esi, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403915
add eax, 0xffffffd0
jmp 0x403924
cmp eax, 0x5a
jge 0x40391f
add eax, 0xffffffc9
jmp 0x403924
mov eax, 0x6b
shl esi, 4
add esi, eax
sub esi, 0
je 0x4039f2
dec esi
je 0x4039e5
sub esi, 3
jne 0x403b42
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403955
lea edi, [eax - 0x30]
jmp 0x403962
cmp eax, 0x5a
lea edi, [eax - 0x37]
jl 0x403962
mov edi, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403975
lea ebx, [eax - 0x30]
jmp 0x403982
cmp eax, 0x5a
lea ebx, [eax - 0x37]
jl 0x403982
mov ebx, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403995
lea esi, [eax - 0x30]
jmp 0x4039a2
cmp eax, 0x5a
lea esi, [eax - 0x37]
jl 0x4039a2
mov esi, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x4039b5
add eax, 0xffffffd0
jmp 0x4039c4
cmp eax, 0x5a
jge 0x4039bf
add eax, 0xffffffc9
jmp 0x4039c4
mov eax, 0x6b
shl edi, 4
add edi, ebx
shl edi, 4
add edi, esi
shl edi, 4
add edi, eax
mov eax, dword [esp + 0x38]
shl edi, 0x10
add edi, eax
mov dword [esp + 0x20], edi
jmp 0x403b42
mov dword [esp + 0x28], 1
jmp 0x403b42
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
add ecx, eax
cmp dword [esp + 0x24], edi
mov dword [esp + 0x38], ecx
jge 0x403a34
mov eax, dword [esp + 0x14]
test eax, eax
je 0x403a1b
push eax
call fcn.0040e3b0
add esp, 4
push edi
call fcn.0040f723
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x403ba2
mov dword [esp + 0x24], edi
xor esi, esi
test edi, edi
jle 0x403a97
lea ebx, [ebx]
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403a53
lea ebx, [eax - 0x30]
jmp 0x403a60
cmp eax, 0x5a
lea ebx, [eax - 0x37]
jl 0x403a60
mov ebx, 0x6b
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0x39
jg 0x403a73
add eax, 0xffffffd0
jmp 0x403a82
cmp eax, 0x5a
jge 0x403a7d
add eax, 0xffffffc9
jmp 0x403a82
mov eax, 0x6b
mov ecx, dword [esp + 0x14]
shl bl, 4
add bl, al
mov eax, dword [esp + 0x18]
mov byte [esi + ecx], bl
inc esi
cmp esi, eax
jl 0x403a40
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
add edx, eax
cmp edx, ecx
jbe 0x403b42
cmp eax, ecx
mov edi, dword [esp + 0x14]
jae 0x403ac7
mov edx, dword [esp + 0x18]
mov esi, ecx
mov ebx, eax
sub ebx, esi
sub edi, eax
add ebx, edx
add edi, esi
jmp 0x403acf
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, esi
jae 0x403b12
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push 0
sub eax, edx
push eax
push ecx
call fcn.0040f127
mov eax, dword [esp + 0x1c]
mov ebp, esi
sub ebp, eax
add esp, 0xc
add eax, ebp
mov dword [esp + 0x10], eax
jmp 0x403b00
mov edx, dword [esp + 0x1c]
push edx
push 0
call fcn.0040f040
add esp, 8
dec ebp
jne 0x403b00
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x1c]
mov eax, esi
push 0
sub eax, edx
push eax
push ebp
call fcn.0040f127
push ebp
push ebx
push 1
push edi
call fcn.0040eff4
mov eax, dword [esp + 0x2c]
add esi, ebx
add esp, 0x1c
cmp eax, esi
jae 0x403b42
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x2c]
push ebp
call fcn.0040eb5b
push ebp
call fcn.0040eb5b
add esp, 8
push ebp
call fcn.0040eb5b
add esp, 4
cmp eax, 0xa
jne 0x403b55
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4037f0
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040f1bc
push ebp
call fcn.0040f1bc
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x403b93
push eax
call fcn.0040e3b0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040f1bc
mov esi, dword [esp + 0x34]
add esp, 4
xor edi, edi
push ebp
call fcn.0040f1bc
add esp, 4
cmp esi, edi
je 0x403bcd
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc