Function at 0x4038d0
Capabilities:
Create thread
Delete file
Hide graphical window
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov dword [esp + 0x60], 0
call fcn.004533f0
mov eax, dword [esp + 0xc0]
mov dword [0x465e10], eax
call fcn.00453e60
test al, al
je 0x403909
call fcn.00453e70
test al, al
je 0x403e20
lea eax, [esp + 0x5c]
mov byte [0x465e2c], 0
lea ebx, [esp + 0x64]
xor esi, esi
xor ebp, ebp
mov dword [esp + 0xc], eax
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.00454850
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], fcn.00401510
mov dword [esp + 0xc], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00452f80
mov byte [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x3f], 0
mov dword [esp + 0x38], 0
mov dword [esp], ebx
call fcn.00453230
test al, al
jne 0x4039fd
lea eax, [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004531b0
test al, al
je 0x403b30
lea eax, [esp + 0x60]
mov dword [esp + 0xc], esi
mov dword [esp], ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
lea edi, [esi + 1]
mov dword [esp + 8], 8
mov dword [esp + 4], eax
call fcn.00450530
lea esi, [eax + esi*8]
mov ebp, eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00453460
mov dword [esi], eax
movzx eax, byte [esp + 0x34]
mov byte [esi + 4], al
mov dword [esp], ebx
mov esi, edi
call fcn.00453230
test al, al
je 0x40398d
mov dword [esp + 0x34], 0
call fcn.00452f00
mov edi, eax
lea eax, [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00453930
mov dword [esp], edi
mov ebx, eax
call fcn.00450510
test ebx, ebx
je 0x403de0
mov dword [esp + 4], 0x458040
mov dword [esp], 0x458040
call dword [sym.imp.USER32.dll_FindWindowA]
sub esp, 8
test eax, eax
je 0x403c50
mov byte [0x46504c], 1
mov dword [esp], ebx
call fcn.00453a30
test esi, esi
je 0x403a8d
lea ebx, [ebp + esi*8]
mov edi, ebp
mov esi, esi
lea edi, [edi]
movzx edx, byte [edi + 4]
mov eax, dword [edi]
add edi, 8
call fcn.00401ef0
mov eax, dword [edi - 8]
mov dword [esp], eax
call fcn.00453500
cmp ebx, edi
jne 0x403a70
mov dword [esp], ebp
call fcn.00450510
call fcn.0040d6c0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x403b0e
cmp byte [eax], 0x22
je 0x403ff9
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0x20
mov dword [esp], eax
call sub.msvcrt.dll_strchr
xor esi, esi
test eax, eax
je 0x403af3
lea esi, [eax + 1]
mov byte [eax], 0
movzx eax, byte [eax + 1]
mov ebx, dword [sym.imp.msvcrt.dll_isspace]
test al, al
jne 0x403aea
jmp 0x403af3
add esi, 1
movzx eax, byte [esi]
test al, al
je 0x403af3
mov dword [esp], eax
call ebx
test eax, eax
jne 0x403ae0
mov eax, dword [esp + 0xcc]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004037f0
cmp byte [0x46504c], 0
je 0x40424c
add esp, 0xac
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._pgpfp
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00452fb0
test al, al
jne 0x403dc0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str._restrictacl
mov dword [esp + 0xc], 0x458448
mov dword [esp + 8], str._restrict_acl
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00452fb0
test al, al
je 0x403ba0
call fcn.004546d0
jmp 0x403981
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x458464
mov dword [esp + 8], str._restrict_putty_acl
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00452fb0
test al, al
jne 0x403981
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], str._encrypted
mov dword [esp + 0x10], str._nodecrypt
mov dword [esp + 0xc], 0x4584a2
mov dword [esp + 8], str._no_decrypt
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00452fb0
test al, al
je 0x403c15
mov byte [esp + 0x34], al
jmp 0x403981
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._keylist
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00452fb0
test al, al
je 0x403e5a
mov byte [esp + 0x3f], al
jmp 0x403981
mov eax, dword [esp + 0xc4]
mov byte [0x46504c], 0
mov edx, dword [esp + 0xc0]
test eax, eax
je 0x404017
mov dword [esp + 0x28], edx
mov dword [0x465050], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x18], 0x64
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xef0000
mov dword [esp + 8], 0x458040
mov dword [esp + 4], str.MobAgentSysTray
mov dword [esp], 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
sub esp, 0x30
mov dword [0x465054], eax
mov dword [esp], eax
call fcn.00404510
call fcn.0040d4c0
mov dword [0x465020], 0x458664
mov byte [0x465024], 1
call fcn.00453e60
test al, al
jne 0x403e8e
mov edi, dword [esp + 0x38]
test edi, edi
je 0x403f08
call fcn.00413880
mov dword [esp], edi
call sub.msvcrt.dll_remove
lea eax, [esp + 0x78]
mov dword [esp + 4], 0x465020
mov dword [esp], eax
call fcn.0040d630
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 0x38], edi
mov dword [esp + 4], eax
call fcn.00415810
mov edi, eax
mov eax, dword [eax]
mov dword [esp], edi
call dword [eax + 0x18]
test eax, eax
je 0x403ef8
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 0x18]
mov edi, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp], str.Unable_to_open_AF_UNIX_socket_at__s_for_SSH_agent:_n_s
mov dword [esp + 4], edi
call fcn.0044f440
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Pageant_Error
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
sub esp, 0x10
mov eax, 1
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], 0
call fcn.00453d20
add esp, 0xac
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Pageant_Error
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_MessageBoxA]
sub esp, 0x10
mov eax, 1
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.MobAgent_Fatal_Error
mov dword [esp + 4], str.Unable_to_access_security_APIs._MobAgent_will_nnot_run__in_case_it_causes_a_security_breach.
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
sub esp, 0x10
mov eax, 1
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._validateeachrequest
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00452fb0
test al, al
je 0x40407a
mov byte [0x465e2c], 1
jmp 0x403981
lea eax, [esp + 0x78]
mov dword [esp + 4], 0x465020
mov dword [esp], eax
call fcn.0040d630
mov dword [esp + 0x48], eax
call fcn.00452f30
mov edi, eax
mov eax, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00416560
mov edx, eax
mov eax, dword [eax]
mov dword [esp + 0x44], edx
mov dword [esp], edx
call dword [eax + 0x18]
test eax, eax
mov edx, dword [esp + 0x44]
je 0x404127
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 0x18]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], str.Unable_to_open_named_pipe_at__s_for_SSH_agent:_n_s
call fcn.0044f440
jmp 0x403d82
mov eax, dword [esp + 0x44]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0040d680
mov edi, dword [esp + 0xc4]
test edi, edi
je 0x4040df
mov dword [esp], 0x465028
mov dword [0x465028], 0x45866c
mov byte [0x465030], 1
call fcn.0040cc50
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x10
mov dword [0x465e00], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x10
mov dword [0x465e04], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x4018e0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
test eax, eax
je 0x403fd7
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [0x465e00]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4018b0
mov dword [esp], eax
call fcn.00404850
jmp 0x403a55
add dword [esp + 0x34], 1
mov dword [esp + 4], 0x22
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
jmp 0x403abf
mov eax, dword [esp + 0xc4]
lea edi, [esp + 0x78]
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [esp + 0x88], edx
mov dword [esp], edx
mov dword [esp + 0x7c], 0x402740
mov dword [esp + 4], 0xc8
call dword [sym.imp.USER32.dll_LoadIconA]
sub esp, 8
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x9c], str.MobAgentSysTray
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
sub esp, 4
mov edx, dword [esp + 0xc0]
jmp 0x403c6d
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.__validateeachrequest
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00452fb0
test al, al
jne 0x403e82
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4584ee
mov dword [esp + 8], str._openssh_config
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00452fb0
test al, al
je 0x4041fe
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
jmp 0x403981
mov eax, dword [esp + 0xc4]
lea edi, [esp + 0x78]
mov ecx, 9
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x7c], 0x403420
mov dword [esp + 0x9c], 0x458040
mov dword [esp + 0x88], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
sub esp, 4
jmp 0x403f17
mov eax, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040d680
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4041f1
mov dword [esp + 4], 0x458582
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
mov dword [esp + 0x44], eax
je 0x404233
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 0xf
mov dword [esp + 4], 1
mov dword [esp], str.IdentityAgent__
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
movsx eax, byte [edi]
test al, al
je 0x4041c1
mov edx, edi
mov ecx, 0x2f
cmp al, 0x5c
mov byte [esp + 0x48], cl
mov dword [esp + 0x4c], edx
cmove eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_fputc
mov edx, dword [esp + 0x4c]
movsx ecx, byte [esp + 0x48]
add edx, 1
movsx eax, byte [edx]
test al, al
jne 0x404191
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x4585be
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [esp], edi
call fcn.00450510
jmp 0x403d0b
lea eax, [esp + 0x78]
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._unix
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00452fb0
test al, al
je 0x40441e
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], eax
jmp 0x403981
mov eax, dword [esp + 0x40]
mov dword [esp], str.Unable_to_write_OpenSSH_config_file_to__s
mov dword [esp + 4], eax
call fcn.0044f440
jmp 0x403d82
mov eax, dword [0x465054]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push ecx
cmp byte [esp + 0x3f], 0
je 0x404279
cmp dword [0x465050], 0
jne 0x404279
call fcn.004021e0
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
call fcn.004049f0
mov esi, eax
call fcn.00404800
xor eax, 1
mov dword [esp + 0x10], 0x4ff
mov dword [esp + 8], 0
movzx eax, al
mov dword [esp + 4], esi
neg eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x100]
mov dword [esp], eax
call edi
sub esp, 0x14
cmp eax, dword [esi + 0x100]
jae 0x4042d9
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00404ab0
mov dword [esp], esi
call fcn.00404b20
mov esi, dword [sym.imp.USER32.dll_IsDialogMessageA]
jmp 0x40439c
cmp dword [esp + 0x7c], 0x12
je 0x4043da
mov eax, dword [0x465050]
mov dword [esp], eax
call ebx
sub esp, 4
test eax, eax
je 0x404324
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [0x465050]
mov dword [esp], eax
call esi
test eax, eax
push edx
push edx
jne 0x40439c
mov dword [esp], 0
call ebx
sub esp, 4
test eax, eax
je 0x40434f
lea eax, [esp + 0x78]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
push ecx
push ecx
jne 0x40439c
mov eax, dword [0x465040]
mov dword [esp], eax
call ebx
sub esp, 4
test eax, eax
je 0x40437c
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [0x465040]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
push edx
push edx
jne 0x40439c
lea eax, [esp + 0x78]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_TranslateMessage]
sub esp, 4
lea eax, [esp + 0x78]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
sub esp, 4
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebp
sub esp, 0x14
test eax, eax
jne 0x4042f0
call fcn.004047a0
jmp 0x40428b
mov eax, dword [0x465048]
test eax, eax
je 0x4043eb
mov dword [esp], eax
call fcn.00453e50
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40440f
mov dword [esp + 4], 0x458582
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
je 0x40440f
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004038b0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x458514
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00452fb0
test al, al
je 0x404468
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x68]
mov dword [esp + 0x34], 0x458098
jge 0x403a05
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x34], eax
jmp 0x403a05
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + edx*4]
mov dword [esp], str.unrecognised_option__s_n
mov dword [esp + 4], eax
call fcn.00401510
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop