joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801349d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x234], ecx
push edi
push 2
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x18013539
push 0x22c
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.180a89f0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18013539
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x228]
cmp eax, dword [ecx + 0x1c]
jne 0x1801351c
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x18013535
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18013501
mov edi, 0x80004005
jmp 0x18013545
mov dword [ebx], eax
jmp 0x18013540
call fcn.18015f1f
mov edi, eax
cmp esi, 0xffffffff
je 0x1801354c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret 4
Function at 0x18013a1c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1220
call fcn.180cb510
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
xor ebx, ebx
mov edi, edx
push ebx
push 0x410
mov dword [ebp - 0x1210], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x18013ba8
push 0x5c
pop edx
mov ecx, edi
call fcn.1800fed2
mov edi, eax
lea ecx, [ebp - 0x1218]
cmp edi, 0xffffffff
setne byte [ebp - 0x1220]
call fcn.18005c3b
cmp edi, 0xffffffff
je 0x18013aa4
mov ecx, dword [ebp - 0x1210]
lea edx, [ebp - 0x1218]
call fcn.18013bb9
test eax, eax
js 0x18013b93
mov edi, dword [ebp - 0x1218]
mov dword [ebp - 0x1210], edi
jmp 0x18013aaa
mov edi, dword [ebp - 0x1210]
push 0x1000
lea eax, [ebp - 0x120c]
push ebx
push eax
call fcn.180a89f0
add esp, 0xc
mov dword [ebp - 0x121c], ebx
lea eax, [ebp - 0x121c]
push eax
push 4
lea eax, [ebp - 0x120c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x18013b0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.18014038
test al, al
je 0x18013b93
push dword [ebp - 0x1220]
mov edx, edi
mov ecx, esi
call fcn.18013977
pop ecx
mov bl, al
jmp 0x18013b93
mov edi, dword [ebp - 0x121c]
shr edi, 2
cmp edi, 1
jbe 0x18013b1f
xor edi, edi
inc edi
jmp 0x18013b23
test edi, edi
je 0x18013b93
mov dword [ebp - 0x1214], ebx
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.180a89f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov eax, dword [ebp - 0x1214]
push dword [ebp + eax*4 - 0x120c]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x18013b7e
push dword [ebp - 0x1220]
mov edx, dword [ebp - 0x1210]
lea ecx, [ebp - 0x20c]
call fcn.180138c6
pop ecx
test al, al
jne 0x18013b91
mov eax, dword [ebp - 0x1214]
inc eax
mov dword [ebp - 0x1214], eax
cmp eax, edi
jl 0x18013b29
jmp 0x18013b93
mov bl, 1
mov ecx, dword [ebp - 0x1218]
add ecx, 0xfffffff0
call fcn.18003140
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret
Function at 0x180141f5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
xor esi, esi
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
mov ebx, edx
push esi
push eax
call fcn.180a89f0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x28], 0x80
push edi
push eax
push esi
cmp dword [ebp + 8], esi
jne 0x18014231
push esi
push esi
jmp 0x18014239
push dword [ebp + 8]
push 0x400
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18014251
call fcn.18015f1f
mov esi, eax
jmp 0x18014291
movzx ecx, byte [0x18101323]
neg ecx
sbb ecx, ecx
and ecx, 0x18101240
je 0x18014291
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x10], ecx
inc eax
mov dword [ebp - 0xc], edx
push eax
push edx
mov dword [ebp - 8], eax
call fcn.1800457f
push dword [edi + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Started_process___u_
push eax
call fcn.18002ca6
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x180143ae
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
mov ecx, dword [edx]
push edi
sub ecx, 0x10
call fcn.180060dc
add eax, 0x10
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.180116ba
push 0x20
lea ecx, [ebp - 4]
call fcn.18005ce6
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.18005d13
push 0x40
xor edi, edi
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.180a89f0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0x40], str.WinSta0Default
inc edx
mov ebx, 0x104
add esp, 0xc
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, ebx
or edx, ecx
jge 0x1801442e
push ebx
lea ecx, [ebp - 4]
call fcn.18006135
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
push ecx
push edi
push dword [ebp + 0x10]
push 0x400
push edi
push edi
push edi
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov esi, eax
call fcn.18005c62
test esi, esi
jne 0x18014461
call fcn.18015f1f
mov edi, eax
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180145e7
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1801465d
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push str.SeDebugPrivilege
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1801465d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push esi
push esi
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x18014664
call fcn.18015f1f
mov esi, eax
cmp dword [ebp - 0x18], 0
je 0x18014673
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.180a61d8
leave
ret

