joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b986
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513039
mov eax, dword fs:[0]
push eax
mov eax, 0x200c
call fcn.004d9200
mov eax, dword [0x577014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2014], esi
mov dword [ebp - 0x2018], esi
call fcn.0040687a
and dword [ebp - 4], 0
lea eax, [ebp - 0x2010]
push 0x2000
push 0
push eax
call fcn.004d9f30
add esp, 0xc
lea eax, [ebp - 0x2010]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x2010]
push eax
call fcn.004ddaa2
pop ecx
push eax
lea eax, [ebp - 0x2010]
mov ecx, esi
push eax
call fcn.00406efb
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d818b
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511100
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x577014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ba93
test al, 0x10
je 0x42ba93
push ecx
mov ecx, dword [edi]
mov esi, esp
sub ecx, 0x10
call fcn.004070e7
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.00428b15
pop ecx
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.00407189
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x42bae8
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51308d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x577014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x42bb4b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42bb4b
test al, 0x10
jne 0x42bb4b
test al, 1
je 0x42bb43
mov edx, dword [esi]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004289c2
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00407189
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x42c68a
Capabilities:
Enumerate process modules

Disassembly:
push 0x1c
mov eax, 0x513222
call fcn.004d8abf
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0x400
jmp 0x42c6ba
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jb 0x42c734
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
add eax, eax
push eax
mov ecx, esi
call fcn.004adc20
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x10]
sub ebx, dword [esi]
and dword [ebp - 0x10], 0
and ebx, 0xfffffffc
push eax
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x42c6a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x90a
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x28]
call fcn.00406620
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.0040121b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, edi
call fcn.004d8a8d
ret
shr eax, 2
mov ecx, esi
push eax
call fcn.004adc20
and dword [edi], 0
lea ecx, [edi + 8]
and dword [edi + 4], 0
call fcn.0040687a
jmp 0x42c72c

Function at 0x42c750
Capabilities:
Enumerate process modules

Disassembly:
push 0x18
mov eax, 0x51274a
call fcn.004d8abf
mov dword [ebp - 0x10], edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 8]
push 0x400
jmp 0x42c784
mov eax, dword [ebp + 8]
cmp eax, ebx
jb 0x42c801
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
add eax, eax
push eax
mov ecx, edi
call fcn.004adc20
mov ebx, dword [edi + 4]
lea eax, [ebp + 8]
sub ebx, dword [edi]
and dword [ebp + 8], 0
and ebx, 0xfffffffc
push eax
push ebx
push dword [edi]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x42c76e
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x928
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x24]
call fcn.00406620
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0040121b
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, esi
call fcn.004d8a8d
ret
shr eax, 2
mov ecx, edi
push eax
call fcn.004adc20
and dword [esi], 0
lea ecx, [esi + 8]
and dword [esi + 4], 0
call fcn.0040687a
jmp 0x42c7f9
Function at 0x42ca74
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push 0x1c
mov eax, 0x513334
call fcn.004d8abf
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [0x57d614]
xor ebx, ebx
test eax, eax
jne 0x42cb9b
push 0x5447ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x42cab8
push str.SystemFunction036
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57d614], eax
jmp 0x42cabd
mov eax, dword [0x57d614]
test eax, eax
jne 0x42cb9b
mov dword [ebp - 0x10], ebx
push 0xf0000040
inc eax
push eax
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x42cb32
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0xa01
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x28]
call fcn.00406620
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x42cb89
push edi
push 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x42cb7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0xa02
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x28]
call fcn.00406620
mov byte [ebp - 4], 3
jmp 0x42cb1a
lea ecx, [esi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0040687a
cmp dword [ebp - 0x10], 0
je 0x42cc00
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x42cc00
push 4
push edi
call eax
test al, al
jne 0x42cbf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x9f9
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x28]
call fcn.00406620
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov ecx, esi
call fcn.0040121b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x42cc00
lea ecx, [esi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0040687a
mov eax, esi
call fcn.004d8a8d
ret
Function at 0x42d04d
Capabilities:
Reference http user-agent string

Disassembly:
push 0xc58
mov eax, 0x513502
call fcn.004d8af2
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0xc44], ebx
mov edi, 0xc30
mov dword [ebp - 0xc44], ebx
push edi
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.004d9f30
add esp, 0xc
mov dword [ebp - 0xc54], edi
lea eax, [ebp - 0xc54]
xor edi, edi
push eax
lea eax, [ebp - 0xc40]
push eax
push edi
call dword [sym.imp.urlmon.dll_ObtainUserAgentString]
lea ecx, [ebp - 0xc48]
mov dword [ebp - 0xc50], eax
mov dword [ebp - 0xc4c], edi
call fcn.0040687a
mov dword [ebp - 4], edi
cmp dword [ebp - 0xc50], edi
jge 0x42d12a
cmp dword [ebp - 0xc4c], edi
push 0x6b
pop eax
cmovne eax, dword [ebp - 0xc4c]
push eax
push dword [ebp - 0xc50]
push ecx
mov esi, esp
mov dword [ebp - 0xc44], esi
mov edi, dword [ebp - 0xc48]
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0xc64]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0xc64]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0xc5c]
add ecx, 0xfffffff0
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
jmp 0x42d178
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc48]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp - 0xc40]
push eax
lea ecx, [ebp - 0xc44]
call fcn.00409f12
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00405d6e
mov ecx, dword [ebp - 0xc44]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebx + 8]
mov dword [ebx], edi
mov dword [ebx + 4], edi
call fcn.0040687a
mov eax, ebx
call fcn.004d8aa1
ret
Function at 0x432c51
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x5142ab
call fcn.004d8abf
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov esi, 0x20019
cmp byte [ebp + 0x14], al
je 0x432c8f
call fcn.004013b8
test al, al
mov ecx, 0x20119
cmovne esi, ecx
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ebx
call fcn.004d6087
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x432cd2
push 0x16
push ecx
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, edi
call fcn.00406620
cmp dword [ebp - 0x28], 0
je 0x432d81
push dword [ebp - 0x28]
jmp 0x432d7b
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
lea eax, [ebp + 0x14]
push ebx
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x14], ebx
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x432d14
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x1c
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
jmp 0x432db3
cmp dword [ebp + 0x14], 4
jne 0x432d9f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.004d5fef
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x432d56
push 0x24
push ecx
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, edi
call fcn.00406620
jmp 0x432d76
push dword [ebp - 0x10]
push 0x544c6c
push dword [ebp + 0x10]
call fcn.00409fd2
add esp, 0xc
lea ecx, [edi + 8]
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.0040687a
test esi, esi
je 0x432d81
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, edi
call fcn.004d8a8d
ret
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.0042b675
pop ecx
test eax, eax
jns 0x432d69
push 0x2a
push eax
jmp 0x432d45
Function at 0x436504
Capabilities:
Get hostname

Disassembly:
push 0x54
mov eax, 0x514b9d
call fcn.004d8af2
mov dword [ebp - 0x44], edx
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], ebx
call fcn.0040687a
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push 1
push eax
push str.MachineGuid
push str.SOFTWAREMicrosoftCryptography
mov edx, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x40]
call fcn.0042b75b
add esp, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
jge 0x4365ae
cmp dword [ebp - 0x3c], 0
push 0x15
pop eax
cmovne eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
mov esi, esp
mov dword [ebp - 0x44], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x5c]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00407189
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
jmp 0x4366e5
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00407189
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x4c], 0x10
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x436628
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x18
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x5c]
call fcn.00406620
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x54]
jmp 0x4366d7
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00409442
mov byte [ebp - 4], 4
mov esi, esp
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x50], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
add eax, 0x10
mov dword [esi], eax
call fcn.0042e12b
pop ecx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x40], 0
jge 0x4366ba
cmp dword [ebp - 0x3c], 0
push 0x1a
pop eax
cmovne eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
mov esi, esp
mov dword [ebp - 0x50], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x5c]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x4366d4
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [ebx], 0
lea ecx, [ebx + 8]
and dword [ebx + 4], 0
call fcn.0040687a
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, ebx
call fcn.004d8aa1
ret
Function at 0x43685a
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x514c25
call fcn.004d8abf
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0040687a
mov byte [ebp - 4], 1
mov edi, dword [ebp + 8]
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.0040687a
lea ecx, [esi + 0x10]
mov byte [esi + 0xc], bl
call fcn.0040687a
mov dword [esi + 0x14], 0x493e0
lea ecx, [esi + 0x34]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0040687a
lea ecx, [esi + 0x38]
call fcn.0040687a
cmp dword [0x57d608], ebx
jne 0x436918
push ebx
push 4
push esi
push 0x436aa1
push ebx
push ebx
mov dword [0x57d608], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
test eax, eax
je 0x4368fa
push fcn.00437325
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [esi + 0x20], eax
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x436918
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
lea ecx, [edi - 0x10]
call fcn.00407189
mov eax, esi
call fcn.004d8a8d
ret 4

Function at 0x43692a
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [0x57d608], esi
jne 0x436974
cmp dword [esi + 0x2c], edi
jne 0x436974
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x28], edi
je 0x43694f
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
nop
cmp dword [esi + 0x28], edi
je 0x43696e
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
jne 0x43696e
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [0x57d608], edi
mov ecx, dword [esi + 0x38]
push 0x10
pop ebx
sub ecx, ebx
call fcn.00407189
mov ecx, dword [esi + 0x34]
sub ecx, ebx
call fcn.00407189
cmp dword [esi + 0x28], edi
je 0x43699c
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], edi
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4369a8
call fcn.00405adf
mov ecx, dword [esi + 0x10]
sub ecx, ebx
call fcn.00407189
mov ecx, dword [esi + 8]
sub ecx, ebx
call fcn.00407189
mov ecx, dword [esi + 4]
sub ecx, ebx
call fcn.00407189
mov ecx, dword [esi]
pop edi
pop esi
sub ecx, ebx
pop ebx
jmp fcn.00407189
Function at 0x436ab2
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 0x38]
cmp dword [eax - 0xc], ebx
jne 0x436acd
mov al, 1
jmp 0x436b53
push edi
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x436b3f
push 4
pop edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push dword [esi + 0x34]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], ebx
je 0x436b2c
sub eax, dword [ebp - 8]
cmp eax, 0x36ee80
jbe 0x436b41
push edi
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push dword [esi + 0x34]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov bl, 1
cmp dword [ebp - 4], 0
pop edi
je 0x436b51
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x437325
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x57d608]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x57d608]
mov dword [ecx + 0x30], eax
nop
mov eax, dword [0x57d608]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 1
jne 0x437368
mov eax, dword [0x57d608]
push dword [eax + 0x14]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
pop ebp
ret 4
Function at 0x43ab15
Capabilities:
Get file size

Disassembly:
push 0x30
mov eax, 0x5159d8
call fcn.004d8abf
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov al, byte [ebp + 0x34]
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x10], al
mov dword [ebp - 4], ebx
push ebx
push ebx
push 3
push ebx
push 1
push ADsGetObject
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, 0xffffffff
je 0x43ac34
test eax, eax
je 0x43ac34
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x1c], 0
mov ebx, eax
je 0x43abc0
push 0xe9
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x2c]
call fcn.00406620
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0040121b
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x14]
call fcn.00427477
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x43ac90
push ecx
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004acfbf
push dword [ebp - 0x10]
xor eax, eax
push edi
sub esp, 0x28
mov dword [ebp - 0x20], eax
mov edi, esp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edi
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x43abf4
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
sub esp, 0x28
mov byte [ebp - 4], 5
mov eax, esp
lea ecx, [ebp - 0x20]
mov edx, ebx
mov dword [eax], 0x55295c
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x14]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x3c]
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x18]
mov dword [eax + 0x10], ecx
mov ecx, esi
mov dword [eax + 0x24], eax
call fcn.0043a7a0
add esp, 0x58
lea ecx, [ebp - 0x3c]
call fcn.00409384
jmp 0x43ac82
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0xe4
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x2c]
call fcn.00406620
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.0040121b
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x14]
call fcn.00427477
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp + 0xc]
call fcn.004aa3bc
mov eax, esi
call fcn.004d8a8d
ret
Function at 0x43ad0c
Capabilities:
Accept command line arguments
Bypass mark of the web
Create process on windows
Delete file

Disassembly:
push 0x58
mov eax, 0x515a7d
call fcn.004d8abf
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x20], edi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
xor edx, edx
call fcn.00428920
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004070e7
mov esi, eax
lea eax, [esi + 0x10]
mov dword [ebp - 0x1c], eax
push str.:Zone.Identifier
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00409442
pop ecx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00407189
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43ad76
call fcn.00406710
push str.__relaunch
lea ecx, [ebp - 0x24]
call fcn.00406fea
mov esi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x1c], 0x20
xor ecx, ecx
movzx eax, word [edx]
cmp ax, word [ebp - 0x1c]
ja 0x43adac
test ax, ax
je 0x43add9
test ecx, ecx
je 0x43adbf
cmp eax, 0x22
jne 0x43adba
xor eax, eax
test ecx, ecx
sete al
mov ecx, eax
add edx, 2
jmp 0x43ad9a
push 0x20
mov ecx, eax
pop edi
cmp cx, di
ja 0x43add6
add edx, 2
movzx eax, word [edx]
mov ecx, eax
test ax, ax
jne 0x43adc4
mov edi, dword [ebp - 0x20]
push esi
lea ecx, [ebp - 0x10]
call fcn.004093b4
pop ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x43ae2f
lea eax, [ebp + 8]
mov edx, 0x5446d0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004093b4
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004d5d16
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], str.runas
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43ae9e
call fcn.00406710
push 0x51
push eax
push ecx
mov ecx, esp
push str.Could_not_elevate
call fcn.00406fea
mov ecx, edi
call fcn.00406620
jmp 0x43aeb0
mov eax, dword [ebp - 0x2c]
lea ecx, [edi + 8]
mov dword [ebx], eax
mov dword [edi], esi
mov dword [edi + 4], esi
call fcn.0040687a
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, edi
call fcn.004d8a8d
ret