joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d82
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49f3ed
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
xor eax, eax
mov dword [esp + 0x98], eax
mov esi, str.SoftwareClasses_ls_shellopencommand
push 0x14
pop ecx
lea edi, [esp + 0x3c]
mov dword [esp + 0x18], eax
mov bl, al
mov dword [esp + 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], eax
inc eax
mov byte [esp + 0x98], al
lea eax, [esp + 0xa0]
cmp dword [esp + 0xb4], 8
cmovae eax, dword [esp + 0xa0]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0042f810
add esp, 0xc
mov byte [esp + 0x98], 2
lea eax, [esp + 0x24]
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x18]
push 0x20019
cmovae eax, dword [esp + 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004315e0
test eax, eax
jne 0x402e56
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.004316d0
test eax, eax
movzx ebx, bl
push 1
pop eax
cmove ebx, eax
jmp 0x402e59
xor eax, eax
inc eax
mov byte [esp + 0x98], al
lea ecx, [esp + 0x24]
push 0
push eax
call fcn.0040314a
mov byte [esp + 0x98], 0
lea ecx, [esp + 0x18]
call fcn.00431540
or dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0xa0]
push 0
push 1
call fcn.0040314a
mov al, bl
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0047aabf
add esp, 0x88
ret

Function at 0x4035e3
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49f4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], ebx
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
mov byte [esp + 0x40], 1
lea ecx, [esp + 0xc]
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004315e0
test eax, eax
jne 0x403684
lea eax, [esp + 0x18]
push eax
push str.360Safetray
lea ecx, [esp + 0x14]
call fcn.004316d0
test eax, eax
jne 0x403684
cmp dword [esp + 0x28], eax
setne bl
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x18]
push 0
push 1
call fcn.0040314a
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00431540
mov al, bl
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret
Function at 0x404d84
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x404d94
push 0xd
pop eax
jmp 0x404dd9
push ebp
push esi
xor eax, eax
push edi
mov dword [esp + 0x18], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea ebp, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x18]
jne 0x404da6
sub ecx, ebp
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x404da1
push esi
push edx
push 7
xor eax, eax
push eax
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4052f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x4d3a00]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x24
mov eax, 0x49f87a
call fcn.004837a6
mov esi, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x40537b
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x40537b
call fcn.00404727
mov esi, eax
jmp 0x405469
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x405398
call fcn.00404727
jmp 0x40545c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40538e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x14], esi
lea ecx, [esi + 1]
cmp ecx, esi
jae 0x4053c5
mov esi, 0x8007000e
jmp 0x40545e
mov byte [ebp - 4], 2
xor eax, eax
shld eax, ecx, 1
add ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
cmp eax, ebx
ja 0x405402
cmp ecx, 0xffffffff
ja 0x405402
cmp ecx, 0x400
jbe 0x4053f3
push ecx
lea ecx, [ebp]
call fcn.0040cf43
jmp 0x4053f9
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x405421
push 0x80070216
call fcn.004046a6
mov eax, 0x405412
ret
cmp dword [ebp], 0
je 0x4053bb
push esi
push dword [ebp]
push esi
push dword [ebp - 0x18]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40538e
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.00405f0a
mov esi, eax
test edi, edi
je 0x405469
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40547c
lea ecx, [ebp]
call fcn.0040cac3
or dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0047aabf
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
Function at 0x40710b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49fb42
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0xc]
test eax, eax
js 0x407287
mov eax, dword [esp + 0x18]
xor ebx, ebx
push 0xc
pop ebp
movzx edi, word [eax + 0x2c]
and dword [0x4d49e4], ebx
mov dword [0x4d49e8], edi
test edi, edi
je 0x4071d6
xor ecx, ecx
mov eax, edi
mul ebp
push 0x4d6656
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0047bb18
pop ecx
pop ecx
mov dword [esp + 0x30], eax
and dword [esp + 0x28], ebx
test eax, eax
je 0x4071b1
push 0x4072fc
push 0x407021
push edi
lea ebx, [eax + 4]
mov dword [eax], edi
push ebp
push ebx
call fcn.0047beea
jmp 0x4071b3
xor ebx, ebx
or dword [esp + 0x28], 0xffffffff
test ebx, ebx
jne 0x4071d0
push dword [esp + 0x18]
mov eax, dword [esi]
push esi
call dword [eax + 0x4c]
mov eax, 0x8007000e
jmp 0x407289
mov edi, dword [0x4d49e8]
xor ebp, ebp
test edi, edi
jle 0x407277
mov edi, ebx
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push ebp
push esi
call dword [eax + 0x14]
test eax, eax
js 0x407267
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 1
mov ecx, dword [esi]
push eax
push eax
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push esi
call dword [ecx + 0x30]
test eax, eax
js 0x40724d
mov eax, dword [esp + 0x30]
and dword [esp + 0x30], 0
mov dword [esp + 0x1c], eax
cmp dword [edi], eax
je 0x407237
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ecx]
mov dword [edi + 8], eax
jmp 0x407251
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x50]
or dword [esp + 0x28], 0xffffffff
push dword [esp + 0x30]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc ebp
add edi, 0xc
cmp ebp, dword [0x4d49e8]
jl 0x4071e2
push dword [esp + 0x18]
mov dword [0x4d49e4], ebx
mov eax, dword [esi]
push esi
call dword [eax + 0x4c]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x410b12
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x50]
push ebx
push eax
mov esi, ecx
call fcn.00482250
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x28], 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x410b98
push 0x7530
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x410b7d
mov bl, 1
jmp 0x410b88
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410ba1
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0xa18
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0xa14], eax
push ebp
push edi
lea eax, [esp + 0x1fc]
mov ebp, ecx
push eax
push 0x104
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x4b5d78
lea eax, [esp + 0x200]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x1fc]
push eax
push str.cmd.exe__C_chcp_437__netsh_winsock_show_catalog____s_
lea eax, [esp + 0x614]
push 0x208
push eax
call fcn.00410a62
add esp, 0x10
lea ecx, [esp + 0x60c]
call fcn.00410b12
test al, al
je 0x410d34
push esi
lea eax, [esp + 0x200]
push 0x4b5e18
push eax
call fcn.0047c559
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x410d33
push esi
lea eax, [esp + 0x10]
push 0x1f4
push eax
call fcn.0047c638
add esp, 0xc
test eax, eax
je 0x410d2c
push ebx
lea ecx, [esp + 0x10]
call fcn.00410ada
push 0xe
mov ebx, eax
push str.Provider_Path:
push ebx
call fcn.0047c4b0
add esp, 0xc
test eax, eax
jne 0x410cfd
push 0x206
mov word [esp + 0x410], ax
lea eax, [esp + 0x412]
push edi
push eax
call fcn.00482250
add esp, 0xc
lea eax, [esp + 0x40c]
lea ecx, [ebx + 0xe]
push 0x104
push eax
push 0xffffffffffffffff
call fcn.00410ac6
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x40c]
push ebp
push eax
call fcn.0047b6f6
pop ecx
pop ecx
test eax, eax
jne 0x410cfd
push esi
lea eax, [esp + 0x14]
push 0x1f4
push eax
call fcn.0047c638
add esp, 0xc
test eax, eax
je 0x410cfd
lea ecx, [esp + 0x10]
call fcn.00410ada
push 0x11
mov ebx, eax
push str.Catalog_Entry_ID:
push ebx
call fcn.0047c4b0
add esp, 0xc
test eax, eax
je 0x410d1a
push esi
lea eax, [esp + 0x14]
push 0x1f4
push eax
call fcn.0047c638
add esp, 0xc
test eax, eax
jne 0x410c52
jmp 0x410d2b
lea ecx, [ebx + 0x11]
call fcn.00410ac6
push eax
call fcn.0047c53c
pop ecx
mov edi, eax
pop ebx
push esi
call fcn.0047c8d3
pop ecx
pop esi
lea eax, [esp + 0x1fc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xa1c]
mov eax, edi
pop edi
pop ebp
xor ecx, esp
call fcn.0047aabf
add esp, 0xa18
ret
Function at 0x410d5b
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4d3a00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.0042f790
cmp eax, 4
jl 0x410e03
xor ebx, ebx
lea eax, [ebp - 0x210]
push ebx
push 0x2e
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.FunAcceFunAcce.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410e03
mov esi, ebx
lea ecx, [ebp - 0x210]
call fcn.00410ba1
test eax, eax
je 0x410dff
push eax
push str.cmd.exe__C_chcp_437__netsh_winsock_remove_provider__d
lea eax, [ebp - 0x620]
push 0x208
push eax
call fcn.00410a62
add esp, 0x10
lea ecx, [ebp - 0x620]
call fcn.00410b12
inc esi
mov bl, al
cmp esi, 0x14
jl 0x410dc3
mov al, bl
jmp 0x410e05
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047aabf
mov esp, ebp
pop ebp
ret

Function at 0x410e25
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d3a00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.00482250
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0042f790
push esi
push esi
cmp eax, 3
lea eax, [ebp - 0x20c]
push str.___repair_pagefile
push eax
jl 0x410e8b
push str.runas
jmp 0x410e90
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0047aabf
mov esp, ebp
pop ebp
ret
Function at 0x411d28
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a16e3
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x34]
xor esi, esi
push eax
inc esi
call fcn.00403059
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x44]
push 0x5c
pop ebp
test ecx, ecx
je 0x411d9c
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
cmp bp, word [eax + ecx*2 - 2]
je 0x411d9c
push ebp
push esi
lea ecx, [esp + 0x3c]
call fcn.00412128
push 1
push ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebp
push eax
lea ecx, [esp + 0x40]
call fcn.00403dca
mov edi, eax
jmp 0x411e47
push edi
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.0040c983
mov byte [esp + 0x58], 1
lea eax, [esp + 0x1c]
cmp dword [esp + 0x30], 8
cmovae eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x411e1d
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push ebx
cmovae eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x411e52
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push 0x80
cmovae eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, ebx
push 1
lea eax, [edi + 1]
mov dword [esp + 0x1c], ebp
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.00403dca
mov edi, eax
mov byte [esp + 0x58], bl
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.0040314a
cmp edi, 0xffffffff
jne 0x411db8
jmp 0x411e7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x411e65
call fcn.00404727
mov esi, eax
jmp 0x411e6a
mov esi, 0x80004005
mov byte [esp + 0x58], bl
lea ecx, [esp + 0x1c]
push ebx
push 1
call fcn.0040314a
or dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x34]
push ebx
push 1
call fcn.0040314a
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0047aabf
add esp, 0x48
ret 8
Function at 0x41265d
Capabilities:
Check os version

Disassembly:
push 0x144
mov eax, 0x4a1900
call fcn.00483770
mov edi, ecx
and dword [ebp - 0x14c], 0
mov dword [ebp - 0x150], edi
call fcn.0042f790
mov esi, eax
test esi, esi
je 0x412789
cmp esi, 8
je 0x412789
push str.Windows
lea ecx, [ebp - 0x28]
call fcn.00403059
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
jne 0x4126b1
mov esi, 0x4b60a4
jmp 0x4126df
cmp esi, 2
jne 0x4126bd
mov esi, str.Server_2003
jmp 0x4126df
cmp esi, 3
jne 0x4126c9
mov esi, str.Vista
jmp 0x4126df
cmp esi, 4
jne 0x4126d5
mov esi, 0x4b60d8
jmp 0x4126df
cmp esi, 5
jne 0x4126f0
mov esi, 0x4b60e0
push esi
call fcn.00402919
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040413e
push 0x118
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00482250
add esp, 0xc
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x134]
push eax
call fcn.00402919
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040413e
call fcn.0042f3f0
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x41274d
mov esi, 0x4b60e8
jmp 0x412756
cmp eax, ebx
jne 0x412767
mov esi, 0x4b60f4
push esi
call fcn.00402919
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040413e
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00403d01
mov dword [ebp - 0x14c], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push ebx
call fcn.0040314a
jmp 0x4127a3
push 0x4b6074
mov ecx, edi
call fcn.00403059
and dword [ebp - 4], 0
mov dword [ebp - 0x14c], 1
mov eax, edi
call fcn.0048371f
ret
Function at 0x4127ab
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a194a
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x1c], esi
xor eax, eax
mov dword [esp + 0x14], ebp
push 0x206
mov word [esp + 0x24], ax
lea eax, [esp + 0x26]
push ebp
push eax
call fcn.00482250
add esp, 0xc
mov dword [esp + 0x10], 0x208
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push str.svcVersion
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x412858
cmp dword [esp + 0x18], ebx
jne 0x412858
cmp dword [esp + 0x10], ebp
je 0x412858
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00403059
jmp 0x4128a7
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push str.Version
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41289b
cmp dword [esp + 0x18], ebx
jne 0x41289b
cmp dword [esp + 0x10], ebp
je 0x41289b
lea eax, [esp + 0x20]
push eax
jmp 0x4128a0
push 0x4b6174
mov ecx, esi
call fcn.00403059
mov dword [esp + 0x234], ebp
mov dword [esp + 0x14], ebx
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0047aabf
add esp, 0x228
ret
Function at 0x412e80
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4a1b9a
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
push 0x206
mov word [esp + 0x80], ax
lea eax, [esp + 0x82]
push ebx
push eax
call fcn.00482250
add esp, 0xc
lea eax, [esp + 0x7c]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
inc ebx
test eax, eax
je 0x4130b5
push ecx
push ecx
mov esi, esp
lea eax, [esp + 0x84]
push eax
mov dword [esi], eax
call fcn.00402919
pop ecx
lea ecx, [esp + 0x24]
mov dword [esi + 4], eax
call fcn.0042ffa0
and dword [esp + 0x290], 0
mov eax, str.internet_exploreriexplore.exe
push ecx
push ecx
mov esi, esp
push eax
mov dword [esi], eax
call fcn.00402919
pop ecx
mov dword [esi + 4], eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
call fcn.004307e0
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x1c]
push eax
call fcn.004300e0
mov byte [esp + 0x290], 0
lea ecx, [esp + 0x34]
call fcn.004300b0
lea ecx, [esp + 0x1c]
call fcn.004128db
mov ebp, eax
or dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004300b0
test ebp, ebp
je 0x4130b5
xor eax, eax
mov dword [esp + 0x34], str.urlmon.dll
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7c]
push 0x104
push eax
mov dword [esp + 0x40], str.ieframe.dll
mov dword [esp + 0x44], str.mshtml.dll
mov dword [esp + 0x48], str.iertutil.dll
mov dword [esp + 0x4c], 0x4b6368
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ecx
push ecx
mov esi, esp
lea eax, [esp + 0x84]
push eax
mov dword [esi], eax
call fcn.00402919
pop ecx
lea ecx, [esp + 0x6c]
mov dword [esi + 4], eax
call fcn.0042ffa0
mov dword [esp + 0x290], 2
xor edi, edi
push ecx
push ecx
mov esi, esp
lea eax, [esp + 0x84]
push eax
mov dword [esi], eax
call fcn.00402919
pop ecx
lea ecx, [esp + 0x24]
mov dword [esi + 4], eax
call fcn.0042ffa0
mov byte [esp + 0x290], 3
mov eax, dword [esp + edi*4 + 0x34]
push ecx
push ecx
mov esi, esp
mov dword [esi], eax
test eax, eax
je 0x41302f
push eax
call fcn.00402919
pop ecx
mov dword [esi + 4], eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x54]
push eax
call fcn.004307e0
mov byte [esp + 0x290], 4
lea ecx, [esp + 0x1c]
push eax
call fcn.004300e0
mov byte [esp + 0x290], 3
lea ecx, [esp + 0x4c]
call fcn.004300b0
lea ecx, [esp + 0x1c]
call fcn.004128db
test eax, eax
je 0x413074
cmp eax, ebp
jne 0x413091
mov byte [esp + 0x290], 2
lea ecx, [esp + 0x1c]
call fcn.004300b0
inc edi
cmp edi, 5
jb 0x412ff2
jmp 0x4130a4
mov byte [esp + 0x290], 2
lea ecx, [esp + 0x1c]
call fcn.004300b0
xor bl, bl
or dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.004300b0
mov al, bl
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0047aabf
add esp, 0x280
ret