joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003cf5
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100e0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
xor ebx, ebx
lea eax, [ebp - 0x412]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x1001658
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.010022c8
push ebx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push eax
push ebx
push 0x1001650
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
test eax, eax
je 0x1003e11
call fcn.010051e3
mov ebx, eax
lea eax, [ebp - 0x20c]
push eax
cmp ebx, 0xffffffff
je 0x1003e0a
push ebx
call fcn.01002615
mov esi, 0x100e52c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x100e544
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call fcn.010051d2
lea esi, [edi + 0x208]
push esi
call fcn.010024d3
mov ebx, eax
lea eax, [ebp - 0x20c]
cmp ebx, 0xffffffff
je 0x1003e09
push esi
push ebx
push eax
call fcn.0100252b
push ebx
call fcn.01002508
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call fcn.01005b35
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01005fd1
leave
ret 4

Function at 0x1003e2f
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x100e0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x414]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x1001658
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.010022c8
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0100228e
push 0x1001674
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.010022c8
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003f0c
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100228e
push 0x1001670
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010022c8
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010022c8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1003eac
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01005fd1
leave
ret
Function at 0x1003f1f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x410
xor edi, edi
call fcn.01005ac6
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1003f9d
push esi
mov edi, 0x100e57c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x100e7b0
mov esi, 0x104
push esi
lea eax, [ebx + 0x208]
push eax
call fcn.0100228e
push 0x100e5a8
push esi
push ebx
call fcn.0100228e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 4]
push eax
xor esi, esi
push esi
push ebx
push fcn.01003cf5
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
pop esi
jne 0x1003f96
push ebx
call fcn.01005b35
pop ecx
jmp 0x1003f9d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
leave
ret

