Function at 0x4034b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1078
call fcn.0049d2f0
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call fcn.004096a0
test eax, eax
je 0x403720
cmp eax, 3
je 0x403720
cmp eax, 2
je 0x403753
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x403990
add eax, 1
mov dword [esp + 4], 0x5c
mov dword [esp], eax
mov dword [esp + 0x34], eax
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x403528
add eax, 1
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x34], edi
je 0x4039ac
lea eax, [esp + 0x58]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004091c0
test eax, eax
mov dword [esp + 0x30], eax
je 0x403ae0
mov eax, dword [esp + 0x58]
test eax, eax
js 0x4039d1
cmp byte [0x4c2096], 0
je 0x4035aa
cmp byte [0x4c208d], 0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
je 0x4038b0
mov dword [0x4c2050], eax
mov dword [0x4c204c], edx
mov byte [0x4c2048], 1
cmp byte [0x49f00b], 0
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
je 0x40360a
test ebx, ebx
mov dword [esp], 2
js 0x403b20
call dword [0x49f154]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x34]
and ebx, 0xfff
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], str.Sending_file__s__size_I64u__permissions_04o
mov dword [esp], eax
mov dword [esp + 8], edi
call fcn.00401710
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], eax
call fcn.00402d30
test eax, eax
jne 0x4038bd
mov dword [esp], 0
call sub.msvcrt.dll_time
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov edi, eax
or edi, edx
je 0x4036ff
lea ebp, [esp + 0x70]
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
xor esi, esi
xor edi, edi
lea esi, [esi]
mov ecx, esi
mov ebx, edi
add ecx, 0x1000
adc ebx, 0
mov dword [esp + 0x20], ecx
cmp ebx, eax
mov dword [esp + 0x24], ebx
jb 0x4038d4
ja 0x403697
cmp ecx, edx
jbe 0x4038d4
mov eax, dword [esp + 0x20]
sub eax, 0x1000
sub edx, eax
mov ebx, edx
mov eax, dword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00409330
cmp ebx, eax
jne 0x403c1c
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.00402f20
test eax, eax
jne 0x403c62
cmp byte [0x49f00a], 0
jne 0x4038e0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp edi, eax
jb 0x403670
jbe 0x403980
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00409380
call fcn.00403070
add esp, 0x107c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 3
mov edx, str.Not_a
mov eax, str.No_such
cmove eax, edx
mov dword [esp], str._s:__s_file_or_directory
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00402c60
add esp, 0x107c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [0x4c2097], 0
je 0x403b00
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
test eax, eax
mov ebx, eax
je 0x403b60
add eax, 1
mov edi, 0x4a0509
mov ecx, 2
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta dl
sbb dl, 0
test dl, dl
je 0x403748
mov esi, eax
mov edi, 0x4a050b
mov ecx, 3
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x403748
test ebx, ebx
je 0x403bab
add ebx, 1
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x4037d2
lea ebx, [eax + 1]
cmp dword [esp + 0x2c], ebx
je 0x403bcb
cmp byte [0x4c208d], 0
mov esi, 0
cmovne esi, dword [0x4c2060]
cmp byte [0x49f00b], 0
jne 0x403b85
mov dword [esp + 4], 0x1ed
mov dword [esp], ebx
call fcn.00403280
test eax, eax
jne 0x403748
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004096d0
test eax, eax
mov edi, eax
je 0x403c30
mov dword [esp + 0x20], esi
mov ebp, dword [esp + 0x2c]
jmp 0x403873
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4a0438
mov dword [esp], ebp
call fcn.00491e00
mov esi, eax
call fcn.004034b0
mov dword [esp], esi
call fcn.00493420
mov dword [esp], ebx
call fcn.00493420
mov dword [esp], edi
call fcn.00409780
test eax, eax
mov ebx, eax
jne 0x403840
mov dword [esp], edi
mov esi, dword [esp + 0x20]
call fcn.00409830
call fcn.00403460
cmp byte [0x4c208d], 0
je 0x403748
mov dword [0x4c2060], esi
jmp 0x403748
call fcn.00402700
test eax, eax
je 0x4035aa
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00409380
add esp, 0x107c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 0x1000
jmp 0x4036a4
mov ecx, ebx
mov dword [esp], 0
sar ebx, 0x1f
add dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
adc dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
call sub.msvcrt.dll_time
cmp eax, dword [esp + 0x48]
jne 0x40392b
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
add esi, ecx
adc edi, ebx
mov ecx, esi
mov ebx, edi
xor ecx, edx
xor ebx, eax
or ebx, ecx
jne 0x4036e9
mov dword [esp], 0
call sub.msvcrt.dll_time
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x34]
mov dword [esp], eax
mov eax, str.SCP_Upload
call fcn.00402490
jmp 0x4036e1
cmp esi, edx
jb 0x403670
jmp 0x4036ff
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
test eax, eax
jne 0x403521
mov edi, dword [esp + 0x2c]
mov dword [esp + 4], 0x3a
mov dword [esp], edi
call sub.msvcrt.dll_strchr
lea edx, [eax + 1]
test eax, eax
cmove edx, edi
mov dword [esp + 0x34], edx
jmp 0x403536
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0
mov dword [esp + 4], str.SoftwareMobaXtermMoTTYScpOpenFiles
mov dword [esp], 0x80000001
mov dword [esp + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
sub esp, 0xc
test eax, eax
jne 0x40357a
mov eax, dword [esp + 0x2c]
lea ebp, [esp + 0x70]
lea ebx, [esp + 0x64]
lea esi, [esp + 0x60]
mov dword [esp + 0x70], 4
mov dword [esp + 8], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp], eax
call edi
sub esp, 0x18
test eax, eax
jne 0x403a52
cmp dword [esp + 0x70], 4
je 0x403bec
mov eax, dword [esp + 0x2c]
mov dword [esp], 0x4a0088
mov dword [esp + 4], eax
call fcn.00491fc0
mov dword [esp + 8], str.RemoteFiles_
mov dword [esp + 4], str.RemoteFiles_tmp_
mov dword [esp], eax
call fcn.00498200
mov dword [esp + 4], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp], eax
call edi
sub esp, 0x18
test eax, eax
mov edx, dword [esp + 0x20]
jne 0x403ab9
cmp dword [esp + 0x70], 4
je 0x403c04
mov dword [esp], edx
call fcn.00493420
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
jmp 0x40357a
mov eax, dword [esp + 0x2c]
mov dword [esp], str._s:_Cannot_open_file
mov dword [esp + 4], eax
call fcn.00402c60
jmp 0x403748
mov eax, dword [esp + 0x2c]
mov dword [esp], str._s:_not_a_regular_file
mov dword [esp + 4], eax
call fcn.00402c60
jmp 0x403748
call dword [0x49f154]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0xc], esi
mov dword [esp + 4], str.Sending_file__s__size_I64u
mov dword [esp], eax
mov dword [esp + 8], edi
call fcn.00401710
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
jmp 0x40360a
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
test eax, eax
jne 0x40377e
mov eax, dword [esp + 0x2c]
jmp 0x403781
mov dword [esp], 2
call dword [0x49f154]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Entering_directory:__s
mov dword [esp], eax
call fcn.00401710
jmp 0x4037fc
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
test eax, eax
mov ebx, dword [esp + 0x2c]
jne 0x4037cf
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x3a
mov dword [esp], eax
call sub.msvcrt.dll_strchr
lea edx, [eax + 1]
test eax, eax
cmovne ebx, edx
jmp 0x4037dc
cmp dword [esp + 0x60], 4
jne 0x403a52
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], eax
jmp 0x403ac1
cmp dword [esp + 0x60], 4
jne 0x403ab9
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], eax
jmp 0x403ab9
mov eax, dword [esp + 0x2c]
mov dword [esp], str._s:_Read_error
mov dword [esp + 4], eax
call fcn.00401870
mov ebx, dword [esp + 0x70]
mov dword [esp], 2
call dword [0x49f154]
mov edi, dword [esp + 0x2c]
mov dword [esp + 4], str.Error_opening_directory__s:__s
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], edi
call fcn.00401710
jmp 0x40388d
mov eax, dword [esp + 0x2c]
mov dword [esp], str._s:_Network_error_occurred
mov dword [esp + 4], eax
call fcn.00401870
lea esi, [esi]
lea edi, [edi]