Function at 0x180146fa
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
call fcn.18014682
mov ebx, eax
or edi, 0xffffffff
xor esi, esi
cmp ebx, edi
je 0x18014745
lea eax, [ebp - 0x10]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
push eax
push 8
push ebx
push esi
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x18014745
mov eax, dword [ebp - 8]
push eax
mov esi, dword [eax]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test esi, esi
jne 0x18014743
mov eax, ebx
jmp 0x1801478d
xor esi, esi
lea eax, [ebp - 4]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
push eax
push 1
push esi
push esi
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
test eax, eax
je 0x1801478b
cmp dword [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
jbe 0x18014784
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x1801477e
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x1801476f
jmp 0x18014784
imul eax, eax, 0xc
mov edi, dword [eax + ecx]
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18015129
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x118
xor esi, esi
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.180a89f0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.0x18015262.2
mov edi, dword [ebp - 0x11c]
cmp edi, 6
je 0x180151de
cmp edi, 0xa
je 0x180151de
cmp edi, 5
jne case.0x18015262.2
cmp dword [ebp - 0x118], 2
jne 0x180151bc
cmp byte [ebp - 6], 1
jne 0x180151a7
call fcn.1801506b
cmp eax, 9
je case.0x18015262.1
test dword [ebp - 8], 0x8000
jne case.0x18015262.2
push 2
pop eax
jmp 0x180152f8
cmp dword [ebp - 0x118], 1
jne case.0x18015262.2
test dword [ebp - 8], 0x200
jne case.0x18015262.2
xor eax, eax
inc eax
jmp 0x180152f8
mov ebx, dword [ebp - 0x118]
push 0x800
push esi
push str.kernel32.dll
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je case.0x18015262.2
push str.GetProductInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x180152ef
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
push ebx
push edi
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je case.0x18015262.2
mov eax, dword [ebp - 0x124]
cmp eax, 0x30
ja 0x180152b6
je case.0x18015262.1
cmp eax, 0xb
ja 0x18015269
je case.0x18015262.2
dec eax
cmp eax, 9
ja case.0x18015262.2
movzx eax, byte [eax + 0x1801531d]
jmp dword [eax*4 + 0x18015309]
cmp eax, 0x10
ja 0x18015293
je case.0x18015262.4
sub eax, 0xc
je case.0x18015262.7
sub eax, 1
je case.0x18015262.7
sub eax, 1
je case.0x18015262.7
sub eax, 1
jmp 0x180151ae
sub eax, 0x11
je case.0x18015262.7
sub eax, 1
je case.0x18015262.7
sub eax, 7
je case.0x18015262.7
dec eax
sub eax, 1
je case.0x18015262.4
jmp case.0x18015262.2
cmp eax, 0x7a
ja 0x180152d9
je 0x180152d2
sub eax, 0x46
je case.0x18015262.4
dec eax
sub eax, 1
je case.0x18015262.4
sub eax, 0xc
je case.0x18015262.4
sub eax, 0x25
jne case.0x18015262.2
push 4
jmp 0x180151b6
sub eax, 0x7d
je case.0x18015262.4
sub eax, 1
je case.0x18015262.4
sub eax, 3
jne 0x180152af
push 3
jmp 0x180151b6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret
Function at 0x180154bf
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x14]
mov word [ebp - 8], 0x500
push eax
mov esi, ecx
lea eax, [ebp - 0xc]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push 0x220
push 0x20
push 2
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x18015527
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop esi
call fcn.180a61d8
leave
ret
Function at 0x18015537
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov eax, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x30], eax
mov edi, ebx
mov dword [ebp - 4], edi
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push 1
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaUserGetInfo]
test eax, eax
jne 0x180156bb
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x180156c5
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
push eax
push 1
push ebx
push ebx
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
test eax, eax
jne 0x1801559b
call fcn.18015f1f
mov ebx, eax
jmp 0x180156ae
mov eax, dword [ebp - 0xc]
push esi
mov esi, dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x1c], ebx
jbe 0x180156a6
mov ecx, ebx
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x10], ebx
push edx
lea edx, [ebp - 0x10]
mov dword [ebp - 0x28], ebx
push edx
push 7
push dword [ecx + eax]
push ebx
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
jne 0x180155e6
call fcn.18015f1f
mov edi, eax
mov dword [ebp - 4], edi
jmp 0x18015679
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
mov eax, dword [ebp - 0xc]
push 5
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], edi
push dword [ecx + eax]
push ebx
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
jne 0x18015620
call fcn.18015f1f
mov dword [ebp - 4], eax
push edi
call esi
mov edi, dword [ebp - 4]
jmp 0x18015679
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
test eax, eax
je 0x18015665
cmp word [eax], bx
je 0x18015665
test edi, edi
je 0x18015665
cmp word [edi], bx
je 0x18015665
push eax
mov eax, dword [ebp - 8]
push dword [eax + 4]
call fcn.180b1b72
pop ecx
pop ecx
test eax, eax
jne 0x1801565d
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push dword [eax]
call fcn.180b1b72
pop ecx
pop ecx
test eax, eax
je 0x18015696
push edi
call esi
push dword [ebp - 0x20]
jmp 0x18015619
push edi
mov dword [ebp - 4], 0x80004005
call esi
push dword [ebp - 0x20]
call esi
mov edi, 0x80004005
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
inc eax
add ecx, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
cmp eax, dword [ebp - 0x1c]
jae 0x180156a6
mov eax, dword [ebp - 0xc]
jmp 0x180155b9
mov eax, dword [ebp - 0x30]
push edi
mov byte [eax], 1
call esi
push dword [ebp - 0x20]
call esi
jmp 0x180156a8
mov ebx, edi
push dword [ebp - 0x34]
call esi
pop esi
push dword [ebp - 0x38]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov eax, ebx
jmp 0x180156c5
jle 0x180156c5
movzx eax, ax
or eax, 0x80070000
pop edi
pop ebx
leave
ret
Function at 0x18015907
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1801596d
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret
Function at 0x180160c3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
je 0x180160db
xor eax, eax
jmp 0x18016167
lea ecx, [esi + 0x30]
call fcn.180184cc
test eax, eax
jne 0x18016164
push ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.18018454
pop ecx
test eax, eax
jne 0x18016164
push ecx
lea ecx, [esi + 0x18]
call fcn.18018454
pop ecx
test eax, eax
jne 0x18016164
push ecx
lea ecx, [esi + 0x1c]
call fcn.18018454
pop ecx
test eax, eax
jne 0x18016164
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.1801848b
pop ecx
test eax, eax
jne 0x18016164
push dword [ebp + 0xc]
lea ecx, [esi + 0x24]
xor edx, edx
call fcn.1801848b
pop ecx
test eax, eax
jne 0x18016164
lea eax, [ebp - 4]
mov dword [esi + 4], 1
push eax
push ebx
push dword [ebp + 8]
push edi
push ebx
push ebx
call fcn.180b353d
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x1801616c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov dword [esi], 1
jmp 0x180160d4

Function at 0x18017bba
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18017c29
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x18017c05
push ebx
push edi
push eax
call fcn.180a8cf0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x18017c20
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret
Function at 0x1801823e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
push ebx
mov ebx, ecx
mov dword [ebp - 0x420], eax
mov ecx, eax
call fcn.18005cb1
mov ax, word [0x180d97a8]
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push 0
push eax
call fcn.180a89f0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x180182a6
call fcn.18015f1f
jmp 0x18018351
mov eax, dword [0x180e56a0]
mov dword [ebp - 0xc], eax
mov ax, word [0x180e56a4]
mov word [ebp - 8], ax
mov ax, word [ebp - 0x214]
push esi
lea esi, [ebp - 0x214]
push edi
test ax, ax
je 0x1801834a
movzx ecx, ax
mov ax, word [0x180d97a8]
push 0x206
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push 0
push eax
mov word [ebp - 0xc], cx
call fcn.180a89f0
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x104
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x18018333
lea eax, [ebp - 0x41c]
push eax
call fcn.180ac191
mov edi, eax
lea eax, [ebp - 0x41c]
push edi
push eax
push ebx
call fcn.180b324a
add esp, 0x10
test eax, eax
je 0x1801835e
push esi
call fcn.180ac191
pop ecx
lea esi, [esi + eax*2]
add esi, 2
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x180182cf
mov eax, 0x8007000f
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret
lea eax, [ebx + edi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x180e56a8
push dword [ebp - 0x420]
call fcn.18011d09
add esp, 0x10
xor eax, eax
jmp 0x1801834f
Function at 0x18018d84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x414], eax
xor eax, eax
push 0x60
push eax
push esi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
call ebx
mov edi, eax
push 2
pop eax
test edi, edi
jne 0x18018def
push eax
push edi
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x18018def
call fcn.1800312d
mov esi, eax
jmp 0x18018ec7
push dword [ebp - 0x414]
push dword [ebp - 0x418]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x18018e12
call fcn.1800312d
jmp 0x18018eba
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x18018e08
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x18018e3b
mov esi, 0x8007000e
jmp 0x18018ebc
push 2
pop ecx
mul ecx
test edx, edx
ja 0x18018ef3
jb 0x18018e53
cmp eax, 0xffffffff
ja 0x18018ef3
cmp eax, 0x400
jbe 0x18018e68
push eax
lea ecx, [ebp - 0x410]
call fcn.1801df2d
jmp 0x18018e74
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x18018e31
push esi
push dword [ebp - 0x410]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x18018e08
mov eax, dword [ebp - 0x410]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x420]
push dword [ebp - 0x410]
call fcn.1801992a
mov esi, eax
test edi, edi
je 0x18018ec7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x40c]
cmp dword [ebp - 0x410], eax
je 0x18018ee0
lea ecx, [ebp - 0x410]
call fcn.1801d559
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret 0x10
push 0x80070216
call fcn.18002f74
int3
Function at 0x1801aa21
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ecx + 0x90]
cmp dword [esi], 0
jne 0x1801aa81
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esi + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
inc edi
test eax, eax
je 0x1801aa7e
jmp 0x1801aa78
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 4]
cmp edx, eax
jae 0x1801aa6f
or ecx, 0xffffffff
sub ecx, eax
add ecx, edx
cmp ecx, dword [ebp - 8]
jae 0x1801aa7e
cmp dword [esi + 4], 0
jg 0x1801aa4e
xchg dword [esi], edi
pop edi
pop esi
leave
ret