Function at 0x1004bcf
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8f0
mov eax, dword fs:[0]
push eax
mov eax, 0x1f38
call fcn.01006210
mov eax, dword [0x100e0a8]
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 eax, dword [ebp + 0xc]
xor esi, esi
push eax
mov dword [ebp - 0x1f3c], esi
call fcn.010051e3
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1004d22
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 4
push esi
mov dword [ebp - 0x1f44], eax
call fcn.0100b648
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x1f40], eax
cmp eax, esi
je 0x1004cdb
push esi
push esi
push esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x1004ccf
lea ecx, [ebp - 0x1f38]
call fcn.01008a53
push 0xffff
push dword [ebp - 0x1f44]
lea eax, [ebp - 0x1f38]
push edi
push eax
mov dword [ebp - 4], esi
call fcn.010072c7
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x1f38]
push eax
call fcn.010071c9
push dword [ebp + 8]
lea ecx, [ebp - 0x1f38]
call fcn.010068f6
mov dword [ebp - 0x1f3c], eax
lea eax, [ebp - 0x1f38]
push eax
call fcn.0100722d
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f38]
call fcn.01008085
push dword [ebp - 0x1f40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.010051d2
mov edi, 0x100e514
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 8], esi
jle 0x1004d1b
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x1f3c]
inc dword [ebp - 0x1f3c]
mov dword [ebp - 0x1f40], eax
lea eax, [ebp - 0x1f40]
push eax
mov ecx, 0x100e54c
call fcn.01004aee
dec esi
jne 0x1004cf5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.01005fd1
leave
ret 8
Function at 0x1004f9f
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c928
mov eax, dword fs:[0]
push eax
mov eax, 0x1f68
call fcn.01006210
mov eax, dword [0x100e0a8]
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 eax, dword [ebp + 8]
xor esi, esi
push esi
push 0x80
push 1
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1f70], eax
cmp eax, 0xffffffff
je 0x100511f
push esi
mov ebx, 0x8000
push ebx
push esi
push 4
push esi
call fcn.0100b648
push eax
push dword [ebp - 0x1f70]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
push esi
push 2
push eax
mov dword [ebp - 0x1f74], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, 0x364
push edi
mov dword [ebp - 0x1f6c], eax
lea eax, [ebp - 0x400]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov word [ebp - 0x400], di
push 0xf
pop ecx
push 0x13
mov esi, 0x10016f8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x10016a8
lea edi, [ebp - 0x9c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xf
xor eax, eax
pop ecx
inc eax
mov word [ebp - 0x3fe], ax
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x3fc]
rep movsd dword es:[edi], dword [esi]
push 0x13
pop ecx
lea esi, [ebp - 0x9c]
lea edi, [ebp - 0x39c]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x1f68]
mov word [ebp - 0x19c], ax
call fcn.01008a53
and dword [ebp - 4], 0
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp - 0x1f6c]
lea eax, [ebp - 0x1f68]
push eax
call fcn.010070af
push 0
push ebx
push dword [ebp - 0x1f6c]
lea eax, [ebp - 0x1f68]
push eax
call fcn.010072c7
push 1
lea eax, [ebp - 0x1f68]
push eax
call fcn.01006917
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f68]
call fcn.01008085
push dword [ebp - 0x1f6c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x1f74]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1f70]
call esi
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.01005fd1
leave
ret 4
Function at 0x100ba01
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001e10
push 0x80000002
mov dword [ebp - 8], 1
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100baa6
or dword [ebp - 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x1001df8
push dword [ebp - 4]
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
jne 0x100ba68
cmp dword [ebp - 0xc], edi
jne 0x100ba68
mov dword [ebp - 8], edi
jmp 0x100ba9b
call fcn.0100c119
test eax, eax
je 0x100ba9b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x1001dc4
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x100ba9b
inc eax
cmp dword [ebp - 0x10], eax
jne 0x100ba9b
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, dword [ebp - 8]
pop edi
leave
ret

Function at 0x100c119
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x1001e98
mov dword [ebp - 4], esi
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x100c154
call fcn.0100c0ab
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x100c14b
inc esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop esi
leave
ret
Function at 0x100c530
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100e0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [esi + esi]
mov dword [ebp - 0x410], ecx
mov ebx, 0x100
push ebx
lea ecx, [ebp - 0x204]
push ecx
add eax, 4
push eax
call fcn.0100c791
test eax, eax
jl 0x100c5f8
lea eax, [ebp - 0x204]
push eax
push 0x1001f68
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.0100b05d
add esp, 0x10
test eax, eax
jl 0x100c5f8
lea eax, [ebp - 0x408]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x404]
push eax
push 0x80000002
call fcn.0100b396
test eax, eax
jne 0x100c5f8
lea eax, [ebp - 0x410]
push eax
push edi
lea eax, [ebp - 0x40c]
push eax
push 0
push 0
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x40c], 2
mov dword [ebp - 0x414], eax
jne 0x100c658
test esi, esi
jg 0x100c60b
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01005fd1
leave
ret 8
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01005b46
pop ecx
push esi
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x100c676
cmp eax, esi
jae 0x100c676
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
push esi
push edi
call fcn.0100c481
push ebx
test eax, eax
je 0x100c652
call fcn.01005b35
pop ecx
jmp 0x100c5ec
call fcn.01005b35
pop ecx
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x414], 0
jne 0x100c5f8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x100c5fa
push ebx
jmp 0x100c64a
Function at 0x47286c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x472875
mov eax, dword [ebp - 4]
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bcc
mov eax, dword [ebp - 8]
call fcn.00404bcc
xor eax, eax
push ebp
push 0x4729fe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x472a0c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov eax, esi
call fcn.0040472c
cmp dword [ebp - 0x10], 0
je 0x4729e3
xor eax, eax
push ebp
push 0x4729dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80400000
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404bdc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4729c5
xor eax, eax
push ebp
push 0x4729be
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x10000
jmp 0x472939
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0x10018], 0
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0x18], eax
add ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp + ebx - 0x10018]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x47295c
cmp dword [ebp - 0x14], 0
ja 0x472925
mov dword [ebp - 0x18], 0x10000
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea edi, [ebp - 0x10018]
push edi
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00404bdc
push eax
call sub.encipher.dll_Decipher
test eax, eax
jne 0x4729a0
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x10018], 0
mov eax, esi
lea edx, [ebp - 0x10018]
call fcn.0040491c
jmp 0x4729a7
mov eax, esi
call fcn.0040472c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4729c5
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4729e3
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472a05
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404750
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4013b2
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov edi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add edi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x47cc48], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x47cc44]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x47cc48], 0x3eb
mov dword [0x47cc44], eax
mov eax, dword [0x47c6d0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x47c6d0], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x47cc40], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add edi, 0x61c88647
mov dword [ebp - 0x10], edi
dec esi
jne 0x401404
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d1e4
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00406e9b
mov dword [ebp - 0x14], eax
cmp dword [0x4373dc], esi
jne 0x40d2d7
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d264
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d3b7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d3b7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d3b7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4373dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4373e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4373e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4373ec], eax
test eax, eax
je 0x40d2d4
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4373e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d2fc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d2ef
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d311
push 4
pop eax
jmp 0x40d3b9
cmp dword [ebp - 0x14], esi
je 0x40d311
push dword [0x4373dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d2f6
mov eax, dword [0x4373e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d36f
cmp dword [0x4373ec], edi
je 0x40d36f
push eax
call ebx
push dword [0x4373ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d36f
test eax, eax
je 0x40d36f
call ecx
test eax, eax
je 0x40d364
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d364
test byte [ebp - 8], 1
jne 0x40d36f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d39f
mov eax, dword [0x4373e0]
cmp eax, edi
je 0x40d39c
push eax
call ebx
test eax, eax
je 0x40d39c
call eax
mov esi, eax
test esi, esi
je 0x40d39c
mov eax, dword [0x4373e4]
cmp eax, edi
je 0x40d39c
push eax
call ebx
test eax, eax
je 0x40d39c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4373dc]
call ebx
test eax, eax
je 0x40d3b7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d3b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d80
mov esp, ebp
pop ebp
ret
Function at 0x10006fa0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3818
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10126008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.10007310
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 4], 0
lea edx, [edi + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov word [edi + 0xc], 0
mov eax, dword [ecx]
xor ecx, ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 1
lea esi, [edx + 0x18]
mov dword [esi], ecx
xor eax, eax
lea ecx, [esi + 4]
mov dword [ebp + 0xc], esi
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x100fd678
mov word [ecx], ax
call fcn.10006940
mov word [esi + 0x1c], 0
xor eax, eax
mov byte [esi + 0x1e], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10010860
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f4978
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10126008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp + 8], 8
mov dword [ebp - 4], 1
jne 0x100108de
lea eax, [ecx + 0x1c]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x100108de
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x100108d2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10006940
lea ecx, [ebp - 0x28]
call fcn.1003bdd0
test al, al
je 0x1001098b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
call fcn.10043070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push 0x4c
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push str.GlobalRCAVE9F9AB9A_97A8_4316_9FBE_3E0AD28D4026_RTPROTECT_SETTINGSTATUSEVENT
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.10006940
push ecx
push 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x48]
call fcn.100431d0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.100068b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10010979
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.100430d0
mov byte [ebp - 0x49], 1
jmp 0x1001098f
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xc
call fcn.100068b0
mov al, byte [ebp - 0x49]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f13e3
mov esp, ebp
pop ebp
ret 4