joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1037078
Capabilities:
Check mutex on windows

Disassembly:
push 0x1c
mov eax, 0x10585b9
call fcn.0100f160
mov esi, ecx
push 0x1003620
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
cmp eax, ebx
je 0x10370b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10370b0
xor eax, eax
call fcn.0100f24c
ret
lea ecx, [ebp - 0x28]
call fcn.01038450
mov dword [ebp - 4], ebx
push 0x1001d98
lea ecx, [ebp - 0x10]
call fcn.01010421
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0xf70b
push 0xf741
mov esi, 0xf692
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0103851e
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.010061d0
cmp edi, ebx
jge 0x103710f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.01037db6
mov eax, edi
jmp 0x10370aa
mov eax, dword [0x1061024]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x10]
call fcn.010086cc
test eax, eax
setne al
cmp al, bl
jne 0x103713f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.010061d0
mov edi, 0x80004005
jmp 0x10370ff
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x103712d
push 1
push eax
call dword [sym.imp.USER32.dll_FlashWindow]
jmp 0x103712d

Function at 0x1037c71
Capabilities:
Inspect load icon resource

Disassembly:
push 8
mov eax, 0x1058774
call fcn.0100f160
mov esi, ecx
push 0x1db
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
test ebx, ebx
jne 0x1037cab
or dword [ebp - 4], 0xffffffff
mov eax, 0x80004003
call fcn.0100f24c
ret 4
mov eax, dword [0x1061024]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push 0xf692
mov ecx, esi
call fcn.01037551
test eax, eax
jge 0x1037ce9
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.010061d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01010e7b
mov eax, esi
jmp 0x1037ca3
push 0x60
lea edi, [esi + 0x14]
push 0
push edi
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [esi + 0x20], 0xb
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], 8
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 0x1003848
mov dword [esi + 0x34], 0x1003838
mov dword [esi + 0x40], 2
mov dword [esi + 0x68], 0x1037be6
mov dword [esi + 0x6c], esi
xor esi, esi
push esi
push esi
push dword [ebp + 8]
mov dword [edi], 0x60
push edi
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
cmp eax, esi
jl 0x1037ccb
jmp 0x1037ccd
Function at 0x1038450
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1061184]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
or dword [esi + 0xc], 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 0x10], al
call fcn.01037e6d
test eax, eax
jl 0x10384a4
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
sbb al, al
inc al
mov byte [esi + 8], al
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100f14b
leave
ret
Function at 0x10458d8
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x1c]
xor ebx, ebx
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
mov byte [ebp - 4], bl
call fcn.0100fb9c
cmp dword [esi + 0x38], ebx
je 0x1045914
mov byte [esi + 0x3c], 1
cmp byte [ebp - 4], bl
je 0x104590c
lea ecx, [ebp - 8]
call fcn.0100fbcf
xor eax, eax
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp + 8]
push ebx
push ebx
push esi
push 0x10458b0
push ebx
push ebx
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
cmp eax, ebx
jne 0x10458ff
cmp byte [ebp - 4], bl
je 0x104593e
lea ecx, [ebp - 8]
call fcn.0100fbcf
mov eax, 0x80004003
jmp 0x104590e

Function at 0x10466cd
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0x18]
mov dword [esi], 0x1004690
call fcn.01051231
test eax, eax
jl 0x1046747
mov ecx, dword [esi + 8]
push edi
xor edi, edi
cmp ecx, edi
je 0x10466fb
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], edi
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x104670b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xc], edi
cmp dword [esi + 0x218], edi
jle 0x1046746
push ebx
lea ebx, [esi + 0x214]
push edi
mov ecx, ebx
call fcn.01018489
push eax
lea ecx, [ebp - 4]
call fcn.010103e4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
call fcn.010061d0
inc edi
cmp edi, dword [esi + 0x218]
jl 0x104671a
pop ebx
pop edi
lea ecx, [esi + 0x224]
call fcn.010061d0
lea ecx, [esi + 0x214]
call fcn.01011732
lea ecx, [esi + 0x208]
call fcn.01011732
lea ecx, [esi + 0x200]
call fcn.010061d0
lea ecx, [esi + 0x1fc]
call fcn.010061d0
lea ecx, [esi + 0x1f8]
call fcn.010061d0
lea ecx, [esi + 0x1f4]
call fcn.010061d0
lea ecx, [esi + 0x1e4]
call fcn.010061d0
lea ecx, [esi + 0x1e0]
call fcn.010061d0
lea ecx, [esi + 0x1dc]
call fcn.010061d0
lea ecx, [esi + 0x1d8]
call fcn.010061d0
lea ecx, [esi + 0x1d4]
call fcn.010061d0
lea ecx, [esi + 0x1d0]
call fcn.010061d0
lea ecx, [esi + 0x1cc]
call fcn.010061d0
lea ecx, [esi + 0x1b0]
call fcn.01011732
lea ecx, [esi + 0x1a0]
call fcn.010500ac
lea ecx, [esi + 0x19c]
call fcn.010061d0
lea ecx, [esi + 0x18c]
call fcn.0104f554
lea ecx, [esi + 0x148]
call fcn.010455d7
lea ecx, [esi + 0xe4]
call fcn.0101de2f
lea ecx, [esi + 0xe0]
call fcn.010061d0
lea ecx, [esi + 0x6c]
call fcn.01013fb3
lea ecx, [esi + 0x40]
call fcn.01045c76
lea ecx, [esi + 0x18]
call fcn.010511f5
lea ecx, [esi + 0x14]
call fcn.010061d0
pop esi
leave
ret
Function at 0x10488c5
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x1061184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x100333c
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
cmp edi, esi
jne 0x104890f
mov esi, 0x80004005
lea ecx, [ebp + 8]
call fcn.010061d0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100f14b
leave
ret 8
mov eax, dword [0x1061024]
push dword [ebp + 0xc]
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x808]
push eax
call fcn.01048862
mov eax, dword [ebp - 0x808]
pop ecx
pop ecx
push dword [ebp + 0xc]
cmp dword [eax - 8], esi
je 0x1048958
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x10049a8
push 0x400
push eax
call fcn.01028279
add esp, 0x18
jmp 0x1048974
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x1004994
push 0x400
push eax
call fcn.01028279
add esp, 0x14
push esi
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x80c]
push eax
push esi
push 1
push esi
push 0xc94703ea
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea ecx, [ebp - 0x808]
call fcn.010061d0
jmp 0x10488f5

Function at 0x104a2cb
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1061184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10614b0]
cmp eax, 0xffffffff
jne 0x104a33e
and dword [0x10614b0], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [0x10622dc], ax
test ax, ax
je 0x104a339
push 0x10
lea ecx, [ebp - 0x24]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x104a339
test dword [ebp - 0x16], 0x800
je 0x104a339
movzx eax, word [0x10622dc]
push eax
call fcn.0104a297
test eax, eax
je 0x104a339
mov dword [0x10614b0], 1
mov eax, dword [0x10614b0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100f14b
leave
ret
Function at 0x104a385
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
fld qword [ecx]
push ebx
push esi
push edi
call sub.msvcrt.dll__ftol2_sse
mov dword [ebp - 4], eax
cdq
push 0x3c
pop ecx
idiv ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
push 0x1e
mov edi, 0x400
push edi
mov ebx, eax
imul eax, eax, 0xffffffc4
add dword [ebp - 4], eax
mov eax, ebx
cdq
idiv ecx
mov dword [ebp - 0x10], eax
imul eax, eax, 0xffffffc4
add ebx, eax
call esi
mov ecx, dword [0x1061024]
mov dword [ebp - 8], ecx
push eax
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.01007539
push dword [ebp - 0xc]
push eax
push 0x1e
push edi
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.01008355
cmp byte [ebp + 0xc], 0
je 0x104a427
cmp dword [ebp - 4], 0x1e
jl 0x104a3fe
inc ebx
push ebx
push 0x1002ed8
push dword [ebp + 8]
call fcn.01008675
add esp, 0xc
test eax, eax
jne 0x104a456
lea ecx, [ebp - 8]
call fcn.010061d0
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret 8
push dword [ebp - 4]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x1004ba8
push dword [ebp + 8]
call fcn.01008675
add esp, 0x18
test eax, eax
jne 0x104a456
mov esi, 0x80004005
lea ecx, [ebp - 8]
call fcn.010061d0
mov eax, esi
jmp 0x104a420
xor esi, esi
jmp 0x104a44a

Function at 0x104a672
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
xor eax, eax
xor ebx, ebx
cmp dword [esi + 0x10], ebx
push edi
sete al
test dword [esi + 0x14], eax
je 0x104a6b0
push ebx
push ebx
push esi
push 0x104a63d
push ebx
push ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x60], eax
cmp eax, ebx
jne 0x104a6f9
mov eax, 0x80004003
jmp 0x104a6fb
lea edi, [esi + 0xc]
mov eax, dword [edi]
cmp eax, ebx
je 0x104a6f9
push eax
lea ecx, [esi + 0x18]
call fcn.01047412
cmp eax, ebx
jl 0x104a6fb
mov ecx, edi
call fcn.01047092
mov eax, dword [esi]
cmp eax, ebx
je 0x104a6a9
mov ecx, dword [esi + 0x5c]
push ebx
push 0x21
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x104a6ed
mov eax, 0x80004005
jmp 0x104a6fb
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], ebx
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x104a9a7
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x104aa24
cmp dword [esi + 0x10], edi
je 0x104a9c2
mov dword [esi + 0x14], 1
jmp 0x104aa24
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], edi
call fcn.010473b2
cmp eax, edi
jl 0x104aa26
push edi
push edi
push esi
push 0x104a63d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x60], eax
cmp eax, edi
jne 0x104a9f6
mov eax, 0x80004003
jmp 0x104aa26
mov eax, dword [esi]
cmp eax, edi
je 0x104a9ef
mov ecx, dword [esi + 0x5c]
push edi
push 0x21
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x104aa16
mov eax, 0x80004005
jmp 0x104aa26
push dword [esi + 0x54]
mov ecx, esi
call fcn.0104a704
cmp eax, edi
jl 0x104aa26
xor eax, eax
pop edi
pop esi
ret

Function at 0x104c3fa
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x4c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call fcn.0100fb9c
and dword [ebp - 0xc], 0
cmp dword [edi + 0x44], 0
jle 0x104c4c0
push dword [ebp - 0xc]
lea ecx, [edi + 0x40]
call fcn.01018489
mov esi, dword [eax]
test esi, esi
je 0x104c4d7
cmp byte [esi + 0x24], 0
je 0x104c4b1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
jne 0x104c4b1
mov ecx, esi
call fcn.0104efff
test al, al
je 0x104c4b1
mov eax, dword [0x1061024]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.0104fcb4
mov ebx, eax
test ebx, ebx
jl 0x104c4ec
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.0104fea1
mov esi, eax
test esi, esi
jl 0x104c50e
push 1
push dword [ebp - 4]
push 0
push dword [ebp - 8]
push 0x1002988
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.010061d0
lea ecx, [ebp - 8]
call fcn.010061d0
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edi + 0x44]
jl 0x104c427
cmp byte [ebp - 0x10], 0
je 0x104c4ce
lea ecx, [ebp - 0x14]
call fcn.0100fbcf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp byte [ebp - 0x10], 0
je 0x104c4e5
lea ecx, [ebp - 0x14]
call fcn.0100fbcf
mov eax, 0x80004003
jmp 0x104c4d0
lea ecx, [ebp - 4]
call fcn.010061d0
lea ecx, [ebp - 8]
call fcn.010061d0
cmp byte [ebp - 0x10], 0
je 0x104c50a
lea ecx, [ebp - 0x14]
call fcn.0100fbcf
mov eax, ebx
jmp 0x104c4d0
lea ecx, [ebp - 4]
call fcn.010061d0
lea ecx, [ebp - 8]
call fcn.010061d0
cmp byte [ebp - 0x10], 0
je 0x104c52c
lea ecx, [ebp - 0x14]
call fcn.0100fbcf
mov eax, esi
jmp 0x104c4d0
Function at 0x104d13c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x1061184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x488], eax
mov eax, dword [0x1061024]
push esi
push edi
mov dword [ebp - 0x474], eax
xor edi, edi
lea eax, [ebp - 0x474]
push eax
mov dword [ebp - 0x484], edi
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x47c], edi
call fcn.01047964
cmp eax, edi
jge 0x104d1b7
mov edi, eax
lea ecx, [ebp - 0x474]
call fcn.010061d0
lea ecx, [ebp - 0x484]
call fcn.01006682
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100f14b
leave
ret 8
push edi
push edi
push 0x20019
push edi
push edi
push dword [ebp - 0x474]
lea ecx, [ebp - 0x484]
push 0x80000001
call fcn.010066a0
cmp eax, edi
jl 0x104d18c
mov eax, dword [0x1061024]
push dword [ebp + 8]
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x46c]
push 0x1004c78
push eax
call fcn.01008675
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0x478]
push eax
push edi
lea eax, [ebp - 0x48c]
push eax
push edi
push dword [ebp - 0x46c]
push dword [ebp - 0x484]
call esi
mov ebx, eax
cmp ebx, edi
jge 0x104d238
lea ecx, [ebp - 0x46c]
call fcn.010061d0
mov edi, ebx
jmp 0x104d18e
mov eax, dword [0x1061024]
push dword [ebp - 0x478]
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x470], eax
call fcn.01007539
lea ecx, [ebp - 0x478]
push ecx
push eax
lea eax, [ebp - 0x48c]
push eax
push edi
push dword [ebp - 0x46c]
push dword [ebp - 0x484]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x470]
mov esi, eax
call fcn.01008355
cmp esi, edi
jne 0x104d2c4
push 0x5c
pop eax
push dword [ebp - 0x470]
lea ecx, [ebp - 0x468]
mov word [ebp - 0x10], ax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.01010072
test eax, eax
je 0x104d2b9
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x470]
push eax
call fcn.01011900
lea ecx, [ebp - 0x468]
call fcn.0100fcf8
lea ecx, [ebp - 0x470]
call fcn.010061d0
lea ecx, [ebp - 0x46c]
call fcn.010061d0
jmp 0x104d18e
Function at 0x104d487
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x1061184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1061024]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x474], eax
xor esi, esi
lea eax, [ebp - 0x474]
push eax
mov dword [ebp - 0x480], esi
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x478], esi
call fcn.01047964
cmp eax, esi
jge 0x104d4fa
mov esi, eax
lea ecx, [ebp - 0x474]
call fcn.010061d0
lea ecx, [ebp - 0x480]
call fcn.01006682
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100f14b
leave
ret 8
push esi
push esi
push 0x20006
push esi
push esi
push dword [ebp - 0x474]
lea ecx, [ebp - 0x480]
push 0x80000001
call fcn.010066a0
cmp eax, esi
jl 0x104d4d0
mov eax, dword [0x1061024]
push dword [ebp + 8]
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x46c]
push 0x1004c78
push eax
call fcn.01008675
add esp, 0xc
push 0x5c
pop eax
push dword [edi]
lea ecx, [ebp - 0x468]
mov word [ebp - 0x10], ax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.01010072
lea ecx, [ebp - 0x468]
test eax, eax
jne 0x104d57d
call fcn.0100fcf8
lea ecx, [ebp - 0x46c]
call fcn.010061d0
mov esi, 0x80004005
jmp 0x104d4d2
lea eax, [ebp - 0x470]
push eax
call fcn.010104dc
push dword [ebp - 0x470]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x470]
push 1
push esi
push dword [ebp - 0x46c]
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x470]
mov edi, eax
call fcn.010061d0
lea ecx, [ebp - 0x468]
call fcn.0100fcf8
lea ecx, [ebp - 0x46c]
call fcn.010061d0
cmp edi, esi
jge 0x104d4d2
mov esi, edi
jmp 0x104d4d2
Function at 0x104e761
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4a0
mov eax, dword [0x1061184]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
mov dword [ebp - 0x478], ecx
jne 0x104e78c
mov eax, 0x80004003
jmp 0x104e8eb
mov eax, dword [0x1061024]
push esi
mov dword [ebp - 0x46c], eax
push edi
lea eax, [ebp - 0x46c]
push eax
call fcn.0104fcb4
test eax, eax
jge 0x104e7bd
mov esi, eax
lea ecx, [ebp - 0x46c]
call fcn.010061d0
mov eax, esi
jmp 0x104e8e9
push 0x1004cd8
push dword [ebp - 0x46c]
call dword [sym.imp.msvcrt.dll__wfopen]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x104e7dd
mov esi, 0x80004003
jmp 0x104e7ab
mov esi, dword [sym.imp.msvcrt.dll_fread]
push edi
push 1
lea eax, [ebp - 0x4a0]
push 0x14
push eax
call esi
add esp, 0x10
cmp dword [ebp - 0x4a0], 0x46464952
jne 0x104e8d4
cmp dword [ebp - 0x498], 0x45564157
jne 0x104e8d4
push edi
push 1
lea eax, [ebp - 0x48c]
push 0x12
push eax
call esi
push edi
call dword [sym.imp.msvcrt.dll_fclose]
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
add esp, 0x14
push 0x5c
pop eax
push dword [ebp - 0x46c]
lea ecx, [ebp - 0x468]
mov word [ebp - 0x10], ax
call fcn.01010072
test eax, eax
je 0x104e8c7
lea ecx, [ebp - 0x468]
call fcn.0104e652
mov ecx, eax
movzx eax, word [ebp - 0x47c]
push 0xffffffffffffffee
mov esi, edx
cdq
pop edi
sub edi, eax
push 0xffffffffffffffff
pop eax
sbb eax, edx
add ecx, edi
adc esi, eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x474], ecx
mov dword [ebp - 0x470], esi
fild qword [ebp - 0x474]
fild dword [ebp - 0x484]
test eax, eax
jge 0x104e89d
fadd dword [0x1003414]
fdivp st(1)
push ecx
push ecx
lea ecx, [ebp - 0x474]
fstp qword [esp]
call fcn.0104a34f
mov ecx, dword [ebp - 0x474]
mov eax, dword [ebp - 0x478]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x470]
mov dword [eax + 0x2c], ecx
lea ecx, [ebp - 0x468]
call fcn.0100fcf8
jmp 0x104e8dc
push edi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
lea ecx, [ebp - 0x46c]
call fcn.010061d0
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100f14b
leave
ret 4
Function at 0x1050a92
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
cmp dword [eax - 8], 0
jne 0x1050ab7
push 0x1001d98
lea ecx, [esi + 0x20]
call fcn.0100864e
xor eax, eax
jmp 0x1050b1b
mov eax, dword [0x1061024]
push ebx
push 0x32
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.01007539
push 0x32
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.01008355
mov eax, dword [0x1061024]
push 0x50
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.01007539
mov ebx, eax
push 0x50
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x1050b2e
lea ecx, [ebp - 4]
call fcn.010061d0
lea ecx, [ebp - 8]
call fcn.010061d0
mov eax, 0x80004005
pop ebx
pop esi
leave
ret
push 0x50
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x1050b85
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.01013900
test eax, eax
jne 0x1050b1e
mov eax, dword [0x1061024]
push edi
push 0x10
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.01007539
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push 0x10
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
xor eax, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
mov word [edi + 4], ax
call fcn.01008355
lea eax, [ebp - 0xc]
push eax
lea ecx, [esi + 0x20]
call fcn.01011900
lea ecx, [ebp - 0xc]
call fcn.010061d0
pop edi
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.01008355
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
test eax, eax
jne 0x1050bb8
mov esi, 0x80004005
lea ecx, [ebp - 4]
call fcn.010061d0
lea ecx, [ebp - 8]
call fcn.010061d0
mov eax, esi
jmp 0x1050b1a
xor esi, esi
jmp 0x1050ba1

Function at 0x1050e29
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push 0x1004cd8
push eax
call dword [sym.imp.msvcrt.dll__wfopen]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1050e4f
mov eax, 0xc94700a8
jmp 0x1050e7d
and dword [ebp + 8], 0
push esi
push 1
lea eax, [ebp + 8]
push 4
push eax
call dword [sym.imp.msvcrt.dll_fread]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
mov eax, dword [ebp + 8]
sub eax, 0x46464952
add esp, 0x14
neg eax
sbb eax, eax
and eax, 0xc947007f
pop esi
pop ebp
ret 4