Function at 0x402d50
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42be77
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x25e]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x402
push eax
call edi
mov eax, dword [esi + 0x13a]
mov ecx, dword [esi + 0x25e]
and eax, 0xffff
shl eax, 0x10
push eax
push ebx
push 0x401
push ecx
call edi
mov edx, dword [esi + 0x25e]
push ebx
push 1
push 0x404
push edx
call edi
cmp dword [esi + 0x13a], ebx
je 0x403017
mov eax, dword [esi + 0x132]
lea edx, [esi + 0x12e]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
cmp ecx, ebx
mov dword [edx + 4], ecx
je 0x402de1
mov dword [ecx + 4], ebx
jmp 0x402de4
mov dword [edx + 8], ebx
push eax
mov ecx, edx
call fcn.004050c0
mov eax, dword [0x4388b0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x24], eax
lea eax, [edi + 0x1c]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0xc0], 1
call fcn.0042151e
lea ecx, [edi + 4]
push edi
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00421614
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc0], 2
call fcn.0042151e
lea ecx, [esp + 0x10]
mov byte [esp + 0xbc], 1
call fcn.004213e5
push 0x438300
lea ecx, [esp + 0x24]
call fcn.00421453
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 3
call fcn.00421774
push 0x4382f8
lea ecx, [esp + 0x24]
call fcn.0042174d
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x1e6]
push eax
call fcn.00401170
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x402efb
push ebx
lea eax, [esp + 0x18]
push ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [edi + 0x18]
call fcn.0042156e
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi + 0x16e]
lea ebp, [esi + 0x166]
push ebx
push eax
mov ecx, ebp
call fcn.00405050
mov dword [eax + 8], edi
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x402fba
mov dword [ecx], eax
jmp 0x402fbd
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [edi + 0x10]
push 0x4382f4
push eax
call fcn.0040d141
add esp, 8
test eax, eax
jne 0x402fa7
mov edx, dword [esp + 0x1c]
xor bl, bl
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x28], ebp
je 0x402f83
push str.DllRegisterServer
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402f78
call eax
test eax, eax
jne 0x402f78
lea ebp, [esi + 0x19e]
push eax
mov ecx, ebp
mov bl, 1
mov eax, dword [ebp + 8]
push eax
call fcn.00405050
mov dword [eax + 8], edi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x402f6e
mov dword [ecx], eax
jmp 0x402f71
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov ebp, dword [esp + 0x28]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x402fc0
mov ecx, dword [esi + 0x18a]
lea ebp, [esi + 0x182]
push 0
push ecx
mov ecx, ebp
call fcn.00405050
mov dword [eax + 8], edi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x402fba
mov dword [ecx], eax
jmp 0x402fbd
mov edx, dword [esi + 0x1a6]
lea ebp, [esi + 0x19e]
push ebx
push edx
jmp 0x402edf
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x25e]
xor ebx, ebx
push ebx
push ebx
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 1
call fcn.004213e5
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], bl
call fcn.004213e5
lea ecx, [esp + 0x1c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004213e5
cmp dword [esi + 0x13a], ebx
jne 0x402dc4
mov edx, dword [esi + 0x1e6]
lea ecx, [esi + 0x1e6]
call dword [edx + 0x58]
lea ecx, [esp + 0x2c]
call fcn.004218c9
mov eax, dword [0x4388b0]
mov dword [esp + 0xbc], 4
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1aa]
mov byte [esp + 0xbc], 5
cmp eax, ebx
je 0x40313c
push ebx
push 0x5001
push str.component.lst
lea ecx, [esp + 0x38]
call fcn.0042193e
test eax, eax
je 0x40313c
mov eax, dword [esi + 0x1c6]
mov edi, dword [esi + 0x1be]
xor ebp, ebp
cmp eax, ebx
jle 0x4030d4
mov eax, edi
mov edi, dword [edi]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push str.___s____s____s____s____s____s_n
push eax
call fcn.0041bb64
mov eax, dword [esp + 0x38]
add esp, 0x20
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00421a7e
mov eax, dword [esi + 0x1c6]
inc ebp
cmp ebp, eax
jl 0x403087
mov eax, dword [esi + 0x1aa]
mov edi, dword [esi + 0x1a2]
xor ebp, ebp
cmp eax, ebx
jle 0x403133
mov eax, edi
mov edi, dword [edi]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push str.___s____s____s____s____s____s_n
push eax
call fcn.0041bb64
mov eax, dword [esp + 0x38]
add esp, 0x20
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00421a7e
mov eax, dword [esi + 0x1aa]
inc ebp
cmp ebp, eax
jl 0x4030e6
lea ecx, [esp + 0x2c]
call fcn.00421c6e
cmp dword [esi + 0x1c6], ebx
je 0x403261
mov bl, 6
mov eax, dword [esi + 0x1be]
xor ebp, ebp
mov ecx, dword [eax]
mov edi, dword [eax + 8]
cmp ecx, ebp
mov dword [esi + 0x1be], ecx
je 0x403166
mov dword [ecx + 4], ebp
jmp 0x40316c
mov dword [esi + 0x1c2], ebp
mov ecx, dword [esi + 0x1ca]
mov dword [eax], ecx
mov dword [esi + 0x1ca], eax
mov eax, dword [esi + 0x1c6]
dec eax
mov dword [esi + 0x1c6], eax
jne 0x4031c2
mov eax, dword [esi + 0x1be]
cmp eax, ebp
je 0x403199
mov eax, dword [eax]
cmp eax, ebp
jne 0x403193
mov ecx, dword [esi + 0x1ce]
mov dword [esi + 0x1c6], ebp
mov dword [esi + 0x1ca], ebp
mov dword [esi + 0x1c2], ebp
mov dword [esi + 0x1be], ebp
call fcn.0041c060
mov dword [esi + 0x1ce], ebp
cmp edi, ebp
mov dword [esp + 0x28], edi
je 0x403255
lea ecx, [edi + 0x1c]
mov byte [esp + 0xbc], 0xc
call fcn.004213e5
lea ecx, [edi + 0x18]
mov byte [esp + 0xbc], 0xb
call fcn.004213e5
lea ecx, [edi + 0x14]
mov byte [esp + 0xbc], 0xa
call fcn.004213e5
lea ecx, [edi + 0x10]
mov byte [esp + 0xbc], 9
call fcn.004213e5
lea ecx, [edi + 0xc]
mov byte [esp + 0xbc], 8
call fcn.004213e5
lea ecx, [edi + 8]
mov byte [esp + 0xbc], 7
call fcn.004213e5
lea ecx, [edi + 4]
mov byte [esp + 0xbc], bl
call fcn.004213e5
mov ecx, edi
mov byte [esp + 0xbc], 5
call fcn.004213e5
push edi
call fcn.0042008b
add esp, 4
cmp dword [esi + 0x1c6], ebp
jne 0x40314a
mov eax, dword [esi + 0x156]
test eax, eax
jne 0x403283
mov eax, dword [esi + 0x172]
test eax, eax
jne 0x403283
mov eax, dword [esi + 0x18e]
test eax, eax
jne 0x403283
xor edi, edi
jmp 0x403288
mov edi, 1
mov ecx, esi
call fcn.00403480
test edi, edi
je 0x4033df
lea ecx, [esp + 0x40]
call fcn.004218c9
push 0
push 0x4000
push str.update.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 0xd
call fcn.0042193e
test eax, eax
je 0x4033ce
mov edx, dword [0x4388b0]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0xc0], 0xe
call fcn.00421b21
lea ecx, [esp + 0x40]
call fcn.00421c6e
lea ecx, [esp + 0x10]
call fcn.0041bc58
lea ecx, [esp + 0x10]
call fcn.0041bc0c
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4033bd
push 0
lea ecx, [esp + 0x58]
call fcn.004011b0
mov bl, 0xf
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], bl
call fcn.004205cf
mov eax, dword [esp + 0xb0]
cmp eax, 1
jne 0x403351
push eax
push 0
push 0
push str.autoupdate.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4033ac
cmp eax, 2
jne 0x4033ac
mov edx, dword [0x4388b0]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
push 0x438294
push eax
lea ecx, [esp + 0x1c]
push str.mailto:_s_subject_sbody
push ecx
mov byte [esp + 0xcc], 0x10
call fcn.0041bb64
mov edx, dword [esp + 0x24]
add esp, 0x10
push 1
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
mov byte [esp + 0xbc], bl
call fcn.004213e5
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 0xe
call fcn.00420210
lea ecx, [esp + 0x10]
mov byte [esp + 0xbc], 0xd
call fcn.004213e5
lea ecx, [esp + 0x40]
mov byte [esp + 0xbc], 5
call fcn.004218fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 4
call fcn.004213e5
lea ecx, [esp + 0x2c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004218fb
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret