Function at 0x42fa46
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
and word [ebp - 0x268], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, 0x208
push ebx
mov esi, eax
lea eax, [ebp - 0x266]
push 0
push eax
call fcn.00451720
and word [ebp - 0x478], 0
add esp, 0xc
push ebx
lea eax, [ebp - 0x476]
push 0
push eax
call fcn.00451720
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
add esp, 0xc
push eax
call fcn.00453e61
pop ecx
lea eax, [ebp - 0x48]
push eax
call fcn.004547d7
pop ecx
mov ebx, eax
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [eax*4 + 0x477a18]
call fcn.0045190a
test eax, eax
pop ecx
pop ecx
je 0x42facb
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x5c
jl 0x42faaa
cmp dword [ebp - 4], 0x5c
jne 0x42fb30
push 0x4716fc
lea esi, [ebp - 0x1c]
call fcn.00410005
and dword [ebp - 0xc], 0
lea eax, [ebp + 8]
mov ecx, esi
call fcn.0041021c
lea eax, [ebp - 4]
push eax
xor ecx, ecx
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x1c]
call fcn.0040fdf0
cmp dword [ebp - 4], 0
jne 0x42fb21
xor esi, esi
inc esi
push dword [ebp - 0x1c]
call fcn.0044f971
pop ecx
push dword [ebp + 8]
call fcn.0044f971
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
call fcn.00412791
xor esi, esi
jmp 0x42fb06
cmp dword [ebp - 4], 0x5b
ja case.default.0x42fb3d
mov eax, dword [ebp - 4]
jmp dword [eax*4 + 0x43036e]
push 0x471754
call fcn.00412a0a
jmp case.default.0x42fb3d
push 0x46c758
jmp 0x42fb49
push 0x46d1e0
jmp 0x42fb49
push 0x471758
jmp 0x42fb49
lea eax, [esi + 0x320]
call fcn.0041c947
push dword [eax + 0x14]
jmp 0x430226
lea eax, [esi + 0x320]
call fcn.0041c947
push dword [eax + 0x1c]
jmp 0x430226
push dword [ebx]
push 0x47175c
lea eax, [ebp - 0x268]
push eax
call fcn.00451a26
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
jmp 0x42fb49
push dword [ebx + 4]
jmp 0x42fb90
push dword [ebx + 8]
jmp 0x42fb90
push dword [ebx + 0xc]
jmp 0x42fb90
mov eax, dword [ebx + 0x10]
inc eax
push eax
jmp 0x42fb90
mov eax, dword [ebx + 0x14]
add eax, 0x76c
push eax
jmp 0x430226
mov eax, dword [ebx + 0x18]
inc eax
jmp 0x42fbcb
mov eax, dword [ebx + 0x1c]
inc eax
push eax
push str._.3d
jmp 0x42fb95
push 0x104
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
lea esi, [ebp - 0x268]
call fcn.0040d8a2
add esp, 0x10
jmp 0x42fba4
push 0x104
push str.CommonFilesDir
jmp 0x42fbed
push 0x104
push str.Personal
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
lea esi, [ebp - 0x268]
call fcn.0040d8a2
add esp, 0x10
lea esi, [ebp - 0x268]
call fcn.0040df68
jmp 0x42fba4
push 0x104
push str.Common_AppData
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
jmp 0x42fbf2
mov ebx, 0x104
push ebx
push str.Common_Desktop
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push 0x80000002
lea esi, [ebp - 0x268]
call fcn.0040d8a2
add esp, 0x10
cmp word [ebp - 0x268], 0
jne 0x42fc9e
push ebx
push str.Desktop
push edi
push 0x80000001
lea esi, [ebp - 0x268]
call fcn.0040d8a2
add esp, 0x10
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x268]
push eax
jmp 0x42fb49
push 0x104
push str.Common_Documents
jmp 0x42fc4f
mov ebx, 0x104
push ebx
push str.Common_Favorites
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push 0x80000002
lea esi, [ebp - 0x268]
call fcn.0040d8a2
add esp, 0x10
cmp word [ebp - 0x268], 0
jne 0x42fc9e
push ebx
push str.Favorites
jmp 0x42fc8a
mov ebx, 0x104
push ebx
push str.Common_Programs
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push 0x80000002
lea esi, [ebp - 0x268]
call fcn.0040d8a2
add esp, 0x10
cmp word [ebp - 0x268], 0
jne 0x42fc9e
push ebx
push str.Programs
jmp 0x42fc8a
mov ebx, 0x104
push ebx
push str.Common_Start_Menu
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push 0x80000002
lea esi, [ebp - 0x268]
call fcn.0040d8a2
add esp, 0x10
cmp word [ebp - 0x268], 0
jne 0x42fc9e
push ebx
push str.Start_Menu
jmp 0x42fc8a
mov ebx, 0x104
push ebx
push str.Common_Startup
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push edi
push 0x80000002
lea esi, [ebp - 0x268]
call fcn.0040d8a2
add esp, 0x10
cmp word [ebp - 0x268], 0
jne 0x42fc9e
push ebx
push str.Startup
jmp 0x42fc8a
push 0x104
push str.AppData
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
jmp 0x42fbf7
push 0x104
push str.Desktop
jmp 0x42fdac
push 0x104
push str.Favorites
jmp 0x42fdac
push 0x104
push str.Programs
jmp 0x42fdac
push 0x104
push str.Start_Menu
jmp 0x42fdac
push 0x104
push str.Startup
jmp 0x42fdac
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 8], 0x104
call dword [0x46723c]
jmp 0x42fba4
push 0x104
lea eax, [ebp - 0x268]
push eax
call dword [0x467240]
jmp 0x42fba4
push 0x104
lea eax, [ebp - 0x268]
push eax
call dword [0x467244]
jmp 0x42fba4
push 6
jmp 0x430226
push 3
jmp 0x430226
push 9
jmp 0x430226
push 5
jmp 0x430226
push 0xa
jmp 0x430226
push 2
jmp 0x430226
push 7
jmp 0x430226
push 8
jmp 0x430226
push 4
jmp 0x430226
push 1
jmp 0x430226
xor eax, eax
inc eax
cmp byte [0x4795be], al
mov esi, edi
jne 0x42fe9b
push eax
jmp 0x430228
push 0
jmp 0x430228
xor eax, eax
inc eax
cmp byte [0x48aaf9], al
jmp 0x42fe91
push 0x40
jmp 0x430226
push 0x41
jmp 0x430226
push 0x42
jmp 0x430226
push 0x43
jmp 0x430226
push dword [esi + 0x260]
jmp 0x42fb49
push dword [esi + 0x254]
jmp 0x42fb49
push dword [esi + 0x26c]
jmp 0x42fb49
mov ecx, dword [esi + 0x284]
call fcn.0040850b
jmp 0x42fbcb
lea eax, [ebp - 0x268]
push eax
push 0x104
call dword [0x467304]
jmp 0x42fba4
mov eax, dword [0x48a304]
mov ecx, eax
dec ecx
je 0x42ff42
dec ecx
je 0x42ff38
dec ecx
je 0x42ff2e
neg eax
push eax
push str.UNKN_d
jmp 0x42fb95
push 0x471a14
jmp 0x42fb49
push str.IA64
jmp 0x42fb49
push 0x471a00
jmp 0x42fb49
cmp byte [0x48a2ec], 1
jne 0x42ff5f
push str.WIN32_NT
jmp 0x42fb49
push str.WIN32_WINDOWS
jmp 0x42fb49
xor eax, eax
inc eax
cmp byte [0x48a2ec], al
jne 0x42ffd8
cmp byte [0x48a2f2], al
jne 0x42ff86
push str.WIN_2008
jmp 0x42fb49
cmp byte [0x48a2f8], al
jne 0x42ff98
push str.WIN_VISTA
jmp 0x42fb49
cmp byte [0x48a2f6], al
jne 0x42ffaa
push str.WIN_2003
jmp 0x42fb49
cmp byte [0x48a2f0], al
jne 0x42ffbc
push str.WIN_XP
jmp 0x42fb49
cmp byte [0x48a2f4], al
jne 0x42ffce
push str.WIN_2000
jmp 0x42fb49
push str.WIN_NT4
jmp 0x42fb49
cmp byte [0x48a2fc], al
jne 0x42ffea
push str.WIN_95
jmp 0x42fb49
cmp byte [0x48a2fa], al
jne 0x42fffc
push str.WIN_98
jmp 0x42fb49
push str.WIN_ME
jmp 0x42fb49
push dword [0x48a0e8]
jmp 0x430226
push 0x48a0ec
jmp 0x42fb49
xor eax, eax
inc eax
cmp byte [0x48a2ec], al
push 0x104
lea esi, [ebp - 0x268]
jne 0x430054
cmp byte [0x48a2f5], al
jne 0x430040
push str.InstallLanguage
jmp 0x430045
push str.Default
push str.SYSTEMCurrentControlSetControlNlsLanguage
push 0x80000002
jmp 0x42fbfd
push 0x46bf80
push str..DEFAULTControl_PanelDesktopResourceLocale
push 0x80000003
call fcn.0040d8a2
add esp, 0x10
lea eax, [ebp - 0x260]
jmp 0x42fbaa
lea eax, [ebp - 0x20]
push eax
call dword [0x4675ac]
lea eax, [ebp - 0x20]
jmp 0x42fbaa
lea eax, [ebp - 0x478]
push str.3__2__12__0
push eax
call fcn.0044f88d
lea eax, [ebp - 0x478]
push eax
xor esi, esi
xor ebx, ebx
call fcn.0045179a
add esp, 0xc
test eax, eax
jle 0x4300eb
movzx eax, word [ebp + ebx*2 - 0x478]
cmp ax, 0x20
je 0x4300d9
cmp ax, 0x2c
jne 0x4300d0
mov word [ebp + esi*2 - 0x478], 0x2e
jmp 0x4300d8
mov word [ebp + esi*2 - 0x478], ax
inc esi
lea eax, [ebp - 0x478]
push eax
inc ebx
call fcn.0045179a
cmp ebx, eax
pop ecx
jl 0x4300b0
and word [ebp + esi*2 - 0x478], 0
lea eax, [ebp - 0x478]
jmp 0x42fbaa
push 0x104
lea eax, [ebp - 0x268]
push eax
push 0
call dword [0x4672ec]
jmp 0x42fba4
lea eax, [ebp - 0x40]
push eax
xor eax, eax
inc eax
call fcn.0040ee5d
pop ecx
lea eax, [ebp - 0x40]
jmp 0x42fbaa
lea eax, [ebp - 0x40]
push eax
push 2
pop eax
jmp 0x43011f
lea eax, [ebp - 0x40]
push eax
push 3
jmp 0x430133
lea eax, [ebp - 0x40]
push eax
push 4
jmp 0x430133
lea eax, [ebp - 0x58]
push eax
call dword [0x467540]
push eax
call dword [0x4675c8]
push dword [ebp - 0x50]
jmp 0x430226
lea eax, [ebp - 0x58]
push eax
call dword [0x467540]
push eax
call dword [0x4675c8]
push dword [ebp - 0x4c]
jmp 0x430226
call dword [0x467540]
mov ebx, eax
push ebx
call dword [0x467500]
push 0xc
push eax
mov dword [ebp + 0x14], eax
call dword [0x4670f8]
push eax
mov esi, edi
call fcn.00412945
push dword [ebp + 0x14]
push ebx
call dword [0x4675b8]
jmp case.default.0x42fb3d
call dword [0x467540]
mov ebx, eax
push ebx
call dword [0x467500]
push 0x74
jmp 0x430189
push 0x104
lea eax, [ebp - 0x268]
push eax
push str.COMSPEC
call dword [0x467214]
jmp 0x42fba4
lea eax, [ebp - 0x268]
push eax
push 0x104
call dword [0x4671bc]
jmp 0x42fc35
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 8], 0x104
call dword [0x467014]
jmp 0x42fba4
mov eax, dword [0x48a324]
cmp eax, 2
je case.0x42fb3d.42
cmp eax, 3
je case.0x42fb3d.42
push 0
mov esi, edi
call fcn.00412945
xor esi, esi
jmp 0x42fb0f
cmp byte [0x48a2ec], 0
push 0x104
je 0x430253
lea eax, [ebp - 0x268]
push eax
push str.USERPROF_tU_bUS
jmp 0x4301ce
push str.Desktop
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
lea esi, [ebp - 0x268]
call fcn.0040d8a2
mov eax, esi
push eax
call fcn.0045179a
add esp, 0x14
jmp 0x430285
cmp word [ebp + eax*2 - 0x268], 0x5c
je 0x430288
dec eax
jns 0x43027a
and word [ebp + eax*2 - 0x268], 0
jmp 0x42fba4
push 0x104
lea eax, [ebp - 0x268]
push eax
push str.HOMEDRIVE
jmp 0x4301ce
push 0x104
lea eax, [ebp - 0x268]
push eax
push str.HOMEPATH
jmp 0x4301ce
push 0x104
lea eax, [ebp - 0x268]
push eax
push str.HOMESHARE
jmp 0x4301ce
push 0x104
lea eax, [ebp - 0x268]
push eax
push str.LOGONSERVER
jmp 0x4301ce
push 0x104
lea eax, [ebp - 0x268]
push eax
push 0x471c10
jmp 0x4301ce
push 0x104
lea eax, [ebp - 0x268]
push eax
push str.USErD
jmp 0x4301ce
push dword [esi + 0x310]
jmp 0x430226
movzx eax, byte [esi + 0x30c]
jmp 0x42fbcb
push dword [esi + 0x340]
jmp 0x430226
push dword [esi + 0x344]
jmp 0x42fb49
call dword [0x467248]
test eax, eax
mov dword [ebp + 0x14], eax
fild dword [ebp + 0x14]
jge 0x43035d
fadd qword [0x4726a8]
push ecx
push ecx
mov esi, edi
fstp qword [esp]
call fcn.004129f1
jmp case.default.0x42fb3d