Function at 0x4041d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x94]
mov eax, dword [edi + 0x90]
add eax, esi
mov ecx, dword [eax - 4]
test ecx, ecx
je 0x4041ac
cmp ecx, 4
jne 0x404173
mov edx, dword [eax - 8]
mov ecx, esi
sub ecx, edx
sub ecx, 8
push ecx
mov ecx, edi
call 0x4041d0
jmp 0x404191
cmp ecx, 3
jne 0x40418c
mov ecx, dword [eax - 8]
mov edx, esi
sub edx, ecx
mov ecx, edi
sub edx, 8
push edx
call 0x4041d0
jmp 0x404191
cmp ecx, 4
ja 0x4041b5
mov eax, dword [edi + 0x90]
mov ecx, 0xfffffff8
sub ecx, dword [eax + esi - 8]
add esi, ecx
mov ecx, dword [eax + esi - 4]
add eax, esi
test ecx, ecx
jne 0x40415a
pop edi
mov eax, 1
pop esi
pop ecx
ret
lea edx, [esp + 8]
push 0x4ce250
push edx
mov dword [esp + 0x10], 4
call fcn.0041fc61
nop
nop
nop
nop
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5556
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x44]
mov eax, dword [esi + 0x90]
mov dword [ebp - 0x10], esp
add eax, edx
mov dword [ebp - 0x28], esi
push eax
call fcn.0043e8d0
xor edi, edi
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], edi
call fcn.00451f10
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x78]
call fcn.00452c20
push 0x4ea948
lea ecx, [ebp + 8]
call fcn.0049d14a
push str.copyfile
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00452f60
test eax, eax
je 0x40445e
lea edx, [ebp + 8]
push str.Agent_install_is_copying_files..._r_n
push edx
call fcn.00496a65
mov eax, dword [ebp + 8]
push edi
push 2
push eax
call fcn.0040c410
push 1
call fcn.004048f0
add esp, 0x18
test eax, eax
je 0x404283
lea ecx, [ebp + 8]
push str.Set_Flags_before_copy_file...__succeeded__r_n
push ecx
jmp 0x40428c
lea edx, [ebp + 8]
push str.Set_Flags_before_copy_file...__Failed__r_n
push edx
call fcn.00496a65
mov eax, dword [ebp + 8]
add esp, 8
push edi
push 2
push eax
call fcn.0040c410
add esp, 0xc
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], edi
call fcn.00453260
push edi
lea ecx, [ebp - 0x78]
call fcn.00452f60
test eax, eax
je 0x404410
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push str.falg
inc edx
push ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
call fcn.00453440
mov eax, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x4da5c0
push eax
call fcn.0041fc9b
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0043f140
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00406800
test eax, eax
je 0x4042ae
lea ecx, [ebp - 0x3c]
push str.falg
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00453440
mov ebx, dword [eax]
lea edx, [ebp - 0x1c]
push str.targetpath
push edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00453440
mov edi, dword [eax]
lea eax, [ebp - 0x2c]
push str.sourcepath
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.00453440
mov eax, dword [eax]
push ebx
push edi
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00404970
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0043f140
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0043f140
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0043f140
mov dword [ebp - 4], 2
xor edi, edi
jmp 0x4042ae
lea ecx, [ebp - 0x78]
call fcn.00453290
lea ecx, [esi + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi + 0x78], 0x14
call fcn.0049b5e2
cmp eax, edi
je 0x40443a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
cmp eax, edi
jne 0x40443e
xor eax, eax
jmp 0x404441
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
push ecx
push edx
push 0x464
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
call dword [eax + 0x14]
push str.writeregistry
lea ecx, [ebp - 0x78]
call fcn.00452f60
test eax, eax
je 0x4046d4
lea ecx, [ebp + 8]
push str.Agent_install_is_writing_registry..._r_n
push ecx
call fcn.00496a65
mov edx, dword [ebp + 8]
push edi
push 2
push edx
call fcn.0040c410
add esp, 0x14
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], edi
call fcn.00453260
push edi
lea ecx, [ebp - 0x78]
call fcn.00452f60
test eax, eax
je 0x404686
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
inc ebx
push str.falg
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
call fcn.00453440
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0x4da5c0
push eax
call fcn.0041fc9b
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.0043f140
mov edx, dword [ebp - 0x18]
mov ecx, esi
push edx
call fcn.00406800
test eax, eax
je 0x40449b
lea eax, [ebp - 0x40]
push str.falg
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.00453440
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
push str.Value
push edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.00453440
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push str.Type
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1c], eax
call fcn.00453440
mov edx, dword [eax]
lea eax, [ebp - 0x84]
push str.Name
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2c], edx
call fcn.00453440
mov ebx, dword [eax]
lea ecx, [ebp - 0x98]
push str.SubKey
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.00453440
mov edi, dword [eax]
lea edx, [ebp - 0x24]
push str.HKEY
push edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xd
call fcn.00453440
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0x2c]
push edx
push ecx
push ebx
push edi
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.004052f0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.0043f140
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call fcn.0043f140
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.0043f140
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0043f140
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.0043f140
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.0043f140
mov dword [ebp - 4], 2
xor edi, edi
jmp 0x40449b
lea ecx, [ebp - 0x78]
call fcn.00453290
lea edx, [esi + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi + 0x78], 0xa
call fcn.0049b5e2
cmp eax, edi
je 0x4046b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
cmp eax, edi
jne 0x4046b4
xor eax, eax
jmp 0x4046b7
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
push ecx
push edx
push 0x464
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
call dword [eax + 0x14]
push 0x4da4c0
lea ecx, [ebp - 0x78]
call fcn.00452f60
test eax, eax
je 0x4048a4
lea ecx, [ebp + 8]
push str.Agent_install_is_starting_process..._r_n
push ecx
call fcn.00496a65
mov edx, dword [ebp + 8]
push edi
push 2
push edx
call fcn.0040c410
add esp, 0x14
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], edi
call fcn.00453260
mov bl, 0x11
push edi
lea ecx, [ebp - 0x78]
call fcn.00452f60
test eax, eax
je 0x404856
mov eax, dword [ebp - 0x14]
push str.falg
inc eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x18], edi
call fcn.00453440
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0x4da5c0
push eax
call fcn.0041fc9b
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.0043f140
mov edx, dword [ebp - 0x18]
mov ecx, esi
push edx
call fcn.00406800
test eax, eax
je 0x404713
lea eax, [ebp - 0x38]
push str.falg
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x10
call fcn.00453440
mov edi, dword [eax]
lea ecx, [ebp - 0x40]
push 0x4da48c
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00453440
mov eax, dword [eax]
push edi
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00404f80
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.0043f140
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.0043f140
mov dword [ebp - 4], 2
xor edi, edi
jmp 0x404713
lea ecx, [ebp - 0x78]
call fcn.00453290
lea edx, [esi + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi + 0x78], 0x14
call fcn.0049b5e2
cmp eax, edi
je 0x404880
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
cmp eax, edi
jne 0x404884
xor eax, eax
jmp 0x404887
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
push ecx
push edx
push 0x464
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
call dword [eax + 0x14]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0049d0dc
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.00451fa0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.0043f140
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4