Function at 0x4092c0
Capabilities:
Accept command line arguments
Encrypt data using rc4 ksa
Extract resource via kernel32 functions
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x436fd8
mov dword [0x437154], eax
mov dword [0x436fd8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x437268], eax
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [eax - 0x4e2]
cmp ecx, 8
ja case.default.0x40930f
jmp dword [ecx*4 + 0x4099bc]
mov ecx, 0xee
jmp 0x409350
mov dword [0x4361a0], 0xcc
jmp 0x409385
mov dword [0x4361a0], ebx
jmp 0x409385
mov ecx, 0xa1
jmp 0x409350
mov ecx, 0xa2
jmp 0x409350
mov dword [0x4361ac], 0xb1
jmp 0x409385
mov ecx, 0xb2
mov dword [0x4361a0], ecx
mov dword [0x43625c], eax
mov dword [0x436260], ecx
jmp 0x409385
mov dword [0x4361a0], 0xba
jmp 0x409385
mov dword [0x4361ac], 0xa3
jmp 0x409385
mov dword [0x4361a0], 1
mov ecx, dword [str.SoftwareGemtree_SoftwarePeter]
lea eax, [esp + 0x10]
push eax
push 1
push ebx
push ecx
push CreateStatusWindowA
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4093df
mov eax, 4
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
push str.Language
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4093f6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0xff
mov dword [esp + 0x14], eax
xor edx, edx
mov ecx, 0x4361b8
mov esi, 0x20
cmp dword [ecx], eax
je 0x409413
add ecx, esi
inc edx
cmp ecx, 0x4364b8
jl 0x409402
jmp 0x409419
mov dword [0x43619c], edx
mov ecx, dword [0x43619c]
push ecx
call fcn.004091c0
mov eax, dword [0x436fe8]
add esp, 4
cmp eax, 1
jne 0x40943f
cmp word [0x436fe4], 0x3e8
ja 0x409444
jmp 0x409469
cmp eax, 2
jne 0x409469
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x43726c], eax
je 0x409469
push str.GetDiskFreeSpaceExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x437288], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x437280], eax
call fcn.004092b0
mov eax, dword [0x436fd0]
cdq
sub eax, edx
sar eax, 1
mov dword [0x437290], eax
mov eax, dword [0x437070]
cdq
sub eax, edx
sar eax, 1
mov dword [0x4372a8], eax
call fcn.0040d2f0
test al, al
jne 0x4094ad
push 0xfd
call fcn.004099e0
add esp, 4
mov ecx, dword [0x437154]
xor edx, edx
cmp ecx, ebx
lea eax, [esp + 0x20]
setle dl
dec edx
push eax
and edx, 0x1e
add edx, 0x1e
mov dword [0x437100], edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x2a]
and eax, 0xffff
lea ecx, [eax + eax*4]
shl ecx, 6
add ecx, eax
shl ecx, 3
sub ecx, eax
mov eax, dword [esp + 0x2c]
and eax, 0xffff
mov edx, eax
shl edx, 4
add edx, eax
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x2e]
add ecx, eax
mov eax, dword [esp + 0x26]
and edx, 0xffff
and eax, 0xffff
add ecx, edx
imul eax, eax, 0x4f620aea
imul ecx, ecx, 0x76ddb
sub ecx, eax
mov dword [0x43714c], ecx
call fcn.00409ad0
mov ecx, 0x400
call fcn.0040d3a0
mov edi, eax
mov ecx, 0x100
xor eax, eax
mov dword [0x436114], edi
rep stosd dword es:[edi], eax
mov ecx, 0x400
call fcn.0040d3a0
mov edi, eax
mov ecx, 0x100
xor eax, eax
mov dword [0x436148], edi
rep stosd dword es:[edi], eax
call fcn.00405910
call fcn.00401d40
push 0x4360fc
push section..data
call fcn.00409190
mov edx, dword [0x437268]
add esp, 8
lea ecx, [esp + 0x34]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x34]
mov ecx, 0x43711c
call fcn.00407cf0
mov ecx, 0x428
call fcn.0040d3a0
mov edi, eax
mov ecx, 0x10a
xor eax, eax
mov dword [0x437118], edi
rep stosd dword es:[edi], eax
mov eax, dword [0x437118]
mov dword [eax], 0x28
mov ecx, dword [0x437118]
mov dword [ecx + 4], esi
mov edx, dword [0x437118]
mov dword [edx + 8], esi
mov eax, dword [0x437118]
mov word [eax + 0xc], 1
mov ecx, dword [0x437118]
mov word [ecx + 0xe], 8
mov edx, dword [0x437118]
mov dword [edx + 0x10], ebx
mov eax, dword [0x437118]
mov ebx, 0x433bf8
mov dword [eax + 0x24], 0xe0
mov ecx, dword [0x437118]
add ecx, 0x28
mov byte [ecx + 2], 0x95
mov byte [ecx + 1], 0x22
mov byte [ecx], 0x8c
add ecx, 4
mov byte [ecx + 2], 0x61
mov byte [ecx + 1], 0x1e
mov byte [ecx], 0x6f
add ecx, 4
mov edx, dword [ebx]
mov ebp, 0x433be4
mov dword [ecx], edx
lea esi, [ecx + 5]
mov edi, dword [ebp]
xor eax, eax
mov al, byte [ecx + 2]
add ebp, 4
imul eax, edi
cdq
and edx, 0xff
add esi, 4
add eax, edx
sar eax, 8
mov byte [esi - 3], al
xor eax, eax
mov al, byte [ecx + 1]
imul eax, edi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [esi - 4], al
xor eax, eax
mov al, byte [ecx]
imul eax, edi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [esi - 5], al
cmp ebp, 0x433bf8
jl 0x40963c
add ebx, 4
add ecx, 0x18
cmp ebx, 0x433c84
jl 0x409630
mov esi, 0xaf5
mov eax, 0x2e8ba2e9
add ecx, 4
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
sub esi, 0xff
mov byte [ecx - 2], dl
mov byte [ecx - 3], dl
mov byte [ecx - 4], dl
jns 0x4096a4
mov ecx, 0x40000
call fcn.0040d3a0
mov ecx, dword [0x437268]
push 0x436708
push 0x36
push ecx
mov dword [0x437150], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x437268]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebp, ebp
mov edi, eax
cmp esi, ebp
je 0x409707
cmp edi, ebp
jne 0x409714
push 0xfb
call fcn.004099e0
add esp, 4
mov eax, dword [0x437268]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
sub eax, 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x437150]
add eax, 6
push eax
push 0x40000
push ecx
call fcn.00409e50
add esp, 0x10
mov ecx, 0x100
call fcn.0040d3a0
mov ecx, 0x404
mov dword [0x43724c], eax
call fcn.0040d3a0
mov edi, eax
mov ecx, 0x101
xor eax, eax
mov dword [0x437278], edi
rep stosd dword es:[edi], eax
mov edx, dword [0x437278]
mov esi, 0xe0
mov word [edx], 0x300
mov eax, dword [0x437278]
mov word [eax + 2], 0xe0
mov ecx, dword [0x437278]
mov edx, dword [0x437118]
lea eax, [ecx + 4]
lea ecx, [edx + 0x28]
mov dl, byte [ecx + 2]
add ecx, 4
mov byte [eax], dl
mov dl, byte [ecx - 3]
mov byte [eax + 1], dl
mov dl, byte [ecx - 4]
mov byte [eax + 2], dl
mov byte [eax + 3], 0
add eax, 4
dec esi
jne 0x40979b
mov eax, dword [0x437278]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
mov ecx, 0x400
mov dword [0x437274], eax
call fcn.0040d3a0
mov ecx, dword [0x437118]
mov dword [0x43715c], eax
lea esi, [ecx + 0x28]
xor ecx, ecx
mov edx, dword [esi]
cmp ecx, ebp
mov dword [eax], edx
mov bl, byte [eax + 2]
mov byte [eax], bl
mov byte [eax + 2], dl
mov byte [eax + 3], 0
jne 0x409800
mov dword [eax], 0xff000000
jmp 0x409817
cmp ecx, 1
jne 0x40980d
mov dword [eax], 0x70000000
jmp 0x409817
cmp ecx, 0xe0
jl 0x409817
mov dword [eax], ebp
add eax, 4
add esi, 4
inc ecx
cmp ecx, 0x100
jl 0x4097e4
mov ecx, 0x560
call fcn.0040d3a0
mov dword [0x4370f8], eax
mov dword [eax], ebp
mov eax, dword [0x4370f8]
mov dword [eax + 4], ebp
mov ecx, dword [0x4370f8]
mov eax, 2
mov dword [ecx + 8], ebp
mov edx, dword [0x4370f8]
mov dword [esp + 0x10], eax
mov dword [edx + 0xc], 0x3ff00000
fild dword [esp + 0x10]
mov ecx, dword [0x4370f8]
inc eax
cmp eax, 0xab
mov dword [esp + 0x10], eax
fmul qword [ecx + eax*8 - 0x10]
fstp qword [ecx + eax*8 - 8]
jle 0x40985e
mov ecx, 0x100
call fcn.0040d3a0
mov dword [0x437074], eax
xor ecx, ecx
cmp ecx, 0xe0
jge 0x4098cd
cmp ecx, 2
jl 0x4098cd
lea esi, [ecx + 1]
mov ebx, 6
lea edi, [esi - 2]
mov eax, edi
cdq
idiv ebx
test edx, edx
jne 0x4098b6
cmp ecx, 0xda
jne 0x4098cd
cmp esi, 0xd4
mov eax, esi
jle 0x4098d2
cmp esi, 0xdf
jge 0x4098d2
lea eax, [edi + 3]
jmp 0x4098d2
mov eax, 0xdf
mov edx, dword [0x437074]
inc ecx
cmp ecx, 0x100
mov byte [edx + ecx - 1], al
jl 0x40988d
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
mov ecx, 0x43706c
call fcn.00407cf0
mov eax, dword [0x436190]
mov ecx, dword [0x437268]
add ecx, eax
mov eax, dword [0x436194]
cmp eax, 0x1f4
mov dword [0x437254], ecx
lea edx, [eax + ecx]
mov dword [0x437258], eax
mov dword [0x437140], ecx
mov dword [0x437144], eax
mov dword [0x437148], edx
jge 0x409942
push 0xfb
call fcn.004099e0
mov ecx, dword [0x437254]
add esp, 4
mov ecx, dword [ecx]
cmp ecx, 0x14c4552
jne 0x409955
mov byte [0x437284], 1
jmp 0x409973
cmp ecx, 0x1544550
jne 0x409966
mov byte [0x437284], 0
jmp 0x409973
push 0xfb
call fcn.004099e0
add esp, 4
call fcn.00414fd0
call fcn.0040e328
call fcn.0040a790
test al, al
jne 0x409993
push 0xfc
call fcn.004099e0
add esp, 4
cmp dword [0x4361a8], 9
je 0x4099a1
call fcn.00409240
call fcn.0041b2e0
mov eax, dword [0x437270]
push eax
call fcn.004099e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret