joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147b0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov dword [esi + 0x34], edi
call fcn.00414a30
test eax, eax
jne 0x4147eb
mov eax, dword [0x6cee54]
test eax, eax
je 0x4147e2
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x4147e2
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x4147e2
mov byte [eax + 0x40], 1
mov ecx, esi
call fcn.00416070
jmp 0x414810
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x414810
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x414810
push 0
push 0
push 0
push 0
push 0
push 0x414610
call fcn.005e178a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4148cd
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4148cd
mov ecx, dword [0x6cee7c]
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.IDMBIIEXPLORE
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41487c
lea edx, [esp + 0x10]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push 0x6a0764
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 8
mov eax, dword [0x6cee7c]
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.IDMBIIEXPLORE
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4148cd
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push 0x6a0764
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 8
Function at 0x4148e0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f3570
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
push reloc.WS2_32.dll_accept
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x41492e
mov ecx, dword [esp + 0xc]
push str.Download_with_IDMan
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push str.SoftwareClassesPROTOCOLSName_Space_Handler_
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x41495d
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.http_
push ecx
call esi
test eax, eax
jne 0x41499f
mov edx, dword [esp + 8]
push 0x6a19cc
push edx
call edi
mov eax, dword [esp + 8]
push 0x6a19c8
push eax
call edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.https_
push edx
call esi
test eax, eax
jne 0x4149cf
mov eax, dword [esp + 8]
push 0x6a19cc
push eax
call edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ftp_
push edx
call esi
test eax, eax
jne 0x414a0b
mov eax, dword [esp + 8]
push 0x6a19cc
push eax
call edi
mov ecx, dword [esp + 8]
push 0x6a19c8
push ecx
call edi
mov ecx, dword [esp + 0x14]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x414a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f358b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x414bab
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call esi
test eax, eax
jne 0x414bab
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.NoExplorer
push edx
mov dword [ebp - 0x24], 4
call edi
test eax, eax
jne 0x414bab
cmp dword [ebp - 0x1c], 1
jne 0x414bab
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
call fcn.004407d0
test eax, eax
je 0x414b5f
lea edx, [ebp - 0x18]
push edx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x414bab
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push 0x20119
push 0
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push ecx
call esi
test eax, eax
jne 0x414bab
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.NoExplorer
push ecx
mov dword [ebp - 0x20], 4
call edi
test eax, eax
jne 0x414bab
cmp dword [ebp - 0x1c], 1
jne 0x414bab
mov edx, dword [ebp - 0x14]
push edx
call ebx
mov eax, dword [ebp - 0x18]
push eax
call ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414bc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f35be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push 4
xor ebx, ebx
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x6cee7c]
push 4
push ebx
push edx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp esi, ebx
jne 0x414c26
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x224]
call fcn.0049e3c0
mov ecx, dword [0x6ca27c]
mov dword [ebp + 0xc], ecx
push esi
lea edx, [ebp + 0xc]
push str.RegSetValueEx_err__ld_in_CBrInt:SaveIntToReg_n
push edx
mov byte [ebp - 4], 2
call fcn.005d9fbb
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x224]
push 1
push eax
call fcn.0049e4e0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call fcn.0049e4d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415060
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
mov ecx, esi
call fcn.00401070
mov eax, 0x6ce7c8
test eax, eax
je 0x4150d0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4150d0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push 0x6ce7c8
push eax
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x4150d0
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dd58d
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4150d0
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push 0x6ce7c8
push 0
push 0
call edi
mov dword [esi + 8], eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareOpera_Software
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4150fe
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
mov ebx, 0x208
push str.Last_Directory
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x4151b0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Last_CommandLine
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x415181
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Last_Directory2
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x4151b0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
lea ecx, [esp + 0x14]
push 0x6a1bc4
push ecx
call fcn.005c53a5
add esp, 8
test eax, eax
je 0x415209
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.005c4a9a
add esp, 8
test eax, eax
je 0x4151b0
mov word [eax + 2], 0
lea eax, [esp + 0x14]
push eax
call fcn.005c4b4a
add esp, 4
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x4151d7
lea ecx, [esp + 0x14]
push 0x6a0054
push ecx
call fcn.005c4cc0
add esp, 8
lea edx, [esp + 0x14]
push str.ProgramPlugins_
push edx
push 0x6a0048
mov ecx, esi
call fcn.0040e360
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret 4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.Last_Directory2
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x4151b0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
Function at 0x416070
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
mov edi, ecx
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4160c9
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push eax
push 0xf003f
push eax
push 0x6ce7c8
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call esi
test eax, eax
je 0x4160e7
cmp eax, 5
je 0x416206
push eax
push str.Err__ld_CBIr::IntIE__s7_n
mov ecx, edi
call fcn.00416210
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [str.IDM_Helper]
mov ecx, dword [0x6a1e00]
mov dx, word [0x6a1e04]
mov dword [esp + 0x20], eax
mov al, byte [0x6a1e06]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x2a], al
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov word [esp + 0x28], dx
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push eax
push edx
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push 0
push str.NoExplorer
push ecx
mov dword [esp + 0x30], 1
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
call fcn.004407d0
test eax, eax
je 0x416206
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0x6ce7c8
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x416206
lea edx, [esp + 0x10]
push eax
push edx
push eax
push 0xf013f
push eax
push 0x6ce7c8
push eax
mov eax, dword [esp + 0x30]
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push eax
call esi
test eax, eax
jne 0x416206
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push eax
push edx
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push 0
push str.NoExplorer
push ecx
mov dword [esp + 0x34], 1
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x417ec0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6cee7c]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.intAOFRWE
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417f00
mov eax, dword [esp + 4]
test eax, eax
je 0x417f00
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x41c810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f3e81
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x210
cmp eax, 1
push ebp
push esi
push edi
mov edi, ecx
jg 0x41c840
xor eax, eax
jmp 0x41c9b8
mov esi, dword [esp + 0x22c]
xor ebp, ebp
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41c9b6
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41c9b6
mov ecx, dword [0x6ca27c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push eax
mov dword [esp + 0x22c], ebp
call fcn.00417e70
test eax, eax
jne 0x41c88f
push str.this
lea ecx, [esp + 0x14]
call fcn.005e1315
mov eax, dword [0x6cee18]
mov ebp, 1
test eax, eax
jne 0x41c8a2
mov eax, 0x6cee1c
push str.idmmzcc.xpi
push eax
lea eax, [esp + 0x1c]
push 0x6a12a8
push eax
call fcn.005c5a8c
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x234]
jne 0x41c939
test eax, eax
je 0x41c921
mov edx, dword [0x6ca27c]
mov dword [esp + 0xc], edx
mov eax, dword [0x6cf4d8]
push 1
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x230], 1
call fcn.005d9fbb
mov edx, dword [esp + 0x18]
add esp, 0xc
push 0x30
push 0x6a00fc
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.005e118c
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0xffffffff
call fcn.005e118c
xor eax, eax
jmp 0x41c9b8
test eax, eax
je 0x41c991
mov eax, dword [0x6ca27c]
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [0x6cf740]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x234], 2
call fcn.005d9fbb
mov edx, dword [0x6cf780]
mov eax, dword [esp + 0x1c]
add esp, 0x10
push 0x40
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.005e118c
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.0040fbc0
lea ecx, [esp + 0x10]
mov dword [esi + 0x10], 1
mov dword [esp + 0x224], 0xffffffff
call fcn.005e118c
mov eax, ebp
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x21c
ret 0xc
Function at 0x41daf0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5f4071
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
push edi
mov ebp, ecx
push ebx
mov dword [esp + 0x14], ebp
call fcn.005e0f01
lea esi, [ebp + 4]
xor eax, eax
mov dword [esp + 0x28], eax
lea ecx, [esi + 4]
mov dword [esi], eax
mov dword [esi + 8], eax
mov word [ecx], ax
mov edi, dword [ebx + 4]
cmp edi, eax
je 0x41dba2
cmp dword [esi], eax
je 0x41dba2
push edi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x41dba2
mov eax, dword [esi]
cmp eax, edi
ja 0x41dba2
push eax
call fcn.005c4b4a
mov edx, dword [esi]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, edi
jb 0x41dba2
xor eax, eax
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x1c], ax
call fcn.00401f60
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 1
test eax, eax
jne 0x41db8a
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00401f60
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.00401070
jmp 0x41dbe8
mov ecx, esi
call fcn.00401070
test edi, edi
je 0x41dbe8
push edi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x41dbe8
push edi
call fcn.005c4b4a
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dd58d
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x41dbe8
push edi
call fcn.005c4b4a
mov edx, dword [esi]
push edi
push edx
mov dword [esi + 8], eax
call fcn.005c4cea
add esp, 0xc
lea eax, [ebx + 0x10]
lea ecx, [ebp + 0x10]
push eax
mov byte [esp + 0x2c], 2
call fcn.005e0f01
lea ecx, [ebx + 0x14]
mov byte [esp + 0x28], 3
push ecx
lea ecx, [ebp + 0x14]
call fcn.005e0f01
lea edx, [ebx + 0x18]
lea ecx, [ebp + 0x18]
push edx
mov byte [esp + 0x2c], 4
call fcn.005e0f01
mov eax, dword [ebx + 0x20]
pop edi
mov dword [ebp + 0x20], eax
mov ecx, dword [ebx + 0x24]
mov dword [ebp + 0x24], ecx
mov edx, dword [ebx + 0x28]
mov dword [ebp + 0x28], edx
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0x2c], eax
mov cl, byte [ebx + 0x30]
mov byte [ebp + 0x30], cl
mov dl, byte [ebx + 0x31]
mov ecx, dword [esp + 0x1c]
mov byte [ebp + 0x31], dl
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x41df50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f4120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6ca27c]
push esi
push edi
mov esi, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 8]
push eax
push 0x69ffbc
push ecx
mov dword [esp + 0x34], 0
call fcn.005d9fbb
mov eax, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x41dfb3
push eax
lea edx, [esp + 0x10]
push 0x69ffbc
push edx
call fcn.005d9fbb
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov edi, dword [esi + 0x90]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
add esi, 0x88
mov dword [esp + 0x14], ecx
lea ecx, [edi + 1]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.0041e540
mov eax, dword [esi + 4]
lea edx, [edi + edi*2]
lea ecx, [esp + 8]
lea esi, [eax + edx*8]
push ecx
mov ecx, esi
call fcn.005e12c5
lea edx, [esp + 0xc]
lea ecx, [esi + 4]
push edx
call fcn.005e12c5
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call fcn.005e118c
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.005e118c
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x18

Function at 0x41e0b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
lea ebx, [ecx + 8]
push esi
push ebp
mov ecx, ebx
call fcn.005b4640
test eax, eax
je 0x41e142
mov al, byte [esp + 0x1c]
test al, al
je 0x41e0da
mov al, byte [esi + 0x30]
test al, al
jne 0x41e142
mov edx, dword [esp + 0x14]
test edx, edx
je 0x41e10b
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
pop edi
not ecx
dec ecx
mov ecx, dword [eax - 8]
je 0x41e107
test ecx, ecx
je 0x41e142
push edx
push eax
call fcn.005c62fc
add esp, 8
jmp 0x41e110
test ecx, ecx
jmp 0x41e112
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
sete al
test al, al
je 0x41e142
mov eax, dword [esi + 4]
test eax, eax
jne 0x41e123
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e13a
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
push ebp
mov ecx, ebx
call fcn.00512600
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x427f90
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5f4ba6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x6c]
mov dword [esp + 0x14], 0x1a
call fcn.005e118c
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 0x19
call fcn.005e118c
lea ecx, [esi + 0x64]
mov byte [esp + 0x14], 0x18
call fcn.005e118c
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0x17
call fcn.005e118c
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 0x16
call fcn.005e118c
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 0x15
call fcn.005e118c
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 0x14
call fcn.005e118c
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 0x13
call fcn.005e118c
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 0x12
call fcn.005e118c
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 0x11
call fcn.005e118c
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 0x10
call fcn.005e118c
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 0xf
call fcn.005e118c
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xe
call fcn.005e118c
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 0xd
call fcn.005e118c
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 0xc
call fcn.005e118c
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0xb
call fcn.005e118c
mov byte [esp + 0x14], 0xa
lea ecx, [esi + 0x2c]
call fcn.005e118c
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov ecx, dword [esi + 0x24]
push ecx
call edi
mov edx, dword [esi + 0x20]
push edx
call edi
mov eax, dword [esi + 0x1c]
push eax
call edi
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 5
call fcn.005e118c
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 4
call fcn.005e118c
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
call fcn.005e118c
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 2
call fcn.005e118c
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call fcn.005e118c
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.005e118c
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.005e118c
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x430480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5406
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], 0x61797c
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x6ca27c]
lea edi, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov dword [edi], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x120]
push ecx
push edx
mov dword [esi], 0x617978
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov eax, dword [0x6cee7c]
push ebx
push ebx
push str.ToolbarStyle
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x430554
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x430533
lea ecx, [ebp - 0x120]
lea eax, [esi + 0x1c]
push ecx
push 0x69ffbc
push eax
call fcn.005d9fbb
add esp, 0xc
lea edx, [ebp - 0x120]
push str.ClassicOld
push edx
call fcn.005c6000
add esp, 8
test eax, eax
jne 0x430562
mov dword [esi + 0x28], 1
jmp 0x430562
push str.3D_Style
push edi
call fcn.005d9fbb
add esp, 8
mov edx, dword [0x6cee7c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push ebx
push ebx
push str.LargeButtons
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43058f
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
mov ecx, esi
mov dword [esi + 0x18], ebx
call fcn.00430820
cmp dword [esi + 0x28], ebx
jne 0x4305e8
cmp dword [esi + 0x20], ebx
jne 0x4305e8
xor edi, edi
cmp edi, dword [esi + 0xc]
jge 0x4305e8
mov edx, dword [esi + 8]
lea ecx, [edi + edi*4]
push str.3D_Style
mov eax, dword [edx + ecx*4]
push eax
call fcn.005c62fc
add esp, 8
test eax, eax
jne 0x4305dc
inc edi
mov eax, esi
mov dword [esi + 0x20], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
jmp 0x4305a5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret