joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ce69c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5ce71a
mov eax, dword [ebx + 8]
call fcn.005284d4
mov ecx, eax
mov dl, 1
mov eax, dword [0x534acc]
call fcn.00522590
mov dword [ebx + 0x8c], eax
mov esi, dword [ebx + 0x8c]
xor edx, edx
mov eax, esi
call fcn.00539788
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x5cdf6c
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005284d4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005284d4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5ce794
mov eax, dword [ebx + 8]
call fcn.005284d4
mov ecx, eax
mov dl, 1
mov eax, dword [0x534acc]
call fcn.00522590
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov dl, 1
mov eax, esi
call fcn.00539788
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x5cdfb8
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005284d4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005284d4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5ce802
mov eax, dword [ebx + 8]
call fcn.005284d4
mov ecx, eax
mov dl, 1
mov eax, dword [0x535568]
call fcn.00522590
mov dword [ebx + 0x94], eax
mov eax, dword [ebx + 0x94]
mov byte [eax + 0x2a0], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.005284d4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.005284d4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5e7fb8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5e80d8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5e808f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.0040a8e8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x5e8080
mov eax, ebx
call fcn.00406e88
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, esi
call fcn.0040a8e8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5e8085
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5e80ec
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5e8085
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
xor edx, edx
or eax, dword [ebp - 8]
or edx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp 0x5e8085
call fcn.005e812c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e80bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e80df
cmp dword [ebp - 0xc], 0
je 0x5e80d7
mov eax, dword [ebp - 0xc]
call fcn.00406ea4
ret

Function at 0x5e823c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x5e8351
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x5e8303
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, ebx
call fcn.00424bfc
test al, al
je 0x5e82f9
push 0x20
mov ecx, ebx
mov dl, 1
mov eax, dword [0x490dd4]
call fcn.004b4034
mov dword [ebp - 8], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x24]
lea edx, [ebp - 0x48]
mov ecx, 0x40
mov eax, dword [ebp - 8]
call fcn.004b27cc
cmp word [ebp - 0x48], 0x5a4d
jne 0x5e82f9
cmp dword [ebp - 0xc], 0
je 0x5e82f9
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.004b1844
lea edx, [ebp - 0x140]
mov ecx, 0xf8
mov eax, dword [ebp - 8]
call fcn.004b27cc
cmp dword [ebp - 0x140], 0x4550
jne 0x5e82f9
movzx eax, word [ebp - 0x13c]
mov dword [esi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e8330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e8358
cmp dword [ebp - 8], 0
je 0x5e8350
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00407fd0
ret
Function at 0x5e8e48
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5e8e51
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5e8ffe
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
xor edx, edx
push ebp
push 0x5e8fa9
push dword fs:[edx]
mov dword fs:[edx], esp
test esi, esi
je 0x5e8e9d
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5e8e96
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x5e8e9f
xor eax, eax
test al, al
je 0x5e8eb6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5e8eaf
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x5e8eb8
xor eax, eax
test al, al
je 0x5e8ec8
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00424c94
jmp 0x5e8eca
xor eax, eax
test al, al
je 0x5e8f9f
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00424c94
test al, al
jne 0x5e8ef0
mov eax, dword [ebp - 0x10]
call fcn.004253fc
test al, al
je 0x5e8f9f
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x5e8f82
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0042ba58
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
pop ecx
call fcn.0040ab3c
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.0042ba58
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
pop ecx
call fcn.0040ab3c
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00424bfc
test al, al
je 0x5e8f81
mov eax, dword [ebp - 8]
call fcn.0040a8e8
push eax
mov eax, dword [ebp - 4]
call fcn.0040a8e8
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x5e8f81
inc dword [ebp - 0x18]
inc ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x5e8efc
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x18]
sete byte [ebp - 0x11]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e8fd6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e9005
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00409e58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409e58
ret

Function at 0x5f2f18
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x5f2f2b
add esp, 0xfffffff0
call fcn.00408658
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5f3410
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [eax], esp
Function at 0x5f55e4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5f579d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x5f5748
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x5f5622
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5f562a
mov al, 1
jmp 0x5f5635
mov dl, 1
mov eax, esi
call fcn.00424c94
xor al, 1
test al, al
je 0x5f5646
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f5775
lea edx, [ebp - 4]
mov eax, esi
call fcn.0042baa0
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x5f57b8
call fcn.0040aebc
test eax, eax
jle 0x5f5684
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00425238
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5f567d
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x5f5686
xor eax, eax
test al, al
je 0x5f5725
xor edi, edi
inc edi
push dword [ebp - 4]
push 0x5f57c8
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004240b0
push dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040abc4
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00424c94
test al, al
jne 0x5f5690
mov eax, dword [ebp - 8]
call fcn.0040a8e8
push eax
mov eax, dword [ebp - 4]
call fcn.0040a8e8
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x5f570a
test bl, bl
je 0x5f56f4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.005f5440
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x5f2dd8]
call fcn.005fcec4
call fcn.004c1d30
jmp 0x5f573e
test bl, bl
je 0x5f571a
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.005f523c
jmp 0x5f573e
xor edx, edx
mov eax, esi
call fcn.005e8a3c
jmp 0x5f573e
test bl, bl
je 0x5f5735
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.005f523c
jmp 0x5f573e
xor edx, edx
mov eax, esi
call fcn.005e8a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f5775
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f57a4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409e58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409e58
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x33ef5359
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x43596e09
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x100016bc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100016bc
mov ecx, dword [esi + 0x3cc]
xor edx, edx
div ecx
mov dword [ebp - 4], eax
test edx, edx
jne 0x100016bc
mov edx, dword [ebp + 0x14]
push ebx
push edi
cmp edx, 1
jne 0x10001618
mov edi, dword [ebp + 8]
xor edx, edx
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], edi
mov dword [ebp + 8], ebx
test eax, eax
je 0x100016ba
lea ebx, [esi + 0x3f4]
nop
cmp byte [esi + 4], 0
mov eax, ebx
je 0x100015d5
xor edx, edx
test ecx, ecx
jle 0x100015d5
sub edi, ebx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x100015c0
mov edi, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.100016d0
push dword [esi + 0x3cc]
push dword [ebp + 8]
push ebx
call fcn.1002c5a0
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [ebp + 0x10]
add edi, ecx
div ecx
inc dword [ebp + 0x14]
add esp, 0xc
add dword [ebp + 8], ecx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x14], eax
jb 0x100015b0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp edx, 2
jne 0x10001687
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], ebx
jbe 0x100016ba
lea eax, [esi + 0x3f4]
push edi
push eax
mov ecx, esi
call fcn.100016d0
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.10001d90
push dword [esi + 0x3cc]
lea eax, [esi + 0x3f4]
push edi
push eax
call fcn.1002c5a0
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [ebp + 0x10]
inc ebx
div ecx
add dword [ebp + 8], ecx
add esp, 0xc
add edi, ecx
cmp ebx, eax
lea eax, [esi + 0x3f4]
jb 0x10001637
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], edi
jbe 0x100016ba
push eax
push ebx
mov ecx, esi
call fcn.100016d0
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [ebp + 0x10]
inc edi
div ecx
add dword [ebp + 8], ecx
add ebx, ecx
cmp edi, eax
mov eax, dword [ebp + 8]
jb 0x10001697
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10002f80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, dword [ebp + 8]
xor bl, bl
cmp dword [edi + 0x10], 0
je 0x100030ba
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
je 0x100030b1
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10002faf
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
test eax, eax
je 0x100030b1
push 0x1006f6e4
push eax
call fcn.10015a5d
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x100030b1
cmp dword [esi + 0x14], 0x10
jb 0x10002fe5
mov esi, dword [esi]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10003097
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x10055664
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10003097
mov eax, dword [ebp - 0xc]
push 0x1006f6e4
push 0x80
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 4], ecx
call fcn.10015a5d
mov esi, eax
add esp, 8
test esi, esi
je 0x10003099
cmp dword [edi + 0x14], 0x10
jb 0x10003049
mov edi, dword [edi]
push edi
push dword [ebp - 4]
push str.StringFileInfo_08lx_s
push 0x80
push esi
call fcn.100030f0
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10003093
mov edx, dword [ebp - 0x14]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003080
sub ecx, edi
push ecx
mov ecx, dword [ebp + 0x10]
push edx
call fcn.10001e90
mov bl, 1
jmp 0x10003099
xor esi, esi
push dword [ebp + 8]
call fcn.10015a23
add esp, 4
test esi, esi
je 0x100030b1
push esi
call fcn.10015a23
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100044a0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor al, al
push esi
mov esi, ecx
mov byte [ebp - 1], al
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100044b4
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100044d5
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
xor ecx, ecx
lea edi, [esi + 1]
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10015a1a
add esp, 4
mov ebx, eax
test edi, edi
je 0x1000450d
mov ecx, edi
xor eax, eax
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea edi, [esi + 1]
push dword [ebp + 8]
push edi
push ebx
call fcn.10030f8f
add esp, 0xc
xor edi, edi
nop dword [eax]
movzx eax, word [ebx + edi*2]
cmp eax, 0x5c
je 0x1000452e
cmp eax, 0x2f
jne 0x1000456f
mov dword [ebp - 0xc], eax
xor eax, eax
push ebx
mov word [ebx + edi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10004568
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10004587
mov eax, dword [ebp + 0xc]
mov byte [ebp - 1], 1
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10004568
mov dword [ebp - 8], ebx
lea edx, [ebp - 8]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
mov word [ebx + edi*2], ax
inc edi
cmp edi, esi
jbe 0x10004520
push ebx
call fcn.10015a23
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov byte [ebp - 1], 0
call fcn.10015a23
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100046a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1006d090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.1002cb20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
add esp, 0xc
or ecx, 0x8000
cmp byte [ebp + 0x10], 0
cmove ecx, dword [ebp + 0xc]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test eax, eax
je 0x10004720
xor eax, eax
mov word [esi], ax
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015a09
mov esp, ebp
pop ebp
ret
xor eax, eax
lea ecx, [ebp - 0x20c]
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004730
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10002af0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10015a09
mov esp, ebp
pop ebp
ret
Function at 0x100049e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1006d090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10004a6c
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.1002cb20
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10004a6c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10004a65
nop dword [eax]
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10037c9a
add esp, 8
test eax, eax
je 0x10004a7e
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10004a40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015a09
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop edi
pop esi
call fcn.10015a09
mov esp, ebp
pop ebp
ret
Function at 0x10006620
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f258
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1006d090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], eax
test edi, edi
jne 0x10006667
xor al, al
jmp 0x1000678b
cmp dword [ecx + 0x14], 0
lea esi, [ecx + 4]
ja 0x100066b7
lea eax, [ebp - 0x40]
push eax
call fcn.100047d0
mov edi, eax
add esp, 4
cmp esi, edi
je 0x100066ac
mov ecx, esi
call fcn.100027b0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.100027b0
mov edi, dword [ebp - 0x48]
push esi
lea ecx, [ebp - 0x28]
call fcn.10002df0
push 0xa
push str.Software_
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10002630
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100066e0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10002630
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x1000672d
push 1
push 0x1005565c
lea ecx, [ebp - 0x28]
call fcn.10002630
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006714
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10002630
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push ecx
push 0xf003f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10006781
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1000676d
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x10006778
push 0
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.100027b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10015a09
mov esp, ebp
pop ebp
ret 0xc