joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d1c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57791c
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], esi
call fcn.0049c7e9
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004a51e1
cmp eax, 9
jl 0x44d37d
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
push eax
lea ebx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004ea535
mov eax, dword [ebp - 0x2c]
mov esi, 8
add esp, 4
cmp dword [ebp - 0x18], esi
jae 0x44d244
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x2f0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x44d29c
cmp dword [ebp - 0x18], esi
jb 0x44d26d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00546771
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x58], vtable.CInternetExplorer.0
cmp dword [ebp - 0x38], esi
jb 0x44d295
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00546771
add esp, 4
mov al, 1
jmp 0x44d3a6
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x44d2a7
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
push 1
setne bl
push SysReAllocString
push 0x603614
test bl, bl
jne 0x44d2f2
lea eax, [ebp - 0xa0]
push eax
call fcn.0046ed07
mov eax, str.DeleteDownloadHistoryRequested
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 3
call fcn.004066c0
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
push ecx
jmp 0x44d31f
lea edx, [ebp - 0xa0]
push edx
call fcn.0046ed07
mov eax, str.DeleteDownloadHistoryRequested
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 5
call fcn.004066c0
push 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x30c]
call fcn.004707a7
lea ecx, [ebp - 0x30c]
call fcn.00409c40
lea ecx, [ebp - 0xa0]
call fcn.00415ec0
cmp dword [ebp - 0x18], esi
jb 0x44d351
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00546771
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x58], vtable.CInternetExplorer.0
cmp dword [ebp - 0x38], esi
jb 0x44d379
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00546771
add esp, 4
mov al, bl
jmp 0x44d3a6
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x58], vtable.CInternetExplorer.0
jb 0x44d295
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00546771
add esp, 4
mov al, 1
jmp 0x44d3a6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054677c
mov esp, ebp
pop ebp
ret
Function at 0x45c220
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45c26c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
push 0x1770
push ecx
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45c268
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
setne al
pop esi
ret
mov al, 1
pop esi
ret
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
setne al
pop esi
ret
Function at 0x4631ef
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x57749a
call fcn.0054d442
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov eax, 0x59672c
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.004066c0
mov eax, str.vToolbarUpdater
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.004066c0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00468077
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
call fcn.00409c40
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.00409c40
cmp dword [ebp - 0x18], ebx
jne 0x46326c
lea ecx, [ebp - 0x2c]
call fcn.00409c40
xor al, al
call fcn.0054d4c5
ret
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x48]
call fcn.00406fb0
mov eax, esi
push eax
mov eax, str.log4cplusU.dll
mov byte [ebp - 4], 3
call fcn.00411970
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x463295
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4632aa
lea ecx, [ebp - 0x48]
call fcn.00409c40
jmp 0x46325c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4632b6
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x463303
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, str.CLogger::SetDllDirectory_____SetDllDirectory_failed
lea ecx, [ebp - 0x64]
call fcn.004066c0
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00462bd0
pop ecx
lea ecx, [ebp - 0x64]
call fcn.00409c40
lea ecx, [ebp - 0x48]
call fcn.00409c40
lea ecx, [ebp - 0x2c]
call fcn.00409c40
mov al, bl
jmp 0x463266
mov bl, 1
jmp 0x4632ec

