Function at 0x4c3d40
Capabilities:
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6003
mov eax, dword fs:[0]
push eax
sub esp, 0x5b4
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x595b5c]
cmp dword [eax*4 + 0x595b60], 0
je 0x4c3d7f
jmp 0x4c46a1
cmp dword [0x595b5c], 0
jne 0x4c3dc7
push 0
push 0
push 0x16
push 0x36
mov ecx, dword [0x595ba0]
mov edx, dword [ecx]
mov ecx, dword [0x595ba0]
mov eax, dword [edx + 0x44]
call eax
mov dword [ebp - 0x580], eax
movzx ecx, byte [0x595d54]
push ecx
mov edx, dword [ebp - 0x580]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x580]
mov edx, dword [eax + 0x110]
call edx
push 0
push 0x56
push 0xc
mov ecx, 0x596118
call fcn.004bb390
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
and eax, dword [0x595d48]
mov dword [ebp - 0x34], eax
movzx ecx, byte [0x595d54]
test ecx, ecx
jne 0x4c3dfc
cmp dword [ebp - 0x34], 0
jne 0x4c3dfc
jmp 0x4c46a1
lea ecx, [ebp - 0x4f5]
call fcn.0040b800
push eax
lea ecx, [ebp - 0xa0]
call fcn.004148f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4f6]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x54]
call fcn.004148f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f7]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x80]
call fcn.004148f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4f8]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.004148f0
mov byte [ebp - 4], 3
mov ecx, 0x595c98
call fcn.00413e50
push eax
lea edx, [ebp - 0xa0]
push edx
call fcn.004c32b0
add esp, 8
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x4c3ec6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00414a10
jmp 0x4c46a1
cmp dword [0x595b5c], 0
jne 0x4c3ee5
lea eax, [ebp - 0x30]
push eax
call fcn.004c29d0
add esp, 4
mov dword [0x595d58], eax
call fcn.004c2c20
push 1
lea ecx, [ebp - 0x54]
push ecx
push 4
call fcn.004c2050
add esp, 4
mov ecx, eax
call fcn.00413950
push 0
push str._LANG_
lea ecx, [ebp - 0x50]
call fcn.0041d3b0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x4c4003
mov ecx, 0x598ebc
call fcn.00412ab0
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x4c3f67
push 1
push 0
call fcn.004e6b10
add esp, 8
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0xae
je 0x4c3f58
cmp dword [ebp - 0xb0], 0x54
jne 0x4c3f67
mov edx, dword [ebp - 0xac]
add edx, 0x32
mov dword [ebp - 0xac], edx
push 6
call fcn.004c2050
add esp, 4
mov dword [ebp - 0xa8], eax
push 1
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax + 0x28]
call edx
mov ecx, eax
call fcn.00413950
lea ecx, [ebp - 0x7c]
call fcn.00413930
movzx eax, al
test eax, eax
je 0x4c3fcf
push 1
lea ecx, [ebp - 0x80]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax + 0x28]
call edx
mov ecx, eax
call fcn.00413950
lea eax, [ebp - 0x80]
test eax, eax
je 0x4c3fe4
lea ecx, [ebp - 0x80]
add ecx, 4
mov dword [ebp - 0x584], ecx
jmp 0x4c3fee
mov dword [ebp - 0x584], 0
mov edx, dword [ebp - 0x584]
push edx
push 6
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
call fcn.0041ff40
push 0
push str._HP_
lea ecx, [ebp - 0x50]
call fcn.0041d3b0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x4c40b7
mov ecx, dword [0x595d48]
and ecx, 2
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0xb4], ecx
push 8
call fcn.004c2050
add esp, 4
mov dword [ebp - 0x588], eax
push 1
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x588]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x588]
mov eax, dword [edx + 0x28]
call eax
mov ecx, eax
call fcn.00413950
lea ecx, [ebp - 0x80]
test ecx, ecx
je 0x4c4080
lea edx, [ebp - 0x80]
add edx, 4
mov dword [ebp - 0x58c], edx
jmp 0x4c408a
mov dword [ebp - 0x58c], 0
mov eax, dword [ebp - 0x58c]
push eax
push 4
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0041ff40
cmp dword [ebp - 0xb4], 0
je 0x4c40b7
mov edx, dword [0x595d50]
or edx, 2
mov dword [0x595d50], edx
push 0
push str._DSP_
lea ecx, [ebp - 0x50]
call fcn.0041d3b0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x4c416a
mov eax, dword [0x595d48]
and eax, 1
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0xb8], eax
push 0xa
call fcn.004c2050
add esp, 4
mov dword [ebp - 0x590], eax
push 1
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x590]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x590]
mov eax, dword [edx + 0x28]
call eax
mov ecx, eax
call fcn.00413950
lea ecx, [ebp - 0x80]
test ecx, ecx
je 0x4c4133
lea edx, [ebp - 0x80]
add edx, 4
mov dword [ebp - 0x594], edx
jmp 0x4c413d
mov dword [ebp - 0x594], 0
mov eax, dword [ebp - 0x594]
push eax
push 5
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0041ff40
cmp dword [ebp - 0xb8], 0
je 0x4c416a
mov edx, dword [0x595d50]
or edx, 1
mov dword [0x595d50], edx
push 0
push str._TB_
lea ecx, [ebp - 0x50]
call fcn.0041d3b0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x4c4200
movzx eax, byte [0x595d54]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0xbc], eax
push 0x14
call fcn.004c2050
add esp, 4
mov dword [ebp - 0x598], eax
push 1
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x598]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x598]
mov eax, dword [edx + 0x28]
call eax
mov ecx, eax
call fcn.00413950
lea ecx, [ebp - 0x80]
test ecx, ecx
je 0x4c41e1
lea edx, [ebp - 0x80]
add edx, 4
mov dword [ebp - 0x59c], edx
jmp 0x4c41eb
mov dword [ebp - 0x59c], 0
mov eax, dword [ebp - 0x59c]
push eax
push 4
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0041ff40
push 1
lea edx, [ebp - 0x54]
push edx
call fcn.004c5da0
add esp, 8
push 0x10
call fcn.004c2050
add esp, 4
mov dword [ebp - 0x5a0], eax
push 0
mov eax, dword [ebp - 0x5a0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0x138]
call eax
test eax, eax
jne 0x4c4246
lea ecx, [ebp - 0x54]
push ecx
call fcn.004c3b70
add esp, 4
lea ecx, [ebp - 0x4f9]
call fcn.0040b800
push eax
lea ecx, [ebp - 0xdc]
call fcn.004148f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x9c]
call fcn.00413e50
push eax
push str.Toolbar_installation_command:___s__s_
lea edx, [ebp - 0xdc]
push edx
call fcn.00413900
add esp, 0x10
lea ecx, [ebp - 0xd8]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xdc]
call fcn.00414a10
push 0x16
call fcn.004c2050
add esp, 4
mov dword [ebp - 0x5a4], eax
push 0
mov eax, dword [ebp - 0x5a4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5a4]
mov eax, dword [edx + 0x138]
call eax
test eax, eax
jne 0x4c4390
lea ecx, [ebp - 0x54]
test ecx, ecx
je 0x4c42f7
lea edx, [ebp - 0x54]
add edx, 4
mov dword [ebp - 0x5a8], edx
jmp 0x4c4301
mov dword [ebp - 0x5a8], 0
mov eax, dword [ebp - 0x5a8]
push eax
push 0x511694
lea ecx, [ebp - 0x518]
push ecx
call fcn.00417910
add esp, 0xc
mov dword [ebp - 0x5ac], eax
mov edx, dword [ebp - 0x5ac]
mov dword [ebp - 0x5b0], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00404ea0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x518]
call fcn.00414bf0
push 0
push 0
push 0
push 0
push 0x61a8
lea ecx, [ebp - 0x9c]
call fcn.00413e50
push eax
call fcn.00485910
add esp, 0x18
call fcn.004c34c0
mov ecx, dword [0x595b5c]
mov dword [ecx*4 + 0x595b60], eax
call fcn.004c36a0
jmp 0x4c4541
mov byte [ebp - 0xdd], 0
push 2
call fcn.004c2050
add esp, 4
mov dword [ebp - 0x5b4], eax
push 0
push 1
lea edx, [ebp - 0xdd]
push edx
mov eax, dword [ebp - 0x5b4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5b4]
mov eax, dword [edx + 0x164]
call eax
movsx ecx, byte [ebp - 0xdd]
cmp ecx, 0x2a
je 0x4c450d
xor edx, edx
mov word [ebp - 0x2ec], dx
push 0x206
push 0
lea eax, [ebp - 0x2ea]
push eax
call fcn.0044aec0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x4f4], cx
push 0x206
push 0
lea edx, [ebp - 0x4f2]
push edx
call fcn.0044aec0
add esp, 0xc
lea eax, [ebp - 0x2ec]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x4f4]
push ecx
push 0
push 0x511698
lea edx, [ebp - 0x2ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x9c]
call fcn.00413e50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea eax, [ebp - 0x4f4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.0044ac48
add esp, 8
lea ecx, [ebp - 0x539]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x4f4]
push ecx
lea ecx, [ebp - 0x538]
call fcn.00414c40
mov byte [ebp - 4], 6
push 1
push 0
push 0
lea edx, [ebp - 0x538]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.0048df40
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x538]
call fcn.00414a10
push 4
push 0
lea ecx, [ebp - 0x4f4]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x55d]
call fcn.0040b800
push eax
lea edx, [ebp - 0x4f4]
push edx
lea ecx, [ebp - 0x55c]
call fcn.00414c40
mov byte [ebp - 4], 7
lea eax, [ebp - 0x55c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00415500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x55c]
call fcn.00414a10
push 5
push 0
lea ecx, [ebp - 0x50]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x9c]
call fcn.00413e50
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [0x595b5c]
mov dword [ecx*4 + 0x595b60], 1
lea ecx, [ebp - 0x5c]
call fcn.00419540
mov byte [ebp - 4], 8
cmp dword [0x595b5c], 0
jne 0x4c4599
push 0
push 0
push 0x2001f
push 0
push 0
push 0x5116a0
push SysReAllocStringLen
lea ecx, [ebp - 0x5c]
call fcn.0041d020
test eax, eax
jne 0x4c4599
push 1
lea ecx, [ebp - 0x2c]
call fcn.00413e50
push eax
push 0x5116b4
lea ecx, [ebp - 0x5c]
call fcn.0041cfc0
lea ecx, [ebp - 0x5c]
call fcn.004194d0
cmp dword [ebp - 0xa4], 3
jne 0x4c465f
push 0
push 0
push 0x2001f
push 0
push 0
push str.SoftwareConduitAppPaths_babylon.exe_
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x5c]
call fcn.0041d020
lea ecx, [ebp - 0x5c]
call fcn.0040ae10
test eax, eax
je 0x4c465f
mov edx, 0x595cb4
test edx, edx
je 0x4c45ee
mov eax, 0x595cb4
add eax, 4
mov dword [ebp - 0x5b8], eax
jmp 0x4c45f8
mov dword [ebp - 0x5b8], 0
push 0x511710
mov ecx, dword [ebp - 0x5b8]
push ecx
lea edx, [ebp - 0x57c]
push edx
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x5bc], eax
mov eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x5c0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x5c0]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00407ba0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x57c]
call fcn.00414bf0
push 1
lea ecx, [ebp - 0x50]
call fcn.00413e50
push eax
push str.AppPath
lea ecx, [ebp - 0x5c]
call fcn.0041cfc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00419520
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00414a10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret