Function at 0x402a80
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4725cc
mov eax, dword fs:[0]
push eax
sub esp, 0xffc
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfb4], 0
mov dword [ebp - 0xfb0], 0
mov dword [ebp - 0xfac], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xd78], 0xf
mov dword [ebp - 0xd7c], 0
mov byte [ebp - 0xd8c], 0
mov dword [ebp - 0xd60], 0xf
mov dword [ebp - 0xd64], 0
mov byte [ebp - 0xd74], 0
mov dword [ebp - 0xd5c], 0
mov dword [ebp - 0xd58], 0
mov dword [ebp - 0xd54], 0
lea eax, [ebp - 0xfcc]
push eax
mov byte [ebp - 4], 1
push str.UserId
mov dword [ebp - 0xfcc], 0
call fcn.00402070
push 0x103
lea eax, [ebp - 0x427]
push 0
push eax
mov byte [ebp - 0x428], 0
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0x428]
push dword [ebp - 0xfcc]
push 0x481a3c
push eax
call fcn.00421255
add esp, 0xc
lea ecx, [ebp - 0xd8c]
push 6
push str.Userid
call fcn.004014f0
cmp byte [ebp - 0x428], 0
jne 0x402b9c
xor ecx, ecx
jmp 0x402bae
lea ecx, [ebp - 0x428]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402ba5
sub ecx, edx
push ecx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0xd74]
call fcn.004014f0
lea eax, [ebp - 0xd8c]
push eax
lea ecx, [ebp - 0xfb4]
call fcn.00403a80
lea eax, [ebp - 0xfc4]
push eax
push str.Channelid
mov dword [ebp - 0xfc4], 0
call fcn.00402070
push 0x103
lea eax, [ebp - 0x31f]
push 0
push eax
mov byte [ebp - 0x320], 0
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0x320]
push dword [ebp - 0xfc4]
push 0x481a3c
push eax
call fcn.00421255
add esp, 0xc
lea ecx, [ebp - 0xd8c]
push 9
push str.Channelid
call fcn.004014f0
cmp byte [ebp - 0x320], 0
jne 0x402c44
xor ecx, ecx
jmp 0x402c59
lea ecx, [ebp - 0x320]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402c50
sub ecx, edx
push ecx
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0xd74]
call fcn.004014f0
lea eax, [ebp - 0xd8c]
push eax
lea ecx, [ebp - 0xfb4]
call fcn.00403a80
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xd50], ax
lea eax, [ebp - 0xd4e]
push eax
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0xd50]
push eax
push ecx
call fcn.00402000
push 4
push str.Code
lea ecx, [ebp - 0xd8c]
call fcn.004014f0
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
push 3
lea eax, [ebp - 0xd50]
push eax
lea ecx, [ebp - 0x98]
call fcn.00403e80
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x98]
cmp byte [edx], 0
jne 0x402cee
xor ecx, ecx
jmp 0x402cfc
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402cf3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xd74]
call fcn.004014f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x402d26
push eax
call fcn.004212f3
add esp, 4
lea eax, [ebp - 0xd8c]
push eax
lea ecx, [ebp - 0xfb4]
call fcn.00403a80
push str.GlobalConfig.ashx
sub esp, 0xc
lea eax, [ebp - 0xfb4]
mov ecx, esp
push eax
call fcn.00403780
call fcn.00401a70
mov esi, eax
test esi, esi
jne 0x402d8d
mov edi, dword [ebp - 0xfb4]
mov edx, dword [ebp - 0xfb0]
mov dword [ebp - 0xfb0], esi
test edi, edi
je 0x402d86
push dword [ebp - 0xfa8]
push ecx
mov ecx, edi
call fcn.00404630
push edi
call fcn.00420618
add esp, 0xc
xor bl, bl
jmp 0x403534
and dword [ebp - 0xfd8], 0xfffffe00
mov dword [ebp - 0xfd4], 0
lea ecx, [ebp - 0xe98]
mov byte [ebp - 4], 6
call fcn.00417db0
mov dword [ebp - method.Json::Reader.virtual_0], vtable.JsonReader.0
mov word [ebp - 0xe24], 0x101
mov byte [ebp - 4], 7
cmp byte [esi], 0
mov dword [ebp - 0xdf0], 0xf
mov dword [ebp - 0xdf4], 0
mov byte [ebp - 0xe04], 0
jne 0x402deb
xor ecx, ecx
jmp 0x402df9
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402df0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xe04]
call fcn.004014f0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xe04]
push eax
lea ecx, [ebp - 0xe6c]
mov byte [ebp - 4], 8
call fcn.00401620
cmp dword [ebp - 0xe58], 0x10
mov eax, dword [ebp - 0xe5c]
lea ecx, [ebp - 0xe6c]
cmovae ecx, dword [ebp - 0xe6c]
push ecx
lea edx, [ebp - 0xfe0]
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xe98]
call fcn.00417ee0
test al, al
sete bl
mov byte [ebp - 4], 7
cmp dword [ebp - 0xdf0], 0x10
jb 0x402e71
push dword [ebp - 0xe04]
call fcn.00420618
add esp, 4
test bl, bl
je 0x402ec0
push esi
call fcn.004212f3
add esp, 4
mov edi, dword [ebp - 0xfb4]
mov edx, dword [ebp - 0xfb0]
xor esi, esi
mov dword [ebp - 0xfb4], esi
mov dword [ebp - 0xfb0], esi
mov dword [ebp - 0xfac], esi
test edi, edi
je 0x402eb9
push dword [ebp - 0xfa8]
push ecx
mov ecx, edi
call fcn.00404630
push edi
call fcn.00420618
add esp, 0xc
xor bl, bl
jmp 0x403510
push ecx
push 0x481ac0
lea ecx, [ebp - 0xfe0]
call fcn.004164d0
push dword [eax]
lea ecx, [ebp - 0xdbc]
call fcn.00401450
push ecx
push 0x481ac4
lea ecx, [ebp - 0xfe0]
mov byte [ebp - 4], 0xb
call fcn.004164d0
push dword [eax]
lea ecx, [ebp - 0xda4]
call fcn.00401450
push ecx
push str.IniMd5
lea ecx, [ebp - 0xfe0]
mov byte [ebp - 4], 0xc
call fcn.004164d0
push dword [eax]
lea ecx, [ebp - 0xdd4]
call fcn.00401450
push ecx
push str.RandomNumber
lea ecx, [ebp - 0xfe0]
mov byte [ebp - 4], 0xd
call fcn.004164d0
push dword [eax]
lea ecx, [ebp - 0xdec]
call fcn.00401450
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xda8], 0x10
lea eax, [ebp - 0xdbc]
cmovae eax, dword [ebp - 0xdbc]
push 0x481998
push eax
call fcn.004207c7
add esp, 8
test eax, eax
je 0x40340b
cmp dword [ebp - 0xd90], 0x10
lea eax, [ebp - 0xda4]
cmovae eax, dword [ebp - 0xda4]
push 0x481998
push eax
call fcn.004207c7
add esp, 8
test eax, eax
je 0x40340b
cmp dword [ebp - 0xdd8], 0x10
lea eax, [ebp - 0xdec]
cmovae eax, dword [ebp - 0xdec]
push 0x481998
push eax
call fcn.004207c7
add esp, 8
test eax, eax
je 0x40340b
cmp dword [ebp - 0xdc0], 0x10
lea eax, [ebp - 0xdd4]
cmovae eax, dword [ebp - 0xdd4]
push 0x481998
push eax
call fcn.004207c7
add esp, 8
test eax, eax
je 0x40340b
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x940], ax
lea eax, [ebp - 0x93e]
push eax
mov dword [ebp - 0xfa8], 0
call fcn.00424e10
add esp, 8
lea eax, [ebp - 0x940]
push eax
call fcn.00401f20
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.bin1025
lea eax, [ebp - 0x940]
push eax
call ebx
push str.Configlluid.ini
lea eax, [ebp - 0x940]
push eax
call ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xb48], ax
lea eax, [ebp - 0xb46]
push eax
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0x737]
push 0x103
push 0
push eax
mov byte [ebp - 0x738], 0
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
push 3
lea eax, [ebp - 0x940]
push eax
lea ecx, [ebp - 0x98]
call fcn.00403e80
mov edi, dword [ebp - 0x98]
lea edx, [ebp - 0x738]
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
mov byte [ecx + edx], al
inc ecx
test al, al
jne 0x4030b1
lea eax, [ebp - 0x94]
cmp edi, eax
je 0x4030ce
push edi
call fcn.004212f3
add esp, 4
lea eax, [ebp - 0xfa8]
push eax
lea eax, [ebp - 0xb48]
push eax
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x738]
push eax
call fcn.004089c0
test eax, eax
jne 0x40312d
mov dword [ebp - 0xfc0], eax
mov dword [ebp - 0xfbc], eax
mov dword [ebp - 0xfb8], eax
lea eax, [ebp - 0xfb4]
push eax
lea ecx, [ebp - 0xfc0]
mov byte [ebp - 4], 0x11
call fcn.00403b40
lea ecx, [ebp - 0xfc0]
call fcn.00403830
mov esi, dword [ebp - 0xfb4]
jmp 0x403446
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
push 3
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0x98]
call fcn.00403e80
cmp dword [ebp - 0xdc0], 0x10
lea eax, [ebp - 0xdd4]
cmovae eax, dword [ebp - 0xdd4]
push eax
push dword [ebp - 0x98]
call fcn.004207c7
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
sete byte [ebp - 0xfa1]
cmp eax, ecx
je 0x403192
push eax
call fcn.004212f3
add esp, 4
cmp byte [ebp - 0xfa1], 0
jne 0x403122
lea eax, [ebp - 0xfc8]
push eax
push 0x15
push 0
mov dword [ebp - 0xfc8], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x630], ax
lea eax, [ebp - 0x62e]
push eax
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0x630]
push eax
push dword [ebp - 0xfc8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push str.config.zip
lea eax, [ebp - 0x630]
push eax
call ebx
cmp dword [ebp - 0xda8], 0x10
lea eax, [ebp - 0xdbc]
cmovae eax, dword [ebp - 0xdbc]
lea ecx, [ebp - 0x114]
push 3
mov dword [ebp - 0x118], ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.00403f50
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x118]
lea edx, [ebp - 0x630]
call fcn.004085c0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
cmp eax, ecx
je 0x403255
push eax
call fcn.004212f3
add esp, 4
cmp dword [ebp - 0xd90], 0x10
lea eax, [ebp - 0xda4]
cmovae eax, dword [ebp - 0xda4]
lea ecx, [ebp - 0xf9c]
push 3
mov dword [ebp - 0xfa0], ecx
push eax
lea ecx, [ebp - 0xfa0]
call fcn.00403f50
mov byte [ebp - 4], 0x13
push dword [ebp - 0xfa0]
lea ecx, [ebp - 0xe1c]
call fcn.004036d0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0xfa0]
lea ecx, [ebp - 0xf9c]
cmp eax, ecx
je 0x4032b5
push eax
call fcn.004212f3
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0xe1c]
mov ecx, esp
mov dword [ebp - 0xfa8], esp
push eax
call fcn.004036a0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x98], eax
push 3
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x98]
call fcn.00403e80
mov byte [ebp - 4], 0x17
push dword [ebp - 0x98]
mov byte [ebp - 4], 0x18
call fcn.00408450
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
mov byte [ebp - 0xfa1], al
cmp ecx, edx
je 0x40332c
push ecx
call fcn.004212f3
mov al, byte [ebp - 0xfa1]
add esp, 4
test al, al
je 0x4033a1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00424e10
add esp, 8
lea eax, [ebp - 0x218]
push eax
call fcn.00401f20
push str.bin1025
lea eax, [ebp - 0x218]
push eax
call ebx
push str.Config_
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x630]
push eax
call fcn.004049c0
lea ecx, [ebp - 0xe1c]
mov bl, 1
call fcn.00403730
mov esi, dword [ebp - 0xfb4]
jmp 0x403448
push esi
call fcn.004212f3
add esp, 4
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0xfc0], 0
mov dword [ebp - 0xfbc], 0
mov dword [ebp - 0xfb8], 0
lea eax, [ebp - 0xfb4]
push eax
lea ecx, [ebp - 0xfc0]
mov byte [ebp - 4], 0x19
call fcn.00403b40
lea ecx, [ebp - 0xfc0]
call fcn.00403830
lea ecx, [ebp - 0xe1c]
xor bl, bl
call fcn.00403730
mov esi, dword [ebp - 0xfb4]
jmp 0x403448
mov edi, dword [ebp - 0xfb4]
mov edx, dword [ebp - 0xfb0]
xor esi, esi
mov dword [ebp - 0xfb4], esi
mov dword [ebp - 0xfb0], esi
mov dword [ebp - 0xfac], esi
test edi, edi
je 0x403446
push dword [ebp - 0xfa8]
push ecx
mov ecx, edi
call fcn.00404630
push edi
call fcn.00420618
add esp, 0xc
xor bl, bl
cmp dword [ebp - 0xdd8], 0x10
jb 0x40345f
push dword [ebp - 0xdec]
call fcn.00420618
add esp, 4
cmp dword [ebp - 0xdc0], 0x10
mov dword [ebp - 0xdd8], 0xf
mov dword [ebp - 0xddc], 0
mov byte [ebp - 0xdec], 0
jb 0x403491
push dword [ebp - 0xdd4]
call fcn.00420618
add esp, 4
cmp dword [ebp - 0xd90], 0x10
mov dword [ebp - 0xdc0], 0xf
mov dword [ebp - 0xdc4], 0
mov byte [ebp - 0xdd4], 0
jb 0x4034c3
push dword [ebp - 0xda4]
call fcn.00420618
add esp, 4
cmp dword [ebp - 0xda8], 0x10
mov dword [ebp - 0xd90], 0xf
mov dword [ebp - 0xd94], 0
mov byte [ebp - 0xda4], 0
jb 0x4034f5
push dword [ebp - 0xdbc]
call fcn.00420618
add esp, 4
mov dword [ebp - 0xda8], 0xf
mov dword [ebp - 0xdac], 0
mov byte [ebp - 0xdbc], 0
lea ecx, [ebp - 0xe98]
mov dword [ebp - method.Json::Reader.virtual_0], vtable.JsonReader.0
call fcn.00419e90
lea ecx, [ebp - 0xfe0]
mov byte [ebp - 4], 1
call fcn.00415990
mov ecx, dword [ebp - 0xd5c]
test ecx, ecx
je 0x40357c
push dword [ebp - 0xfa8]
mov edx, dword [ebp - 0xd58]
push ecx
call fcn.00404630
push dword [ebp - 0xd5c]
call fcn.00420618
add esp, 0xc
mov dword [ebp - 0xd5c], 0
mov dword [ebp - 0xd58], 0
mov dword [ebp - 0xd54], 0
cmp dword [ebp - 0xd60], 0x10
jb 0x403593
push dword [ebp - 0xd74]
call fcn.00420618
add esp, 4
cmp dword [ebp - 0xd78], 0x10
mov dword [ebp - 0xd60], 0xf
mov dword [ebp - 0xd64], 0
mov byte [ebp - 0xd74], 0
jb 0x4035c5
push dword [ebp - 0xd8c]
call fcn.00420618
add esp, 4
mov dword [ebp - 0xd78], 0xf
mov dword [ebp - 0xd7c], 0
mov byte [ebp - 0xd8c], 0
test esi, esi
je 0x403601
push dword [ebp - 0xfa8]
mov edx, dword [ebp - 0xfb0]
push ecx
mov ecx, esi
call fcn.00404630
push esi
call fcn.00420618
add esp, 0xc
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420548
mov esp, ebp
pop ebp
ret