Function at 0x4635e8
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x464729
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
push 9
pop ecx
xor eax, eax
push 0x11c
lea edi, [ebp - 0xcc]
push eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0054ff70
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop edi
test eax, eax
je 0x464861
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4647a7
lea ecx, [ebp - 0xcc]
push ecx
call eax
jmp 0x4647b4
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 2
pop ecx
cmp dword [ebp - 0x98], ecx
jne 0x464861
cmp dword [ebp - 0xa4], 4
jbe 0x464861
cmp dword [ebp - 0xa4], 6
jne 0x46481b
xor eax, eax
cmp dword [ebp - 0xa0], eax
jne 0x4647ee
cmp byte [ebp + 0x72], 1
setne al
add eax, ecx
jmp 0x464863
inc eax
cmp dword [ebp - 0xa0], eax
jne 0x464806
xor ecx, ecx
cmp byte [ebp + 0x72], al
sete cl
add ecx, 4
mov eax, ecx
jmp 0x464863
cmp dword [ebp - 0xa0], ecx
jne 0x464861
xor ecx, ecx
cmp byte [ebp + 0x72], al
sete cl
add ecx, 6
jmp 0x464802
cmp dword [ebp - 0xa4], 5
jne 0x464861
cmp dword [ebp - 0xa0], ecx
jne 0x464861
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x46483d
xor eax, eax
inc eax
jmp 0x464863
test dword [ebp + 0x70], 0x2000
jne 0x464838
xor eax, eax
inc eax
test dword [ebp + 0x70], 0x8000
jne 0x464863
cmp byte [ebp + 0x72], al
jne 0x464863
cmp word [ebp - 0xcc], 9
jne 0x464863
xor eax, eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.0054677c
add ebp, 0x78
leave
ret
Function at 0x467ed8
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, dword [ebp + 0x1bc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x467f68
xor ecx, ecx
cmp cx, word [eax]
je 0x467f68
push edi
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x22c
mov edi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0054ff70
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push edi
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
push dword [ebp - 0x80]
lea eax, [ebp - 0x58]
push eax
call fcn.00547c6e
pop ecx
pop ecx
test eax, eax
je 0x467f5a
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x467f38
jmp 0x467f5c
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
jmp 0x467f6a
xor al, al
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
pop ebx
call fcn.0054677c
add ebp, 0x1b4
leave
ret

Function at 0x467f80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.COMMONPROGRAMFILES
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x467fbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46806a
push edi
push esi
lea eax, [ebp - 0x20c]
call fcn.00406690
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
mov eax, esi
call fcn.0043f770
cmp word [eax], 0x5c
je 0x46801c
or eax, 0xffffffff
sub eax, dword [esi + 0x14]
cmp eax, 1
ja 0x467fec
call fcn.0054551c
mov edi, dword [esi + 0x14]
inc edi
mov eax, esi
call fcn.00406ea0
test al, al
je 0x46801c
cmp dword [esi + 0x18], 8
mov ecx, dword [esi + 0x14]
jb 0x468009
mov eax, dword [esi + 4]
jmp 0x46800c
lea eax, [esi + 4]
push 0x5c
pop edx
mov word [eax + ecx*2], dx
mov ecx, edi
mov eax, esi
call fcn.00409c20
push 0
push ebx
or eax, 0xffffffff
call fcn.004117d0
or eax, 0xffffffff
sub eax, dword [esi + 0x14]
cmp eax, 1
ja 0x468037
call fcn.0054551c
mov edi, dword [esi + 0x14]
inc edi
mov eax, esi
call fcn.00406ea0
test al, al
je 0x468067
cmp dword [esi + 0x18], 8
mov ecx, dword [esi + 0x14]
jb 0x468054
mov eax, dword [esi + 4]
jmp 0x468057
lea eax, [esi + 4]
push 0x5c
pop edx
mov word [eax + ecx*2], dx
mov ecx, edi
mov eax, esi
call fcn.00409c20
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054677c
leave
ret
Function at 0x46bd2f
Capabilities:
Identify system language via api

Disassembly:
push ecx
and dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x409
cmp ax, cx
je 0x46bee7
add ecx, 0xfffffffc
cmp ax, cx
jne 0x46bd5d
mov eax, 0x5a6cf8
jmp 0x46beec
mov ecx, 0x406
cmp ax, cx
jne 0x46bd71
mov eax, 0x5a6d00
jmp 0x46beec
mov ecx, 0x407
cmp ax, cx
jne 0x46bd85
mov eax, 0x5a6d08
jmp 0x46beec
mov ecx, 0xc0a
cmp ax, cx
jne 0x46bd99
mov eax, str.es_es
jmp 0x46beec
mov ecx, 0x40c
cmp ax, cx
jne 0x46bdad
mov eax, 0x5a6d1c
jmp 0x46beec
mov ecx, 0x40e
cmp ax, cx
jne 0x46bdc1
mov eax, 0x5a6d24
jmp 0x46beec
mov ecx, 0x410
cmp ax, cx
jne 0x46bdd5
mov eax, 0x5a6d2c
jmp 0x46beec
mov ecx, 0x411
cmp ax, cx
jne 0x46bde9
mov eax, 0x5a6d34
jmp 0x46beec
mov ecx, 0x412
cmp ax, cx
jne 0x46bdfd
mov eax, 0x5a6d3c
jmp 0x46beec
mov ecx, 0x413
cmp ax, cx
jne 0x46be11
mov eax, 0x5a6d44
jmp 0x46beec
mov ecx, 0x415
cmp ax, cx
jne 0x46be25
mov eax, 0x5a6d4c
jmp 0x46beec
mov ecx, 0x816
cmp ax, cx
jne 0x46be39
mov eax, 0x5a6d54
jmp 0x46beec
mov ecx, 0x416
cmp ax, cx
jne 0x46be4d
mov eax, str.pt_br
jmp 0x46beec
mov ecx, 0x419
cmp ax, cx
jne 0x46be61
mov eax, 0x5a6d68
jmp 0x46beec
mov ecx, 0x41b
cmp ax, cx
jne 0x46be72
mov eax, 0x5a6d70
jmp 0x46beec
mov ecx, 0x41f
cmp ax, cx
jne 0x46be83
mov eax, 0x5a6d78
jmp 0x46beec
mov ecx, 0x804
cmp ax, cx
jne 0x46be94
mov eax, str.zh_cn
jmp 0x46beec
mov ecx, 0x404
cmp ax, cx
jne 0x46bea5
mov eax, str.zh_tw
jmp 0x46beec
mov ecx, 0x414
cmp ax, cx
jne 0x46beb6
mov eax, 0x5a6d98
jmp 0x46beec
mov ecx, 0x41d
cmp ax, cx
jne 0x46bec7
mov eax, 0x5a6da0
jmp 0x46beec
mov ecx, 0x408
cmp ax, cx
jne 0x46bed8
mov eax, 0x5a6da8
jmp 0x46beec
mov ecx, 0x40b
cmp ax, cx
mov eax, 0x5a6db0
je 0x46beec
mov eax, 0x5a6cf0
mov ecx, esi
call fcn.004066c0
mov eax, esi
pop ecx
ret
Function at 0x46c9f9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56a4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x601328]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
and dword [esp + 0xc], 0
call fcn.00464729
test eax, eax
jne 0x46ca61
lea eax, [esp + 0x10]
push str.USERPROFILE
push eax
call fcn.0046af75
and dword [esp + 0x40], 0
push eax
mov ebx, str.Local_SettingsApplication_Data
call fcn.00411600
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00409c40
jmp 0x46ca6e
push str.LOCALAPPDATA
push esi
call fcn.0046af75
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46ca82
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x57704e
call fcn.0054d442
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.00471e76
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
jne 0x46cab2
lea ecx, [ebp - 0x2c]
call fcn.00409c40
xor al, al
call fcn.0054d4c5
ret
lea eax, [ebp - 0x48]
push str.ProgramFiles
push eax
call fcn.0046af75
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00406f00
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00409c40
cmp dword [esi + 0x14], ebx
je 0x46caa2
push esi
mov eax, 0x5952a8
call fcn.00411970
push ebx
lea eax, [ebp - 0x2c]
push eax
or eax, 0xffffffff
call fcn.004117d0
push esi
mov eax, 0x59731c
call fcn.00411970
cmp dword [esi + 0x18], 8
jb 0x46cb0e
mov esi, dword [esi + 4]
jmp 0x46cb11
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46cb28
lea ecx, [ebp - 0x2c]
call fcn.00409c40
mov al, bl
jmp 0x46caac
mov bl, 1
jmp 0x46cb1c

Function at 0x46e0ea
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x46e0b2
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 4], eax
mov al, cl
pop edi
ret

Function at 0x46e11c
Capabilities:
Terminate thread

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
setne al
ret
Function at 0x46eb4f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
test edi, edi
je 0x46eb61
cmp dword [esi], 2
jae 0x46eb61
push 0x7a
pop eax
jmp 0x46ebc2
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46ebc2
cmp dword [ebp + 0xc], 7
je 0x46eb92
push 0xd
jmp 0x46eb5e
mov ecx, dword [ebp - 4]
test edi, edi
je 0x46ebbc
test cl, 1
jne 0x46eb8e
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x46eb8e
cmp word [edi + eax*2 - 2], 0
jne 0x46eb8e
cmp eax, 1
jbe 0x46ebbc
cmp word [edi + eax*2 - 4], 0
jne 0x46eb8e
shr ecx, 1
mov dword [esi], ecx
xor eax, eax
leave
ret 8
Function at 0x471805
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 0x14], 0
jne 0x471814
push 0xd
pop eax
leave
ret
and dword [ebp - 4], 0
cmp dword [eax + 0x1c], 8
jb 0x471823
mov ecx, dword [eax + 8]
jmp 0x471826
lea ecx, [eax + 8]
push edi
lea edx, [ebp - 4]
push edx
push 0xf003f
push 0
push ecx
push dword [eax + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x47186a
cmp dword [ebp - 4], eax
je 0x47186a
cmp dword [esi + 0x18], 8
jb 0x471852
mov eax, dword [esi + 4]
jmp 0x471855
lea eax, [esi + 4]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x4719c1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56a4a2
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x601328]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x601328]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov eax, 0x20019
lea esi, [esp + 0x18]
mov dword [esp + 0x258], edi
call fcn.00415cf0
cmp eax, edi
je 0x471a5b
mov edi, 0x3e80
lea esi, [esp + 0x18]
call fcn.00415e80
mov eax, edi
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0054677c
mov esp, ebp
pop ebp
ret
xor esi, esi
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
push esi
push dword [esp + 0x34]
mov dword [esp + 0x34], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x471ac2
cmp eax, edi
jne 0x471abf
lea eax, [esp + 0x44]
lea ecx, [esp + 0x28]
call fcn.004066c0
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x25c], 1
call fcn.0045ad90
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], 0
call fcn.00409c40
xor edi, edi
inc esi
jmp 0x471a5d
lea esi, [esp + 0x18]
call fcn.00415e50
jmp 0x471a2c
Function at 0x471ad0
Capabilities:
Encrypt data using dpapi
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 8]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareMicrosoftInternet_ExplorerUser_Preferences
push SysReAllocString
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x471b73
mov eax, edi
mov dword [ebp - 0x14], edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x471b09
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x471b46
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x471b73
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 3
push esi
push str.88D7D0879DAB32E14DE5B3A805A34F98AFF34F5977
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x47239c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
lea ecx, [ebp - 0x148]
push ecx
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x47242b
cmp byte [ebp - 0x11c], 0x2e
je 0x47240d
test byte [ebp - 0x148], 0x10
je 0x47240d
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x11c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x472404
test dl, dl
je 0x472400
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x472404
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x4723e6
xor eax, eax
jmp 0x472409
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x472422
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x4723cb
jmp 0x472424
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0054677c
leave
ret
Function at 0x47243b
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x569351
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x601328]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x601328]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push eax
lea ecx, [esp + 0x88]
call fcn.00408360
and dword [esp + 0xb0], 0
push esi
lea ecx, [esp + 0x6c]
call fcn.00408360
xor edx, edx
lea ebx, [esp + 0x68]
mov byte [esp + 0xb0], 1
xor esi, esi
call fcn.004945a0
mov edi, eax
jmp 0x4725af
mov eax, edi
sub eax, esi
push eax
push esi
lea eax, [esp + 0x70]
push eax
lea esi, [esp + 0x20]
call fcn.0049461f
push 0x5a7afc
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0xbc], 2
call fcn.00494a3f
add esp, 0xc
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [esp + 0x18]
jae 0x472508
lea ecx, [esp + 0x18]
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x472517
lea eax, [esp + 0x34]
push ecx
push eax
call fcn.0047239c
pop ecx
pop ecx
test al, al
jne 0x472564
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00494a81
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp dword [esp + 0x64], 0x10
jae 0x47254d
lea eax, [esp + 0x50]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x4c]
cmp eax, ebx
je 0x4725bc
call fcn.00408970
push 0x5a7b04
push 0
lea eax, [esp + 0x1c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x90]
call fcn.00405ab0
push eax
call fcn.00494562
lea esi, [edi + 1]
mov edx, esi
lea ebx, [esp + 0x68]
call fcn.004945a0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00408970
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 1
call fcn.00408970
cmp edi, 0xffffffff
jne 0x4724bb
mov bl, 1
jmp 0x4725d3
call fcn.00408970
lea ecx, [esp + 0x30]
call fcn.00408970
lea ecx, [esp + 0x14]
call fcn.00408970
lea ecx, [esp + 0x68]
call fcn.00408970
lea ecx, [esp + 0x84]
call fcn.00408970
mov al, bl
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0054677c
mov esp, ebp
pop ebp
ret
Function at 0x4865c6
Capabilities:
Get file version info

Disassembly:
push 0x34
mov eax, 0x57c79a
call fcn.0054d442
xor edi, edi
xor eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.004860c7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], edi
jae 0x486601
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x38]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
jbe 0x486674
push esi
call fcn.00545b75
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x486674
push esi
push edi
push ebx
call fcn.0054ff70
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
jae 0x486635
lea eax, [ebp - 0x28]
push ebx
push esi
push edi
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x48666d
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x5952a8
push ebx
mov dword [ebp - 0x3c], 0x104
mov dword [ebp - 0x34], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48666d
mov eax, dword [ebp - 0x34]
movzx eax, word [eax + 0xa]
mov dword [ebp - 0x30], eax
push ebx
call fcn.00547866
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00409c40
mov eax, dword [ebp - 0x30]
call fcn.0054d4c5
ret
Function at 0x49839b
Capabilities:
Check if file exists

Disassembly:
push dword [esp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4983ad
xor al, al
jmp 0x4983bc
push dword [esp + 4]
mov eax, dword [esp + 0xc]
call fcn.00406690
mov al, 1
ret 8