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

Disassembly:
push 0xffffffffffffffff
push 0x44fe12
mov eax, dword fs:[0]
push eax
sub esp, 0x804
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov eax, dword [esp + 0x82c]
mov edx, dword [0x46ecec]
mov ebp, dword [esp + 0x828]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
mov dword [esp + 0x58], str.30c755932c9a9eede85e92cf304242e9e6973c298dfdd630
mov dword [esp + 0x5c], str.1a0c49ddbe974cfc98a9e2dbb708428ac8f7f8e80d1ec931
mov dword [esp + 0x60], str.30c755932c9a9eed7ba9823c3dd8cfbee6973c298dfdd630
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x820], eax
mov dword [esp + 0x20], eax
lea esp, [esp]
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x820], 1
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x820], 2
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + ecx*4 + 0x58]
lea esi, [esp + 0x50]
call fcn.00423620
mov byte [esp + 0x820], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4153c9
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4153b8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4153b8
call fcn.00401850
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4153af
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x4153c5
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004053c0
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x820], 2
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4153f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
jne 0x415428
add ebx, 0xfffffff0
mov byte [esp + 0x820], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41541b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x820], 0
jmp 0x415879
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x38]
push eax
call edx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [esp + 0x38]
setg byte [esp + 0x2b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415462
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x2b], 0
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
je 0x41570c
mov edx, dword [edx + 8]
lea eax, [esp + 0x4c]
push eax
call edx
mov esi, eax
mov byte [esp + 0x820], 4
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x44]
push edx
call eax
push eax
lea ecx, [esp + 0x34]
push ecx
mov ebx, 0x45b448
mov byte [esp + 0x828], 5
call fcn.00408da0
lea edx, [esp + 0x44]
push esi
push edx
mov ebx, eax
mov byte [esp + 0x830], 6
call fcn.0040d0e0
mov bl, 7
mov byte [esp + 0x830], bl
mov eax, dword [eax]
push 0
mov edi, eax
lea esi, [esp + 0x5c]
call fcn.004235b0
mov byte [esp + 0x834], 8
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push str._s_s.ini
lea edi, [esp + 0x3c]
call fcn.004018c0
mov byte [esp + 0x840], bl
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
add esp, 0x20
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415521
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415549
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415571
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415599
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 2
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x60c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x404]
push edx
push 0
push 0x45e2c4
lea eax, [esp + 0x618]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp dword [esp + 0x1c], 0
je 0x4158bd
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x404]
push ecx
mov dword [esp + 0x28], 0
call edi
push 0
push 2
push 2
push 0
push 0
push 0x40000000
lea edx, [esp + 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4158bd
cmp esi, 0xffffffff
je 0x4158bd
push ecx
mov eax, esp
mov dword [esp + 0x68], esp
push eax
mov ecx, 0x45b7b0
call fcn.00404a50
mov ecx, dword [esp + 0x20]
push esi
push 1
push 0
push ecx
lea ecx, [esp + 0x38]
xor edx, edx
call fcn.0041d8e0
add esp, 0x14
push esi
test eax, eax
je 0x4158ad
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], 0
je 0x4158bd
lea edx, [esp + 0x404]
push edx
push 0x45b7b0
push 0x45e2cc
lea eax, [esp + 0x38]
push 0x45e2d4
push eax
call fcn.00414180
add esp, 0x14
mov byte [esp + 0x820], 0xb
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4157bd
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4157b0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4157b0
call fcn.00401850
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x415700
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x4157bd
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x34]
push eax
call edx
mov byte [esp + 0x820], 9
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.004049c0
mov byte [esp + 0x820], 0xa
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
push ebx
push str._s_u.ini
lea edi, [esp + 0x28]
call fcn.004018c0
mov byte [esp + 0x82c], 9
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41577f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4155c5
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004053c0
mov byte [esp + 0x820], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4157e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x7d0
or eax, ecx
jge 0x41580b
mov ecx, 0x7d0
lea eax, [esp + 0x14]
call fcn.00401680
mov ebx, dword [esp + 0x14]
mov esi, ebx
mov ecx, esi
call fcn.004234d0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004240ad
xor ebx, ebx
add esp, 8
cmp eax, ebx
jl 0x415d23
cmp eax, dword [esi - 8]
jg 0x415d23
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov byte [esp + 0x820], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
cmp dword [esi - 0xc], ebx
jg 0x415cfe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415872
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415899
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 3
jb 0x415320
jmp 0x415909
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x404]
push ecx
call edi
add ebx, 0xfffffff0
mov byte [esp + 0x820], 1
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4158e1
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [esp + 0x820], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x20]
push eax
call edx
mov esi, eax
mov byte [esp + 0x820], 0xc
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x24]
push edx
call eax
mov edi, eax
mov byte [esp + 0x820], 0xd
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x50]
push eax
call edx
mov ebx, eax
mov byte [esp + 0x820], 0xe
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x38]
push edx
call eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x820], 0xf
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x48]
push eax
call edx
mov dword [esp + 0x34], eax
mov byte [esp + 0x820], 0x10
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0x3c]
push edx
call eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x820], 0x11
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x4c], eax
mov byte [esp + 0x820], 0x12
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x44]
push edx
call eax
mov byte [esp + 0x820], 0x13
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [ebx]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
push edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [ecx]
push edx
push eax
push str.username_sagentname_sbarid_smac_swipw_sip_sos_sver_swb_s
mov edi, ebp
call fcn.004018c0
mov byte [esp + 0x848], 0x12
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
add esp, 0x28
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415a3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 0x11
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415a62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 0x10
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415a8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 0xf
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415ab2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 0xe
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415ada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 0xd
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 0xc
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push 0
lea esi, [esp + 0x30]
call fcn.004235b0
mov ecx, dword [esp + 0x58]
mov eax, dword [eax]
add esp, 4
push ecx
push eax
push str.WBInfo
push str.Share
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415b9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x820], 0x14
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push eax
push 0
call esi
push eax
push str.FBL_dX_d
lea edi, [esp + 0x30]
call fcn.004018c0
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx - 0xc]
add esp, 0xc
push eax
push ebx
push ebp
call fcn.004016d0
push 0x39c
lea ecx, [esp + 0x6c]
push 0
push ecx
call fcn.00426020
add esp, 0xc
lea ecx, [esp + 0x68]
call fcn.004148b0
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x6e]
push ecx
lea edx, [esp + 0x208]
push edx
lea eax, [esp + 0x33c]
push eax
push str.v1_sd1_sc1_s
lea edi, [esp + 0x30]
mov byte [esp + 0x830], 0x15
call fcn.004018c0
mov esi, dword [esp + 0x30]
mov eax, dword [esi - 0xc]
add esp, 0x10
push eax
push esi
push ebp
call fcn.004016d0
lea eax, [esi - 0x10]
mov byte [esp + 0x820], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x820], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415ca4
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x820], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415ccf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0042404d
add esp, 0x810
ret 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x820], bl
jmp 0x4158e9
push 0x80070057
call fcn.00401960
int3