Function at 0x41b830
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b976
mov eax, dword fs:[0]
push eax
sub esp, 0x744
mov eax, dword [0x447150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x744], ecx
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00428770
push 0x104
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00428770
push 0x104
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00428770
add esp, 0x24
call fcn.00407a50
mov ecx, eax
test ecx, ecx
jne 0x41b8b5
push 0x80004005
call fcn.00406b30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x734], eax
push 0x103
lea eax, [ebp - 0x72c]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x72c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
test edx, edx
jne 0x41b8fc
xor ecx, ecx
jmp 0x41b90a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b901
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x734]
call fcn.0040bd00
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x72c]
push 0x25
push eax
lea eax, [ebp - 0x218]
push str.__s___c1
push eax
call ebx
lea eax, [ebp - 0x72c]
push eax
lea eax, [ebp - 0x31c]
push 0x104
push eax
call fcn.0042cd27
lea eax, [ebp - 0x72c]
push eax
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0042cd27
lea eax, [ebp - 0x31c]
push 0x5c
push eax
call fcn.0042d19a
add esp, 0x30
test eax, eax
je 0x41be06
push str.resmain.ico
mov byte [eax + 1], 0
lea eax, [ebp - 0x31c]
push 0x104
push eax
call fcn.0042cd81
mov eax, dword [0x447db8]
add esp, 0xc
sub eax, 0
je 0x41b9bc
sub eax, 1
je 0x41b9b5
sub eax, 1
jne 0x41b9bc
mov eax, 0x43c9a4
jmp 0x41b9c1
mov eax, 0x43c9a0
jmp 0x41b9c1
mov eax, 0x43c99c
push eax
lea eax, [ebp - 0x524]
push str._s_auto_file
push eax
call ebx
mov eax, dword [0x447db8]
add esp, 0xc
sub eax, 0
je 0x41b9f5
sub eax, 1
je 0x41b9ee
sub eax, 1
jne 0x41b9f5
mov eax, 0x43c9a4
jmp 0x41b9fa
mov eax, 0x43c9a0
jmp 0x41b9fa
mov eax, 0x43c99c
push eax
lea eax, [ebp - 0x114]
push 0x43d820
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x730]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41bafa
lea eax, [ebp - 0x738]
push eax
lea eax, [ebp - 0x730]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41be06
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ba72
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x524]
push eax
push 1
push 0
push 0
push dword [ebp - 0x730]
call ebx
test eax, eax
je 0x41baaf
push dword [ebp - 0x730]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41be06
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
push 0
push 0
push 0x8000000
call edi
push dword [ebp - 0x730]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov eax, dword [0x447db8]
sub eax, 0
je 0x41bbb8
sub eax, 1
je 0x41bbb1
sub eax, 1
jne 0x41bbb8
mov eax, 0x43c9a4
jmp 0x41bbbd
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x740]
push eax
push 0
push 0
push dword [ebp - 0x730]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
test eax, eax
jne 0x41bac2
lea ecx, [ebp - 0x524]
lea eax, [ebp - 0x420]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41bb60
test dl, dl
je 0x41bb5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41bb60
add eax, 2
add ecx, 2
test dl, dl
jne 0x41bb40
xor eax, eax
jmp 0x41bb65
sbb eax, eax
or eax, 1
test eax, eax
je 0x41bac2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bb76
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x524]
push eax
push 1
push 0
push 0
push dword [ebp - 0x730]
call ebx
test eax, eax
je 0x41bab5
push dword [ebp - 0x730]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41be06
mov eax, 0x43c9a0
jmp 0x41bbbd
mov eax, 0x43c99c
push eax
lea eax, [ebp - 0x114]
push str.SOFTWAREClasses._s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x730]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41bc3e
lea eax, [ebp - 0x738]
push eax
lea eax, [ebp - 0x730]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41be06
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bc35
jmp 0x41bcac
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x740]
push eax
push 0
push 0
push dword [ebp - 0x730]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41bcd9
lea ecx, [ebp - 0x524]
lea eax, [ebp - 0x420]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41bc93
test dl, dl
je 0x41bc8f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41bc93
add eax, 2
add ecx, 2
test dl, dl
jne 0x41bc73
xor eax, eax
jmp 0x41bc98
sbb eax, eax
or eax, 1
test eax, eax
je 0x41bcd9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bca5
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x524]
push eax
push 1
push 0
push 0
push dword [ebp - 0x730]
call ebx
test eax, eax
jne 0x41bdfe
push eax
push eax
push eax
push 0x8000000
call edi
push dword [ebp - 0x730]
call esi
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x114]
push str._s_shellopencommand
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x730]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41bd69
lea eax, [ebp - 0x738]
push eax
lea eax, [ebp - 0x730]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41be06
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bd60
jmp 0x41bddf
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x740]
push eax
push 0
push 0
push dword [ebp - 0x730]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x218]
test eax, eax
jne 0x41be4b
lea eax, [ebp - 0x420]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41bdc2
test dl, dl
je 0x41bdbe
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41bdc2
add eax, 2
add ecx, 2
test dl, dl
jne 0x41bda2
xor eax, eax
jmp 0x41bdc7
sbb eax, eax
or eax, 1
test eax, eax
je 0x41be7f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bdd8
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0
push dword [ebp - 0x730]
call ebx
test eax, eax
je 0x41be72
push dword [ebp - 0x730]
call esi
xor edi, edi
mov esi, dword [ebp - 0x734]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41be2d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41be50
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0
push dword [ebp - 0x730]
call ebx
push 0
push 0
push 0
push 0x8000000
call edi
push dword [ebp - 0x730]
call esi
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x114]
push str._sDefaultIcon
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x730]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41bf0e
lea eax, [ebp - 0x738]
push eax
lea eax, [ebp - 0x730]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41be06
lea ecx, [ebp - 0x31c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bf05
jmp 0x41bf7c
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x740]
push eax
push 0
push 0
push dword [ebp - 0x730]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x31c]
test eax, eax
jne 0x41bfa0
lea eax, [ebp - 0x420]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41bf63
test dl, dl
je 0x41bf5f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41bf63
add eax, 2
add ecx, 2
test dl, dl
jne 0x41bf43
xor eax, eax
jmp 0x41bf68
sbb eax, eax
or eax, 1
test eax, eax
je 0x41bfd2
lea ecx, [ebp - 0x31c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bf75
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x31c]
push eax
push 1
push 0
push 0
push dword [ebp - 0x730]
call ebx
test eax, eax
je 0x41bfc5
jmp 0x41bdfe
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bfa3
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x31c]
push eax
push 1
push 0
push 0
push dword [ebp - 0x730]
call ebx
push 0
push 0
push 0
push 0x8000000
call edi
push dword [ebp - 0x730]
call esi
push dword [0x447db8]
call fcn.00412130
push eax
lea eax, [ebp - 0x114]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts._s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x730]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41c092
lea eax, [ebp - 0x738]
push eax
lea eax, [ebp - 0x730]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41be06
lea ecx, [ebp - 0x628]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c060
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push str.Application
push dword [ebp - 0x730]
call ebx
test eax, eax
je 0x41c136
jmp 0x41bdfe
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x740]
push eax
push 0
push str.Application
push dword [ebp - 0x730]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x628]
test eax, eax
jne 0x41c10e
lea eax, [ebp - 0x420]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41c0f0
test dl, dl
je 0x41c0ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41c0f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41c0d0
xor eax, eax
jmp 0x41c0f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41c143
lea ecx, [ebp - 0x628]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c102
jmp 0x41c067
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c111
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push str.Application
push dword [ebp - 0x730]
call ebx
push 0
push 0
push 0
push 0x8000000
call edi
push dword [ebp - 0x730]
call esi
mov dword [ebp - 0x750], 0
mov dword [ebp - 0x74c], 0
mov dword [ebp - 0x748], 0
mov ecx, dword [ebp - 0x744]
mov byte [ebp - 4], 1
call fcn.0041c250
cmp eax, 1
lea eax, [ebp - 0x114]
jne 0x41c18a
push str.SOFTWAREWOW6432NodeMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
jmp 0x41c18f
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x750]
push 0x2001f
push eax
push 0x80000001
call fcn.0041d170
test eax, eax
jne 0x41c1f8
mov eax, dword [ebp - 0x734]
cmp dword [eax - 4], 1
jle 0x41c1d3
push dword [eax - 0xc]
lea ecx, [ebp - 0x734]
call fcn.004078d0
push 4
lea eax, [ebp - 0x744]
mov dword [ebp - 0x744], 0x2711
push eax
push 4
push 0
push dword [ebp - 0x734]
push dword [ebp - 0x750]
call ebx
lea ecx, [ebp - 0x750]
call fcn.0041b4f0
lea ecx, [ebp - 0x750]
mov edi, 1
call fcn.0041b300
jmp 0x41be08