joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b082d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], 0x3c
push 0
push eax
call fcn.0047f8f0
add esp, 0xc
call fcn.00420d90
test al, al
je 0x470684
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
call fcn.00406eb0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x30], eax
jb 0x4706af
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
cmp edi, 0x7ffffffe
ja 0x470823
mov dword [ebp - 0x14], 7
cmp edi, 8
jae 0x4706d3
mov dword [ebp - 0x18], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
jmp 0x47071a
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4706e7
mov esi, SysReAllocString
jmp 0x4706f1
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.004029b0
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x28], eax
push ecx
push dword [ebp - 0x30]
mov dword [ebp - 0x18], edi
push eax
mov dword [ebp - 0x14], esi
call fcn.0047eed0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov eax, ecx
mov edi, dword [ebp - 0x18]
sub eax, edi
cmp eax, 0xd
jb 0x47075c
cmp ecx, 8
lea esi, [ebp - 0x28]
lea eax, [edi + 0xd]
cmovae esi, dword [ebp - 0x28]
push 0x1a
mov dword [ebp - 0x18], eax
push str._taskschd.msc
lea eax, [esi + edi*2]
push eax
call fcn.0047eed0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x1a], ax
jmp 0x470770
push 0xd
push str._taskschd.msc
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push 0xd
call fcn.00406590
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x64], str.open
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x54], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
call fcn.00420d90
test al, al
je 0x4707aa
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test esi, esi
setne al
mov byte [ebp - 0x29], al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4707f2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4707e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470828
push ecx
push edx
call fcn.0047dc2a
mov al, byte [ebp - 0x29]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
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.0047df69
mov esp, ebp
pop ebp
ret 4
call fcn.00402890
call fcn.00482fbf
int3
Function at 0x471070
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0aa7
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
push str._systemroot_explorer.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
lea ecx, [ebp - 0x224]
call fcn.00405020
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x220]
push str._select__
push eax
call fcn.0040a8e0
mov byte [ebp - 4], 1
push 0x4ca72c
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00404f30
add esp, 0x18
mov byte [ebp - 4], 2
push 1
push 0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x21c]
mov ecx, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x471139
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47115a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x47117c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0x20
setge al
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.0047df69
mov esp, ebp
pop ebp
ret
Function at 0x474c60
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, ecx
mov al, byte [edi + 0x84]
lea esi, [edi + 0x84]
nop
test al, al
je 0x474cd6
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x474cd6
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x474cd6
push 1
push dword [edi + 0x90]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x64]
mov dword [edi + 0x90], 0
mov eax, dword [ecx]
call dword [eax + 8]
xor al, al
xchg byte [esi], al
mov ecx, dword [edi + 0x68]
lea eax, [edi + 0x34]
mov edx, edi
neg edx
mov esi, dword [ecx]
sbb edx, edx
and edx, eax
push edx
call dword [esi + 0xc]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
ret
Function at 0x476da0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub dword [0x4fc99c], 1
push esi
mov esi, ecx
jne 0x476dcd
mov eax, dword [0x4fc89c]
test eax, eax
je 0x476dcd
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test eax, eax
je 0x476dcd
mov dword [0x4fc89c], 0
push 0xc8
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x476df3
push 1
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
pop esi
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0x10
Function at 0x477d50
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b18cd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x4e54fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x477ec1
mov ecx, dword [edi + 0x78]
mov ecx, dword [ecx + eax*4]
mov eax, dword [edi + 0x6c]
mov esi, dword [eax + ecx*8]
add esi, 0x48
cmp dword [esi + 0x14], 8
jb 0x477daa
mov esi, dword [esi]
call fcn.00406d20
mov ecx, eax
test ecx, ecx
je 0x477ed6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push esi
call fcn.004051b0
test al, al
jne 0x477dfe
test esi, esi
jne 0x477de0
xor ecx, ecx
jmp 0x477df4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477de5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.004056b0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 0x22
call fcn.00415660
lea eax, [ebp - 0x10]
push eax
call fcn.004224d0
add esp, 4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [edi + 4]
cmp eax, 0xffffffff
jne 0x477e43
push 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push esi
mov dword [eax], str.File_does_not_exist.
jmp 0x477e97
push 0x38
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x3c
push 0
push eax
call fcn.0047f8f0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], str.properties
mov dword [ebp - 0x4c], 0xc
push eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x477e9f
mov ecx, dword [edi + 4]
push 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push ecx
mov dword [eax], str.Failed_to_show_file_properties
call fcn.004432e0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477ec1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00406ac0
int3
Function at 0x478be0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x6c]
push edi
lea edi, [esi + 0x6c]
cmp eax, ecx
je 0x478c01
push edi
push ecx
push eax
call fcn.00406860
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
mov eax, dword [edi + 0xc]
push ebx
cmp eax, dword [edi + 0x10]
je 0x478c0d
mov dword [edi + 0x10], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
sar eax, 3
cmp eax, 0x40
jae 0x478c23
push 0x40
mov ecx, edi
call fcn.00440f70
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0xc]
sar eax, 2
cmp eax, 0x40
jae 0x478c3b
push 0x40
lea ecx, [edi + 0xc]
call fcn.00469090
push 0
push 0
push 0x102f
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x64], 0
pop ebx
je 0x478c89
mov cl, 1
lea eax, [esi + 0x84]
xchg byte [eax], cl
mov eax, dword [esi + 0x90]
test eax, eax
je 0x478c6f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x471fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x90], eax
call fcn.00458bd0
push str.CheckVirusTotal
mov ecx, eax
call fcn.0044f310
test eax, eax
je 0x478cb0
push 0
push 0x1388
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x47a4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ebx + 4]
push esi
mov dword [ebp - 0x3c], esi
inc dword [eax]
call fcn.004839ff
mov ecx, dword [ebx + 4]
add esp, 4
cmp eax, dword [ecx]
je 0x47a4f7
mov eax, dword [ebx + 8]
mov byte [eax], 1
xor al, al
jmp 0x47a5bf
xor edi, edi
mov dword [ebp - 0x34], 0x10
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x24]
mov eax, dword [ebx + 0xc]
push ecx
push 1
push edi
push esi
push dword [eax]
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47a59d
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x47a59d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push str.ProviderId
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47a59d
cmp dword [ebp - 0x38], 3
jne 0x47a59d
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0x20]
lea esi, [eax + 0xc]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x47a59d
add edx, 4
add ecx, 4
sub esi, 4
jae 0x47a563
mov edx, dword [ebp - 0x3c]
test edx, edx
jne 0x47a57f
xor ecx, ecx
jmp 0x47a593
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a584
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebx + 0x14]
push edx
call fcn.004056b0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47a5b6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 8
Function at 0x47a5e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1e40
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ebx + 4]
push esi
mov dword [ebp - 0x3a4], esi
inc dword [eax]
call fcn.004839ff
mov ecx, dword [ebx + 4]
add esp, 4
cmp eax, dword [ecx]
je 0x47a63d
mov eax, dword [ebx + 8]
mov byte [eax], 1
xor al, al
jmp 0x47a745
xor edi, edi
mov dword [ebp - 0x39c], 0x378
mov dword [ebp - 0x398], edi
mov dword [ebp - 0x394], edi
mov dword [ebp - 0x390], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x38c]
mov eax, dword [ebx + 0xc]
push ecx
push 1
push edi
push esi
push dword [eax]
mov dword [ebp - 0x38c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47a71d
mov edi, dword [ebp - 0x38c]
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x398], edi
mov dword [ebp - 0x394], eax
test edi, edi
je 0x47a71d
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x3a0]
push eax
push 0
push str.PackedCatalogItem
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47a71d
cmp dword [ebp - 0x3a0], 3
jne 0x47a71d
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0x270]
lea esi, [eax + 0xc]
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x47a71d
add edx, 4
add ecx, 4
sub esi, 4
jae 0x47a6e0
mov edx, dword [ebp - 0x3a4]
test edx, edx
jne 0x47a6ff
xor ecx, ecx
jmp 0x47a713
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a704
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebx + 0x14]
push edx
call fcn.004056b0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47a739
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 8
Function at 0x47aa20
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, dword [eax + 0xdc]
test esi, esi
je 0x47aace
lea eax, [ebp - 0x20c]
add esi, 0x18
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x4b7394
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x47aace
push str..txt
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0048ecfd
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x47aae2
push 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push 0
mov dword [eax], str.Failed_to_create_temporary_file
call fcn.004432e0
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x10]
add eax, eax
cmp dword [esi + 0x14], 8
jb 0x47aaef
mov esi, dword [esi]
push 0
lea ecx, [ebp - 0x210]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0047df69
mov esp, ebp
pop ebp
ret 4

Function at 0x47b190
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
test edi, edi
je 0x47b231
mov edx, dword [ebp + 0xc]
lea eax, [edx - 1]
test eax, eax
jne 0x47b231
cmp edx, 1
jne 0x47b220
push esi
push 0x110
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0047f8f0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47b210
mov eax, dword [ebp - 0x114]
cmp eax, 6
ja 0x47b20b
cmp eax, 6
jne 0x47b210
cmp dword [ebp - 0x110], esi
jbe 0x47b210
mov esi, 1
shl esi, 0xb
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, eax
pop esi
mov eax, ecx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0047df69
mov esp, ebp
pop ebp
ret
Function at 0x47b4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x101
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47b51d
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.EulaAccepted
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x47b51d
xor eax, eax
cmp dword [ebp - 8], eax
setne al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x47b7f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
test edi, edi
je 0x47b8a0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47b8a0
xor esi, esi
cmp dword [edi], ebx
jle 0x47b87e
nop dword [eax]
nop dword [eax + eax]
push 0x4bd88c
push dword [eax + esi*4]
call fcn.0048cccb
add esp, 8
test eax, eax
je 0x47b857
mov eax, dword [ebp + 0x10]
push str._accepteula
push dword [eax + esi*4]
call fcn.0048cccb
add esp, 8
test eax, eax
je 0x47b857
mov eax, dword [ebp + 0x10]
inc esi
xor ebx, ebx
cmp esi, dword [edi]
jl 0x47b820
jmp 0x47b87e
mov edx, dword [edi]
mov ebx, 1
lea eax, [edx - 1]
cmp esi, eax
jge 0x47b879
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + esi*4 + 4]
mov dword [ecx + esi*4], eax
inc esi
mov edx, dword [edi]
lea eax, [edx - 1]
cmp esi, eax
jl 0x47b868
lea eax, [edx - 1]
mov dword [edi], eax
push ebx
push dword [ebp + 8]
call fcn.0047b9a0
add esp, 8
mov ecx, 1
test eax, eax
cmovne ebx, ecx
xor eax, eax
pop edi
test ebx, ebx
pop esi
setne al
pop ebx
pop ebp
ret
push 0x4bd860
push 1
push str.Shell32.dll
xor edi, edi
call fcn.0047b190
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x47b944
push 0x4fc9b4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
xor esi, esi
mov ebx, eax
cmp dword [0x4fc9b4], esi
jle 0x47b944
push 0x4bd88c
push dword [ebx + esi*4]
call fcn.0048cccb
add esp, 8
test eax, eax
je 0x47b916
push str._accepteula
push dword [ebx + esi*4]
call fcn.0048cccb
add esp, 8
test eax, eax
je 0x47b916
inc esi
xor edi, edi
cmp esi, dword [0x4fc9b4]
jl 0x47b8e1
jmp 0x47b944
mov ecx, dword [0x4fc9b4]
mov edi, 1
lea eax, [ecx - 1]
cmp esi, eax
jge 0x47b93d
mov eax, dword [ebx + esi*4 + 4]
mov dword [ebx + esi*4], eax
inc esi
mov ecx, dword [0x4fc9b4]
lea eax, [ecx - 1]
cmp esi, eax
jl 0x47b928
dec ecx
mov dword [0x4fc9b4], ecx
push edi
push dword [ebp + 8]
call fcn.0047b9a0
add esp, 8
mov ecx, 1
test eax, eax
cmovne edi, ecx
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
pop ebp
ret
Function at 0x47ec16
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47ec55
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47ec55
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47ec55
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x47ec55
cmp dword [ecx + 0x74], 0xe
jbe 0x47ec55
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x48de81
Capabilities:
Contain obfuscated stackstrings

Disassembly:
in al, 0x2b
call fcn.0048da32
push eax
push esi
push dword [ebp + 8]
call fcn.0048d9e7
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0048da22
jg 0x48de84
stosb byte es:[edi], al
sti
invalid
aam 0xa5
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0048da22
adc eax, 0x8d1117e1
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x495f3a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4c2198
push 0x4c2190
push str.FlsAlloc
push 0x1f
call fcn.00495da5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x495f6e
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b37cc]
call esi
jmp 0x495f74
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x495fb8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4c21a8
push 0x4c21a0
push str.FlsGetValue
push 0x21
call fcn.00495da5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x495fef
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b37cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x495ff9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4c21b0
push 0x4c21a8
push str.FlsSetValue
push 0x22
call fcn.00495da5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x496033
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4b37cc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]