Function at 0x4824b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1a2c0]
or eax, dword [esi + 0x1a2c4]
push edi
mov edi, 1
jne 0x48254d
cmp byte [esi + 0x19e9a], 0
je 0x4824e5
cmp word [esi + 0x19e9c], 2
jne 0x48254d
call fcn.00419310
cmp byte [eax + 0xa], 0
je 0x482538
cmp byte [esi + 0x19f8e], 0
jne 0x482526
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esi + 0x1a2c8]
push eax
mov ecx, esi
call edx
fcomp qword [0x503ea8]
fnstsw ax
test ah, 0x41
jne 0x48251d
mov byte [esi + 0x19f8e], 1
cmp byte [esi + 0x19f8e], 0
je 0x48254d
cmp dword [esi + 0x19f98], 5
jae 0x482538
mov ecx, esi
call fcn.00487570
jmp 0x48254d
mov byte [esi + 0x19e9a], 1
mov word [esi + 0x19e9e], di
mov word [esi + 0x19e9c], di
mov ecx, esi
call fcn.004820f0
cmp word [esi + 0x19e9c], 0
je 0x482c4b
mov ecx, esi
call fcn.00480ae0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ebp, [esi + 0x19f6e]
push ebp
mov ecx, esi
call edx
fstp qword [esp + 0x40]
call fcn.00419310
fld qword [esp + 0x40]
fcomp qword [eax + 0x68]
fnstsw ax
test ah, 1
jne 0x4825fa
cmp byte [esi + 0x19e9a], 0
je 0x4825fa
cmp word [esi + 0x1950a], 0
jne 0x4825fa
cmp dword [esi + 0x191a2], 0
jbe 0x4825e9
lea ebx, [esi + 0x1916a]
mov eax, dword [esi + 0x1919e]
mov edi, dword [eax]
cmp edi, eax
jne 0x4825d0
call fcn.004c000c
cmp edi, dword [esi + 0x1919e]
jne 0x4825d0
call fcn.004c000c
movzx ecx, word [edi + 0xc]
mov eax, dword [edi + 0xe]
push eax
push ecx
mov ecx, ebx
call fcn.0046f880
cmp dword [esi + 0x191a2], 0
ja 0x4825b2
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push ebp
mov ecx, esi
mov byte [esi + 0x19ec6], 0
call eax
cmp byte [esi + 0x19ec6], 0
jne 0x4826c3
cmp byte [esi + 0x19e9a], 0
je 0x4826c3
cmp word [esi + 0x1950a], 0
jne 0x4826c3
mov ecx, esi
call fcn.00437d10
cmp dword [eax + 0x18], 8
jb 0x482634
mov eax, dword [eax + 4]
jmp 0x482637
add eax, 4
push 0
push eax
lea ecx, [esi + 0x1916a]
call fcn.0046d8d0
cmp dword [esi + 0x191a2], 0
jbe 0x4826bc
mov eax, dword [esi + 0x1919e]
mov ebx, dword [eax]
lea edi, [esi + 0x1919a]
mov ebp, edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebx
test ebp, ebp
mov ecx, dword [edi + 4]
mov dword [esp + 0x44], ecx
je 0x482675
cmp ebp, edi
je 0x48267a
call fcn.004c000c
cmp ebx, dword [esp + 0x44]
je 0x4826bc
test ebp, ebp
jne 0x482689
call fcn.004c000c
cmp ebx, dword [ebp + 4]
jne 0x482693
call fcn.004c000c
add ebx, 0x14
push ebx
mov ecx, esi
call fcn.00481d40
test al, al
je 0x4826a9
mov edx, dword [edi + 4]
mov ebx, dword [edx]
jmp 0x48265c
lea ecx, [esp + 0x28]
call fcn.0045b260
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
jmp 0x482666
mov byte [esi + 0x19ec6], 1
mov edx, dword [esi]
lea eax, [esi + 0x19f66]
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
fcomp qword [0x503ec0]
fnstsw ax
test ah, 1
jne 0x482c44
mov eax, dword [esi + 0x1919e]
mov edi, dword [eax]
lea ebx, [esi + 0x1919a]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
lea ebx, [ebx]
test ebx, ebx
mov ebp, dword [esi + 0x1919e]
lea eax, [esi + 0x1919a]
je 0x482714
cmp ebx, eax
je 0x482719
call fcn.004c000c
cmp edi, ebp
je 0x482c34
test ebx, ebx
jne 0x48272a
call fcn.004c000c
cmp edi, dword [ebx + 4]
jne 0x482734
call fcn.004c000c
mov edx, dword [esi]
lea ebp, [edi + 0x14]
lea eax, [ebp + 0x5b6]
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
fstp qword [esp + 0x10]
call fcn.00419310
fld qword [esp + 0x10]
fcomp qword [eax + 0x70]
fnstsw ax
test ah, 5
jnp 0x482adf
cmp edi, dword [ebx + 4]
mov word [esp + 0x2e], 0
jne 0x482777
call fcn.004c000c
cmp edi, dword [ebx + 4]
mov cx, word [edi + 0xc]
mov word [esp + 0x28], cx
jne 0x48278a
call fcn.004c000c
cmp word [esi + 0x1950a], 0
mov edx, dword [edi + 0xe]
mov dword [esp + 0x2a], edx
mov dword [esp + 0x10], 0
je 0x482842
cmp edi, dword [ebx + 4]
jne 0x4827b1
call fcn.004c000c
mov ax, word [edi + 0xc]
cmp ax, word [esi + 0x196c4]
jne 0x482842
cmp edi, dword [ebx + 4]
jne 0x4827cc
call fcn.004c000c
mov ecx, dword [edi + 0xe]
cmp ecx, dword [esi + 0x196ca]
jne 0x482842
call fcn.00419310
cmp dword [eax + 0x282], 1
jl 0x482903
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x14]
ja 0x4827fd
cmp eax, 0x200000
jb 0x482903
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
lea edi, [esi + 0x19ed4]
push eax
mov ecx, edi
call fcn.00482d30
mov ecx, dword [edi + 4]
lea edx, [esp + 0x30]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], edi
call fcn.0043fc80
test al, al
je 0x482903
mov dword [esp + 0x10], 2
jmp 0x482903
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x14]
ja 0x482856
cmp eax, 0x200000
jb 0x482b6c
push ebp
mov ecx, esi
call fcn.00481a70
test al, al
je 0x4828fb
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
lea edi, [esi + 0x19ec8]
push ecx
mov ecx, edi
call fcn.00482d30
mov eax, dword [esp + 0x38]
test eax, eax
mov ebx, dword [edi + 4]
je 0x48288c
cmp eax, edi
je 0x482891
call fcn.004c000c
cmp dword [esp + 0x3c], ebx
je 0x4828af
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 1
call edx
jmp 0x482903
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x58]
lea edi, [esi + 0x19ed4]
push eax
mov ecx, edi
call fcn.00482d30
mov ecx, dword [edi + 4]
lea edx, [esp + 0x40]
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], edi
call fcn.0043fc80
test al, al
je 0x4828eb
mov dword [esp + 0x10], 2
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, esi
call edx
jmp 0x482903
mov dword [esp + 0x10], 3
mov eax, dword [esp + 0x10]
sub eax, 1
je 0x482acb
sub eax, 1
je 0x482a2d
sub eax, 1
jne 0x482adf
mov eax, dword [esi + 0x19ee4]
lea ecx, [esi + 0x19ee0]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x4c], ecx
call fcn.00482d30
mov ecx, eax
call fcn.0043fcb0
test al, al
je 0x4829b6
push 0
push 0x2217
mov ecx, esi
call fcn.004898e0
mov edi, eax
test edi, edi
je 0x4829b6
cmp word [esi + 0x1950a], 0
jne 0x482982
push edi
mov ecx, esi
call fcn.00438c00
mov byte [eax + 0x134], 1
lea ecx, [esp + 0x20]
call fcn.004108b0
push 0
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.004108b0
movzx ecx, word [ebx]
mov eax, dword [eax + 2]
push eax
push ecx
push 0x2217
push edi
mov ecx, esi
call fcn.00438c00
push eax
push edi
mov ecx, esi
call fcn.0047fd60
lea edx, [esp + 0x28]
push edx
lea ecx, [esi + 0x19ec8]
call fcn.00482db0
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x19ed4]
call fcn.00482db0
lea ecx, [esp + 0x20]
call fcn.004108b0
mov ecx, dword [eax + 2]
push ecx
lea ecx, [esp + 0x24]
call fcn.004108b0
movzx edx, word [eax]
push edx
mov ecx, esi
call fcn.00437d10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00406510
lea eax, [esp + 0x88]
lea edi, [esi + 0x1916a]
push eax
mov ecx, edi
call fcn.0045fdf0
cmp dword [eax + 0x18], 8
jb 0x482af5
mov eax, dword [eax + 4]
jmp 0x482af8
push 0
push 0x221d
mov ecx, esi
call fcn.004898e0
mov edi, eax
test edi, edi
je 0x482adf
cmp word [esi + 0x1950a], 0
jne 0x482a5e
push edi
mov ecx, esi
call fcn.00438c00
mov byte [eax + 0x134], 1
lea ecx, [esp + 0x20]
call fcn.004108b0
push 0
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.004108b0
movzx ecx, word [ebx]
mov eax, dword [eax + 2]
push eax
push ecx
push 0x2252
push edi
mov ecx, esi
call fcn.00438c00
push eax
push edi
mov ecx, esi
call fcn.0047fd60
lea ecx, [esp + 0x20]
call fcn.004108b0
push 0
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.004108b0
mov edx, dword [eax + 2]
movzx eax, word [ebx]
push edx
push eax
push 0x221d
push edi
mov ecx, esi
call fcn.00438c00
push eax
push edi
mov ecx, esi
call fcn.0047fd60
jmp 0x482c34
push 0
push 0x221f
mov ecx, esi
call fcn.004898e0
mov edi, eax
test edi, edi
jne 0x482b2b
lea ecx, [esp + 0x20]
call fcn.0045b260
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jmp 0x482700
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x64]
call fcn.00401470
lea ecx, [esp + 0x20]
call fcn.004108b0
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.004108b0
mov ecx, dword [eax + 2]
movzx edx, word [ebx]
push ecx
push edx
mov ecx, edi
jmp 0x482c2f
cmp word [esi + 0x1950a], 0
jne 0x482b44
push edi
mov ecx, esi
call fcn.00438c00
mov byte [eax + 0x134], 1
lea ecx, [esp + 0x20]
call fcn.004108b0
push 0
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.004108b0
mov ecx, dword [eax + 2]
movzx edx, word [ebx]
push ecx
push edx
push 0x221f
jmp 0x482ab5
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x19ec8]
call fcn.00482db0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esi + 0x19ed4]
call fcn.00482db0
cmp edi, dword [ebx + 4]
jne 0x482b96
call fcn.004c000c
cmp edi, dword [ebx + 4]
mov edx, dword [edi + 0xe]
push edx
jne 0x482ba4
call fcn.004c000c
movzx eax, word [edi + 0xc]
push eax
mov ecx, esi
call fcn.00437d10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edx
push eax
mov word [ecx + 4], dx
call fcn.00401640
lea ecx, [esp + 0x88]
lea ebp, [esi + 0x1916a]
push ecx
mov ecx, ebp
call fcn.0045fdf0
cmp dword [eax + 0x18], 8
jb 0x482bf2
mov eax, dword [eax + 4]
jmp 0x482bf5
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x7c], 8
jb 0x482c10
mov edx, dword [esp + 0x68]
push edx
call fcn.004aef39
add esp, 4
cmp edi, dword [ebx + 4]
jne 0x482c24
call fcn.004c000c
cmp edi, dword [ebx + 4]
jne 0x482c24
call fcn.004c000c
movzx ecx, word [edi + 0xc]
mov eax, dword [edi + 0xe]
push eax
push ecx
mov ecx, ebp
call fcn.0046f880
mov edx, dword [esi]
lea eax, [esi + 0x19f66]
push eax
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov ecx, esi
call fcn.00490750
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret