joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
push ebx
mov esi, ecx
push 0x42a2ef
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00401890
push ebx
push 0x42a2ef
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00401890
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push ecx
add esi, 0x3d8
push esi
mov byte [esp + 0x54], 1
call fcn.00415b70
movzx esi, al
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 0x10
jb 0x4096a7
mov edx, dword [esp + 0xc]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
jb 0x4096cb
mov eax, dword [esp + 0x28]
push eax
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret

Function at 0x4096e0
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x428300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push 0xd
mov esi, ecx
xor ebx, ebx
push 0x42a6bc
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], 0x80000002
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401890
push 0x2d
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
lea eax, [esp + 8]
push eax
add esi, 0x3d8
push esi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x5c], 1
call fcn.00414720
movzx esi, al
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, 0x10
jb 0x409786
mov eax, dword [esp + 0x10]
push eax
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jb 0x4097aa
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x40c800
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x427aa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x18
lea edi, [esi + 0x128]
push str.SOFTWAREHewlett_Packard
mov ecx, edi
call fcn.00401890
push 0xd
xor ebx, ebx
push 0x42a6bc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401890
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
mov dword [esp + 0x60], ebx
call fcn.00410090
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ebp, [esi + 0x144]
push eax
mov ecx, ebp
mov byte [esp + 0x60], 1
call fcn.004017a0
cmp dword [esp + 0x48], 0x10
jb 0x40c895
mov edx, dword [esp + 0x34]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x54], 0xffffffff
jb 0x40c8c1
mov eax, dword [esp + 0x18]
push eax
call fcn.0041aebd
add esp, 4
mov eax, dword [esi + 0x164]
add esi, 0x160
cmp eax, ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
je 0x40c8fd
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 8]
push ecx
push esi
push edx
push eax
call fcn.00401d20
mov eax, dword [esi + 4]
push eax
call fcn.0041aebd
add esp, 0x14
push edi
mov ecx, esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.0040c6d0
push ebp
mov ecx, esi
call fcn.0040c6d0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x40fc20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x428b54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push edi
lea eax, [esp + 0x48]
push eax
xor edi, edi
push 0x105
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x40fc8a
push 1
push 0x42b778
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], al
call fcn.00401890
lea eax, [esp + 0x2c]
mov dword [esp + 0x158], edi
mov ebx, 1
jmp 0x40fcce
lea eax, [esp + 0x48]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fca2
sub eax, edx
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401890
lea eax, [esp + 0x10]
mov dword [esp + 0x158], 1
mov ebx, 2
mov esi, dword [esp + 0x160]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov dword [esp + 0x18], ebx
mov byte [esi + 4], 0
call fcn.004017a0
or ebx, 4
test bl, 2
je 0x40fd24
mov eax, dword [esp + 0x28]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x40fd13
mov edx, dword [esp + 0x14]
push edx
call fcn.0041aebd
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
test bl, 1
je 0x40fd3d
cmp dword [esp + 0x44], 0x10
jb 0x40fd3d
mov eax, dword [esp + 0x30]
push eax
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x150]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret
Function at 0x4106a0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x428cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
push 0x2e
mov esi, ecx
xor ebx, ebx
push str.hpFileAttr_t::set_hpstring_const_path_:_START
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x50], ebx
call fcn.004122d0
mov eax, dword [esp + 0x28]
mov edi, 0x10
add esp, 4
cmp eax, edi
mov dword [esp + 0x4c], 0xffffffff
jb 0x410712
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041aebd
add esp, 4
mov ecx, esi
call fcn.0040fa00
push 0x35
push str.hpFileAttr_t::set_hpstring_const_path_:_dwAttributes
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
lea edx, [esp + 0xc]
push esi
push edx
mov dword [esp + 0x54], 1
call fcn.00412420
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, edi
mov dword [esp + 0x4c], 0xffffffff
jb 0x41076e
mov eax, dword [esp + 0x10]
push eax
call fcn.0041aebd
add esp, 4
push 0x3e
push str.hpFileAttr_t::set_hpstring_const_path_:_Setting_attributes...
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x50], 2
call fcn.004122d0
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, edi
mov dword [esp + 0x4c], 0xffffffff
jb 0x4107c0
mov edx, dword [esp + 0x10]
push edx
call fcn.0041aebd
add esp, 4
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x18], edi
jb 0x4107ce
mov eax, dword [eax + 4]
jmp 0x4107d1
add eax, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x30
test eax, eax
push str.hpFileAttr_t::set_hpstring_const_path_:_bResult
lea ecx, [esp + 0x30]
setne byte [esp + 0x5c]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401890
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x54], 3
call fcn.00412480
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, edi
pop edi
pop esi
pop ebx
jb 0x410832
mov edx, dword [esp + 0x20]
push edx
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x38]
mov al, byte [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x410850
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x428cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x24
xor ebx, ebx
push str.hpFileAttr_t::hpUnsetReadonly:_START
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x6c], ebx
call fcn.004122d0
mov eax, dword [esp + 0x28]
mov edi, 0x10
add esp, 4
cmp eax, edi
mov dword [esp + 0x68], 0xffffffff
jb 0x4108c0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041aebd
add esp, 4
mov esi, dword [esp + 0x70]
cmp dword [esi + 0x18], edi
jb 0x4108ce
mov eax, dword [esi + 4]
jmp 0x4108d1
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], eax
call fcn.0040f950
cmp byte [esp + 0x15], bl
jne 0x410904
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
push 0x3f
push str.hpFileAttr_t::hpUnsetReadonly:_starting_attributes___attr.get__
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401890
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 1
call fcn.0040fa00
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00412420
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, edi
mov dword [esp + 0x68], 0xffffffff
jb 0x410960
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0041aebd
add esp, 4
push esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x19], bl
call fcn.004106a0
push 0x26
push str.hpFileAttr_t::hpUnsetReadonly:_bResult
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], al
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401890
mov edx, dword [esp + 0x70]
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x70], 2
call fcn.00412480
mov eax, dword [esp + 0x64]
add esp, 8
cmp eax, edi
jb 0x4109c1
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x60]
mov al, byte [esp + 0x70]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x410d10
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x428d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push 0x29
xor ebx, ebx
mov ebp, 0xf
push str.hpCreateDirectory_hpstring_const__:_path
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401890
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x14]
push esi
push eax
mov dword [esp + 0x5c], ebx
call fcn.00412300
mov eax, dword [esp + 0x34]
mov edi, 0x10
add esp, 8
cmp eax, edi
mov dword [esp + 0x54], 0xffffffff
jb 0x410d87
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041aebd
add esp, 4
push esi
call fcn.0040ffb0
add esp, 4
test al, al
je 0x410df0
push 0x19
push str.Directory_already_exists_
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401890
lea edx, [esp + 0x14]
push esi
push edx
mov dword [esp + 0x5c], 1
call fcn.00412300
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, edi
jb 0x410ddb
mov eax, dword [esp + 0x18]
push eax
call fcn.0041aebd
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
push esi
call fcn.00410f20
add esp, 4
test al, al
lea ecx, [esp + 0x14]
mov byte [esp + 0x18], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
jne 0x410e59
push 0x22
push str.Unable_to_create_parent_directory_
call fcn.00401890
lea ecx, [esp + 0x14]
push esi
push ecx
mov dword [esp + 0x5c], 2
call fcn.00412300
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, edi
jb 0x410e44
mov edx, dword [esp + 0x18]
push edx
call fcn.0041aebd
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
push 0x12
push str.Creating_directory
call fcn.00401890
lea eax, [esp + 0x14]
push esi
push eax
mov dword [esp + 0x5c], 3
call fcn.00412300
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, edi
mov dword [esp + 0x54], 0xffffffff
jb 0x410e98
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041aebd
add esp, 4
cmp dword [esi + 0x18], edi
jb 0x410ea2
mov esi, dword [esi + 4]
jmp 0x410ea5
add esi, 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x19
test eax, eax
push str.Directory_creation_result
lea ecx, [esp + 0x38]
setne byte [esp + 0x18]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401890
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x5c], 4
call fcn.00412480
mov eax, dword [esp + 0x50]
add esp, 8
cmp eax, edi
jb 0x410eff
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x4c]
mov al, byte [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x411080
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x428dd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push 0xd
xor ebx, ebx
push str.Removing_file
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
mov esi, dword [esp + 0x54]
lea eax, [esp + 0xc]
push esi
push eax
mov dword [esp + 0x54], ebx
call fcn.00412300
mov eax, dword [esp + 0x2c]
mov ebp, 0x10
add esp, 8
cmp eax, ebp
mov dword [esp + 0x4c], 0xffffffff
jb 0x4110f5
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041aebd
add esp, 4
cmp byte [esp + 0x58], bl
je 0x411157
push 0x22
push str.Forcing_writable_attribute_on_path
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
lea edx, [esp + 0xc]
push esi
push edx
mov dword [esp + 0x54], 1
call fcn.00412300
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebp
mov dword [esp + 0x4c], 0xffffffff
jb 0x41114e
mov eax, dword [esp + 0x10]
push eax
call fcn.0041aebd
add esp, 4
push esi
call fcn.00410850
add esp, 4
cmp dword [esi + 0x18], ebp
jb 0x411161
mov eax, dword [esi + 4]
jmp 0x411164
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
cmp al, bl
mov byte [esp + 0x58], al
jne 0x4111c7
push 0x19
push str.FAILED____Removal_of_file
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401890
lea ecx, [esp + 0x28]
push esi
push ecx
mov dword [esp + 0x54], 2
call fcn.00412cd0
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, ebp
jb 0x4111c3
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041aebd
add esp, 4
mov al, byte [esp + 0x58]
mov ecx, dword [esp + 0x44]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x4111e0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x428e11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov al, byte [esp + 0x50]
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
test al, al
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
je 0x411258
push 3
push 0x42bc3c
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebp
mov byte [esp + 0x38], bl
call fcn.00401890
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ebx, 1
push esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x18], ebx
call fcn.004118f0
add esp, 0xc
test al, al
mov byte [esp + 0x5c], 0
je 0x41125d
mov byte [esp + 0x5c], 1
test bl, 1
mov dword [esp + 0x50], 0xffffffff
je 0x41127e
cmp dword [esp + 0x44], 0x10
jb 0x41127e
mov edx, dword [esp + 0x30]
push edx
call fcn.0041aebd
add esp, 4
mov al, byte [esp + 0x60]
test al, al
je 0x4112f2
push 0x22
mov ebx, 0xf
push str.Forcing_writable_attribute_on_path
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x1c], 0
call fcn.00401890
lea eax, [esp + 0x10]
push esi
push eax
mov dword [esp + 0x58], 1
call fcn.00412300
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x50], 0xffffffff
jb 0x4112dc
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041aebd
add esp, 4
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov byte [esp + 0x18], 0
call fcn.00410850
add esp, 4
cmp dword [esi + 0x18], 0x10
jb 0x4112fd
mov esi, dword [esi + 4]
jmp 0x411300
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov cl, byte [esp + 0x5c]
test eax, eax
setne al
test cl, cl
je 0x41132f
test al, al
je 0x41132f
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov ecx, dword [esp + 0x48]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x413f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4290b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push 0
push 0x42a2ef
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
call fcn.00401890
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ecx, [esp + 4]
push ecx
push edx
mov dword [esp + 0x30], 0
call fcn.004125b0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 0x10
jb 0x413f92
mov eax, dword [esp + 4]
push eax
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x414600
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x429170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
push 0x1a
xor ebx, ebx
push str._hpSetRegistryValue__
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x50], ebx
call fcn.004122d0
mov eax, dword [esp + 0x28]
mov edi, 0x10
add esp, 4
cmp eax, edi
mov dword [esp + 0x4c], 0xffffffff
jb 0x414670
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041aebd
add esp, 4
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0x18], edi
mov edx, dword [eax + 0x14]
jb 0x414681
mov ecx, dword [eax + 4]
jmp 0x414684
lea ecx, [eax + 4]
mov eax, dword [esp + 0x58]
cmp dword [eax + 0x18], edi
jb 0x414692
mov eax, dword [eax + 4]
jmp 0x414695
add eax, 4
inc edx
push edx
mov edx, dword [esp + 0x58]
push ecx
push 1
push ebx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp esi, ebx
je 0x4146fa
push 0x2c
push str.hpSetRegistryValue:_Cant_set_registry_value
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401890
lea ecx, [esp + 0x28]
push esi
push ecx
mov dword [esp + 0x54], 1
call fcn.00413f20
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, edi
jb 0x4146fa
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x44]
xor eax, eax
cmp esi, ebx
pop edi
pop esi
sete al
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x416870
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42958c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x48], ebx
call fcn.004164f0
cmp eax, 2
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, dword [sym.imp.USER32.dll_GetTopWindow]
mov ebp, 0xf
je 0x416987
cmp eax, 3
je 0x416987
push 0x21
push str.hpGlobalShortcutPath__:_Not_Win9x
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00401890
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x160], ebx
call fcn.004122d0
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, 0x10
mov dword [esp + 0x15c], 0xffffffff
jb 0x41690e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041aebd
add esp, 4
push 1
push 0x17
lea edx, [esp + 0x54]
push edx
push ebx
call edi
push eax
call esi
cmp eax, ebx
je 0x416987
push str.hpGlobalShortcutPath__:_Global_shortcut_path_found
lea ecx, [esp + 0x14]
call fcn.00401a90
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x164], 1
call fcn.00412360
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x15c], 0xffffffff
jb 0x41696d
mov edx, dword [esp + 0x14]
push edx
call fcn.0041aebd
add esp, 4
mov esi, dword [esp + 0x164]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.00401a90
mov eax, esi
jmp 0x416a84
push 1
push 2
lea ecx, [esp + 0x54]
push ecx
push ebx
call edi
push eax
call esi
cmp eax, ebx
je 0x416a2a
push 0x30
push str.hpGlobalShortcutPath__:_User_shortcut_path_found
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00401890
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x164], 2
call fcn.00412360
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x15c], 0xffffffff
jb 0x4169f8
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041aebd
add esp, 4
mov esi, dword [esp + 0x164]
lea eax, [esp + 0x4c]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x416a10
sub eax, edx
push eax
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.00401890
mov eax, esi
jmp 0x416a84
push 0x2f
push str.hpGlobalShortcutPath__:_shortcut_path_not_found
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00401890
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x160], 3
call fcn.004122d0
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, 0x10
jb 0x416a74
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041aebd
add esp, 4
mov eax, dword [esp + 0x164]
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret