Function at 0x4034e0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4f4
mov eax, dword [0x42f040]
xor eax, esp
mov dword [esp + 0x4f0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 0x2a4]
sub ecx, dword [eax + 0x2a0]
mov eax, 0x67b23a55
imul ecx
mov ebx, dword [esi + 0x44]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x48]
sar edx, 7
sub ecx, ebx
push edi
mov edi, edx
shr edi, 0x1f
add edi, edx
imul ecx
xor ecx, ecx
sar edx, 2
mov eax, edx
mov dword [esp + 0x14], ecx
shr eax, 0x1f
add edi, edx
add eax, edi
mov dword [esi + 0x78], eax
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x48]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x403832
xor edi, edi
mov dword [esp + 0x10], edi
nop dword [eax + eax]
add edi, ebx
cmp dword [edi + 0x14], 0xf
jbe 0x40357a
mov edi, dword [edi]
test edi, edi
je 0x4035e2
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403583
sub ecx, edx
push edi
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x230]
push eax
call fcn.00415abf
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4035a6
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
js 0x4035da
nop word [eax + eax]
mov cl, byte [eax + edi]
cmp cl, 0x5c
je 0x4036e4
cmp cl, 0x2f
je 0x4036e4
sub eax, 1
jns 0x4035c0
mov byte [esp + 0x228], 0
mov edx, dword [esi + 0x44]
add edx, dword [esp + 0x10]
cmp dword [edx + 0x14], 0xf
jbe 0x4035f1
mov edx, dword [edx]
test edx, edx
je 0x40364e
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403600
sub ecx, edi
add ecx, 0xffffffff
mov ebx, ecx
js 0x40362b
mov al, byte [edx + ecx]
lea edi, [edx + ecx]
cmp al, 0x5c
je 0x4036f1
cmp al, 0x2f
je 0x4036f1
sub ecx, 1
jns 0x403610
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403630
sub ecx, edi
push edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x398]
push eax
call fcn.00415abf
add esp, 0xc
mov eax, dword [esi + 0x3c]
xor edi, edi
mov ecx, dword [esi + 0x38]
sub eax, ecx
mov dword [esp + 0x18], 1
test eax, 0xfffffffc
jle 0x403719
mov edx, ecx
nop dword [eax]
lea ebx, [edi*4]
mov eax, dword [ebx + ecx]
cmp dword [eax + 8], 0xffffffff
je 0x40369b
push 0x42c528
add eax, 0x11c
push 0x104
push eax
call fcn.00415abf
mov edx, dword [esi + 0x38]
add esp, 0xc
cmp byte [esp + 0x228], 0
je 0x4036b5
mov ecx, dword [edx + ebx]
lea eax, [esp + 0x228]
push eax
call fcn.00407780
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x390]
push eax
mov ecx, dword [ecx + ebx]
call fcn.004075e0
test al, al
jne 0x403712
mov ecx, dword [esi + 0x38]
inc edi
mov eax, dword [esi + 0x3c]
mov edx, ecx
sub eax, ecx
sar eax, 2
cmp edi, eax
jl 0x403670
mov eax, dword [esp + 0x18]
jmp 0x40371e
mov byte [esp + eax + 0x229], 0
jmp 0x4035e2
sub ebx, ecx
lea eax, [edi + 1]
push ebx
push eax
lea eax, [esp + 0x398]
push eax
call fcn.0040f180
mov byte [esp + ebx + 0x39c], 0
jmp 0x40364b
inc dword [esi + 0x74]
xor eax, eax
jmp 0x40371e
mov eax, 1
test eax, eax
je 0x4037fa
push pe_nt_image_headers32
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.0040f700
mov edx, dword [esi + 0x44]
add esp, 0xc
mov edi, dword [esp + 0x10]
add edx, edi
cmp dword [edx + 0x14], 0xf
jbe 0x40374e
mov edx, dword [edx]
test edx, edx
je 0x4037a3
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403757
sub ecx, edi
lea eax, [ecx - 1]
mov edi, eax
test eax, eax
js 0x40379f
nop dword [eax]
cmp byte [eax + edx], 0x2e
lea ecx, [eax + edx]
je 0x403780
sub eax, 1
jns 0x403770
jmp 0x40379f
sub edi, eax
lea eax, [ecx + 1]
push edi
push eax
lea eax, [esp + 0x130]
push eax
call fcn.0040f180
add esp, 0xc
mov byte [esp + edi + 0x128], 0
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x128]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4037b0
mov eax, dword [esi + 0x44]
sub ecx, edx
jne 0x4037d1
cmp dword [eax + edi + 0x14], 0xf
lea ecx, [eax + edi]
jbe 0x4037ca
mov ecx, dword [ecx]
call fcn.00408440
jmp 0x4037fe
add eax, edi
cmp dword [eax + 0x14], 0xf
jbe 0x4037db
mov eax, dword [eax]
push eax
lea eax, [esp + 0x24]
push str.._s
push eax
call fcn.00404ea0
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [esi + 0x74]
jmp 0x4037fe
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x34], 0
jne 0x40384e
mov ecx, dword [esi + 0x48]
mov eax, 0x2aaaaaab
mov ebx, dword [esi + 0x44]
add edi, 0x18
inc dword [esp + 0x14]
sub ecx, ebx
imul ecx
mov dword [esp + 0x10], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jl 0x403570
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0040d81c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x3c]
xor edi, edi
mov ecx, dword [esi + 0x38]
sub eax, ecx
test eax, 0xfffffffc
jle 0x4038a3
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [ecx + ebx]
call fcn.00405c20
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax]
test ecx, ecx
je 0x40388b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x38]
mov dword [eax + edi*4], 0
mov eax, dword [esi + 0x3c]
inc edi
mov ecx, dword [esi + 0x38]
add ebx, 4
add dword [esp + 0x14], 4
sub eax, ecx
sar eax, 2
cmp edi, eax
jl 0x403865
mov ecx, dword [esp + 0x1c]
call fcn.00405c20
mov ecx, dword [esp + 0x4fc]
mov eax, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040d81c
mov esp, ebp
pop ebp
ret 4