Function at 0x4074b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483882
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1084
call fcn.004606e0
mov eax, dword [0x4aadb8]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1074], ebx
mov dword [ebp - 4], 0
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1024], eax
mov byte [ebp - 4], 1
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x101c], eax
mov byte [ebp - 4], 2
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1018], eax
mov byte [ebp - 4], 3
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1030], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
mov byte [ebp - 4], 4
jne 0x407562
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x407575
lea eax, [ebp - 0x1030]
push eax
push 0x410
mov ecx, ebx
call fcn.00476c6a
push 0x48bd3c
push 0x410
mov ecx, ebx
call fcn.00476e5e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x102c], eax
call fcn.00401730
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1034], eax
lea ecx, [ebp - 0x105c]
push ecx
lea edx, [ebp - 0x1024]
push edx
lea ecx, [ebp - 0x1034]
push ecx
lea edx, [ebp - 0x1070]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.0047e4ec
mov edx, dword [ebp - 0x1024]
mov ecx, dword [edx - 0xc]
mov eax, ecx
test eax, eax
jle 0x4075f0
cmp eax, ecx
jg 0x407720
cmp byte [eax + edx], 0x2f
je 0x4076cf
dec eax
test eax, eax
jg 0x4075d9
lea ecx, [ebx + 0x3e0]
push 0
call fcn.0042fcc0
cmp dword [ebp - 0x1070], 3
jne 0x407f30
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1020], eax
xor edi, edi
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 7
mov dword [ebp - 0x1038], edi
mov dword [ebp - 0x1040], edi
call fcn.004784a2
push edi
push 4
lea eax, [ebp - 0x1028]
push eax
lea esi, [ebx + 0x228]
push 2
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebx + 0x240], 0x20200010
mov dword [ebp - 0x1028], 5
call fcn.0047d9ba
mov ecx, dword [ebp - 0x105c]
mov edx, dword [ebp - 0x1034]
push edi
push edi
push ecx
push edx
mov ecx, esi
call fcn.0047ed19
mov ecx, dword [ebx + 0x240]
mov edx, dword [ebp - 0x1024]
push ecx
push edi
push edi
push 1
push edi
push edx
push 1
mov ecx, eax
mov dword [ebx + 0x23c], eax
call fcn.0047efac
push edi
push edi
mov esi, eax
push edi
push edi
mov ecx, esi
call fcn.0047e442
test eax, eax
jne 0x40772a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
push edi
push edi
push 0x48bd2c
call fcn.0047bc66
jmp 0x4078b7
inc eax
push eax
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x1024]
call fcn.00401f70
push eax
lea ecx, [ebp - 0x101c]
mov byte [ebp - 4], 6
call fcn.00401e70
mov eax, dword [ebp - 0x1028]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4075f0
push 0x80070057
call fcn.00401110
cmp esi, edi
je 0x407844
push edi
lea eax, [ebp - 0x1020]
push eax
push 0x13
mov ecx, esi
call fcn.0047e646
mov ecx, dword [ebp - 0x1020]
push 0x48bd28
push ecx
call fcn.00460cf5
add esp, 8
test eax, eax
mov ecx, esi
je 0x4078b2
push 0
lea eax, [ebp - 0x1020]
push eax
push 5
call fcn.0047e646
mov ecx, dword [ebp - 0x1020]
push ecx
call fcn.00460e5d
mov edx, dword [ebp - 0x101c]
push edx
mov dword [ebp - 0x1038], eax
lea eax, [ebx + 0x2c4]
push eax
lea ecx, [ebp - 0x1018]
push str._sIvanBuild_s
push ecx
call fcn.00406fa0
mov edx, dword [ebp - 0x1018]
add esp, 0x14
push 0
push 0x9001
push edx
lea ecx, [ebp - 0x1058]
call fcn.004784b8
mov eax, dword [esi]
push 0x800
lea ecx, [ebp - 0x814]
push ecx
mov ecx, esi
mov dword [ebp - 0x103c], 0
call dword [eax + 0x34]
mov edi, eax
test edi, edi
jle 0x407832
push edi
lea edx, [ebp - 0x814]
push edx
lea ecx, [ebp - 0x1058]
call fcn.0047862f
mov eax, dword [ebp - 0x103c]
add eax, edi
mov dword [ebp - 0x103c], eax
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x1038]
lea ecx, [ebx + 0x3e0]
push eax
call fcn.0042fcc0
mov eax, dword [esi]
push 0x800
lea ecx, [ebp - 0x814]
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov edi, eax
test edi, edi
jg 0x4077e1
lea ecx, [ebp - 0x1058]
call fcn.0047883b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov eax, dword [ebp - 0x101c]
mov eax, dword [eax - 0xc]
push 0x64
dec eax
push eax
lea ecx, [ebp - 0x101c]
call fcn.00406700
mov ecx, dword [ebp - 0x1024]
mov eax, dword [ecx - 0xc]
push 0x64
dec eax
push eax
lea ecx, [ebp - 0x1024]
call fcn.00406700
mov edx, dword [ebx + 0x240]
mov eax, dword [ebp - 0x1024]
mov ecx, dword [ebx + 0x23c]
push edx
push 0
push 0
push 1
push 0
push eax
push 1
call fcn.0047efac
push 0
push 0
mov esi, eax
push 0
push 0
mov ecx, esi
call fcn.0047e442
test eax, eax
jne 0x4079a9
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x4c]
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 7
call fcn.00478877
mov eax, dword [ebp - 0x1020]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4078ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1034]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40790e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1030]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407932
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1018]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407956
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x101c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40797a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1024]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40799e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x102c]
jmp 0x40801f
test esi, esi
je 0x407afc
push 0
lea eax, [ebp - 0x1020]
push eax
push 0x13
mov ecx, esi
call fcn.0047e646
mov ecx, dword [ebp - 0x1020]
push 0x48bd28
push ecx
call fcn.00460cf5
add esp, 8
test eax, eax
mov ecx, esi
jne 0x407a4e
mov edx, dword [esi]
call dword [edx + 0x4c]
push 0
push 0
push 0x48bd2c
call fcn.0047bc66
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 7
call fcn.00478877
lea ecx, [ebp - 0x1020]
call fcn.00401970
lea ecx, [ebp - 0x1034]
call fcn.00401970
lea ecx, [ebp - 0x1030]
call fcn.00401970
lea ecx, [ebp - 0x1018]
call fcn.00401970
lea ecx, [ebp - 0x101c]
call fcn.00401970
lea ecx, [ebp - 0x1024]
call fcn.00401970
lea ecx, [ebp + 8]
call fcn.00401970
jmp 0x40803d
push 0
lea eax, [ebp - 0x1020]
push eax
push 5
call fcn.0047e646
mov ecx, dword [ebp - 0x1020]
push ecx
call fcn.00460e5d
mov edx, dword [ebp - 0x1018]
add esp, 4
mov dword [ebp - 0x1040], eax
mov eax, dword [edx - 0xc]
push 0x64
dec eax
push eax
lea ecx, [ebp - 0x1018]
call fcn.00406700
mov eax, dword [ebp - 0x1018]
push 0
push 0x9001
push eax
lea ecx, [ebp - 0x1058]
call fcn.004784b8
mov edx, dword [esi]
push 0x800
lea eax, [ebp - 0x814]
push eax
mov ecx, esi
call dword [edx + 0x34]
test eax, eax
jle 0x407aea
jmp 0x407ac0
push eax
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x1058]
call fcn.0047862f
mov edx, dword [esi]
push 0x800
lea eax, [ebp - 0x814]
push eax
mov ecx, esi
call dword [edx + 0x34]
test eax, eax
jg 0x407ac0
lea ecx, [ebp - 0x1058]
call fcn.0047883b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
push 0x48bd0c
push 0x410
mov ecx, ebx
call fcn.00476e5e
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x1094]
call fcn.0047dec0
mov eax, dword [ebp - 0x1038]
add dword [ebp - 0x1040], eax
xor edi, edi
push edi
lea ecx, [ebx + 0x3e0]
mov byte [ebp - 4], 0xa
call fcn.0042fcc0
push edi
push edi
push str.eupload
push str.ivanbook
push str.ns.ivansms.com
lea ecx, [ebp - 0x1094]
call fcn.0047ecce
mov esi, eax
lea ecx, [ebp - 0x106c]
mov dword [ebp - 0x103c], esi
call fcn.00478077
mov ecx, dword [ebp - 0x1018]
push edi
push edi
push ecx
lea ecx, [ebp - 0x106c]
mov byte [ebp - 4], 0xb
call fcn.0047830f
mov edx, dword [ebp - 0x101c]
push 1
push 2
push 0x40000000
push edx
mov ecx, esi
call fcn.0047e94b
mov dword [ebp - 0x1028], eax
jmp 0x407bb0
push 0x1000
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x106c]
call fcn.00477d8a
mov ecx, dword [ebp - 0x1028]
mov esi, eax
test esi, esi
jne 0x407e8c
mov edx, dword [ecx]
call dword [edx + 0x4c]
lea ecx, [ebp - 0x106c]
call fcn.00478015
mov esi, dword [ebp - 0x1018]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x101c]
mov eax, dword [eax - 0xc]
push 0x72
dec eax
push eax
lea ecx, [ebp - 0x101c]
call fcn.00406700
mov esi, dword [esi - 0xc]
push 0x72
dec esi
push esi
lea ecx, [ebp - 0x1018]
call fcn.00406700
mov ecx, dword [ebp - 0x1018]
push 0
push 0
push ecx
lea ecx, [ebp - 0x106c]
call fcn.0047830f
mov edx, dword [ebp - 0x101c]
mov ecx, dword [ebp - 0x103c]
push 1
push 2
push 0x40000000
push edx
call fcn.0047e94b
mov dword [ebp - 0x1028], eax
jmp 0x407c60
push 0x1000
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x106c]
call fcn.00477d8a
mov ecx, dword [ebp - 0x1028]
mov esi, eax
test esi, esi
jne 0x407e5f
mov edx, dword [ecx]
call dword [edx + 0x4c]
lea ecx, [ebp - 0x106c]
call fcn.00478015
mov eax, dword [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1094]
call fcn.0047e57a
mov esi, dword [ebp - 0x103c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x107c]
call fcn.0043a290
mov byte [ebp - 4], 0xc
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1038], eax
mov byte [ebp - 4], 0xd
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1044], eax
mov byte [ebp - 4], 0xe
call fcn.00477b74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x102c], eax
mov ecx, dword [0x4a944c]
test ecx, ecx
mov byte [ebp - 4], 0xf
mov eax, 8
jne 0x407d30
jmp 0x407d37
cmp ecx, 1
jne 0x407d37
mov eax, ecx
mov ecx, dword [ebx + 0x2c0]
mov edx, dword [0x4ac2cc]
push eax
mov eax, dword [ebp - 0x101c]
push 0x4ac228
push eax
push ecx
push edx
lea eax, [ebp - 0x1038]
push str.phone_sbookname_sfile_spublisher_siport_d
push eax
call fcn.00406fa0
add esp, 0x1c
lea ecx, [ebp - 0x102c]
push ecx
lea edx, [ebp - 0x1044]
push edx
lea eax, [ebp - 0x1038]
push eax
push str.http:__ns.ivansms.com_io_get_jar.asp
push 1
lea ecx, [ebp - 0x107c]
call fcn.0043aa80
mov eax, dword [ebp - 0x102c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x407dc2
push 0x48bc88
push eax
call fcn.00460994
add esp, 8
test eax, eax
je 0x407dc2
sub eax, dword [ebp - 0x102c]
cmp eax, 0xffffffff
je 0x407dc2
push 0
push 0
push 0x48bc7c
jmp 0x407dcb
push 0
push 0
push 0x48bc70
call fcn.0047bc66
mov eax, dword [ebp - 0x102c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407df4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1044]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1038]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x107c]
mov byte [ebp - 4], 0xb
call fcn.0043a2a0
lea ecx, [ebp - 0x106c]
mov byte [ebp - 4], 0xa
call fcn.004780b6
jmp 0x407eeb
mov eax, dword [ecx]
push esi
lea edx, [ebp - 0x1014]
push edx
call dword [eax + 0x38]
add edi, esi
mov eax, edi
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x1040]
lea ecx, [ebx + 0x3e0]
push eax
call fcn.0042fcc0
jmp 0x407c60
mov eax, dword [ecx]
push esi
lea edx, [ebp - 0x1014]
push edx
call dword [eax + 0x38]
add edi, esi
mov eax, edi
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x1040]
lea ecx, [ebx + 0x3e0]
push eax
call fcn.0042fcc0
jmp 0x407bb0
lea ecx, [ebp - 0x1094]
mov dword [ebp - 4], 8
call fcn.0047e72c
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 7
call fcn.00478877
mov eax, dword [ebp - 0x1020]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x407f52
mov eax, dword [ebx + 0x7c]
test eax, eax
jne 0x407f52
push 0
lea ecx, [ebx + 0x3e0]
call fcn.0042fcc0
push 0x48aa80
jmp 0x407f59
mov eax, dword [ebp - 0x1030]
push eax
mov ecx, ebx
push 0x410
call fcn.00476e5e
mov eax, dword [ebp - 0x1034]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1030]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1018]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x101c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ff5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1024]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408019
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40803d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
xor eax, eax
call fcn.0045f776
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4