joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70e3be14
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e768a5
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi], 0x70e0956c
mov dword [edi + 4], ebx
lea eax, [edi + 0x10]
mov dword [ebp - 4], ebx
push eax
mov dword [edi + 8], 1
mov dword [edi + 0xc], ebx
call fcn.70e15d59
mov byte [ebp - 4], 1
lea esi, [edi + 0x30]
mov byte [edi + 0x24], bl
mov dword [edi + 0x2c], ebx
call fcn.70e1ef59
lea ecx, [edi + 0x9c]
mov byte [ebp - 4], 2
call fcn.70df39c7
lea esi, [edi + 0xa4]
mov byte [ebp - 4], 3
call fcn.70e0ef26
push 0x70e80270
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x70e80270
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 4
Function at 0x70e42c31
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6d9f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 0x70df59dc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push 0x400
lea edi, [ebp - 0x18]
mov dword [ebp - 4], eax
call fcn.70df5183
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, edi
jle 0x70e42caf
push eax
lea edi, [ebp - 0x18]
call fcn.70df5183
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x70e42cd9
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.70df3455
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push ecx
mov edi, esi
call fcn.70df3e38
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.70df3455
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x70e4f790
Capabilities:
Load windows common language runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
xor edi, edi
cmp dword [0x70e89a74], edi
jne 0x70e4f822
push 0x70e09dcc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x70e4f7f4
call ebx
test eax, eax
jle 0x70e4f7cb
and eax, 0xffff
or eax, 0x80070000
test eax, eax
js 0x70e4f83a
push 0x70e4f864
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x70e4f82a
call ebx
test eax, eax
jle 0x70e4f83a
pop edi
and eax, 0xffff
pop esi
or eax, 0x80070000
pop ebx
pop ebp
ret 4
push 0
push esi
push 0x70e89a74
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x70e4f81b
mov eax, dword [0x70e89a74]
mov dword [0x70e89a6c], eax
mov byte [0x70e89a70], 1
mov edi, eax
jmp 0x70e4f7cd
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [0x70e89a74]
jmp 0x70e4f7cd
mov ecx, dword [ebp + 8]
push ecx
push 0x70e4f844
push 0x70e4f854
call eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x70e50c5d
Capabilities:
Access peb ldr_data
Get ntdll base address
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6a0ea
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], 0xffffffff
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x40], eax
mov eax, dword [0x70e7f790]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x70e89a58]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x3c]
cmp eax, ebx
jle 0x70e50cfd
push eax
call fcn.70df39ac
mov edi, eax
mov eax, dword [esi + 0x1c]
add esp, 4
cmp eax, edi
je 0x70e50cfd
push eax
call fcn.70df3455
add esp, 4
mov dword [esi + 0x1c], edi
push 0x18
mov byte [esi + 0x3c], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x14], ebx
call fcn.70df39ac
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x70e50d26
push eax
call fcn.70e4e8f4
mov dword [esi + 0x14], eax
jmp 0x70e50d29
mov dword [esi + 0x14], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x70e50d3f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6abe3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x70e7f790]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x70e50df0
push 0x48
call fcn.70df39ac
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x70e50d95
push eax
call fcn.70e50c5d
mov esi, eax
jmp 0x70e50d97
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x70e50db4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x70e802d0
mov dword [ebp - 0x10], 0x70e802d0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
mov ecx, dword [0x70e7f790]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [esi + 0x40]
push esi
push edx
call fcn.70e510eb
push 0x70e802d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x70e50e02
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6a094
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x70e802d0
mov dword [ebp - 0x10], 0x70e802d0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call fcn.70e51287
test eax, eax
js 0x70e50e84
mov ecx, dword [0x70e802b8]
mov edx, dword [ecx + 4]
add eax, eax
mov esi, dword [edx + eax*8 + 0xc]
push edi
call fcn.70e50fff
test esi, esi
je 0x70e50e6c
push esi
call fcn.70e50ea0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x70e50e84
mov eax, dword [0x70e7f790]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x70e802d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x70e52c95
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6aa6c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x2c], ebx
jge 0x70e52d56
mov dword [eax + 0x2c], ebx
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
call fcn.70e1d54a
mov esi, dword [eax]
mov dword [eax], ebx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov edi, eax
cmp eax, ebx
je 0x70e52d02
push eax
call fcn.70df62ac
push edi
call fcn.70df3455
add esp, 4
cmp esi, ebx
je 0x70e52d36
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push ebx
push 0x70e52d78
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x70e52d36
push esi
lea edx, [ebp - 0x14]
mov ecx, 0x70e52d78
mov dword [ebp - 0x14], ebx
call fcn.70dff21e
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x70e52d56
push esi
call fcn.70df62ac
push esi
call fcn.70df3455
add esp, 4
jmp 0x70e52d56
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 0x2c], ebx
setg al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x70e55908
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6c1dd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x14]
mov dword [edi], 0x70e0909c
call fcn.70df39c7
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 1
call fcn.70df39c7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], 2
lea esi, [edi + 0x30]
mov dword [edi], 0x70e09f9c
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
mov dword [esi], 0x70e0a01c
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
xor eax, eax
mov dword [edi + 0x3c], 0x70df61c0
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 4
mov ecx, dword [eax + 8]
push ecx
call fcn.70df99bb
mov edx, dword [ebp + 0x18]
xor eax, eax
cmp dword [edx + 8], eax
jle 0x70e559c7
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 4]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 0x18]
inc eax
cmp eax, dword [ecx + 8]
jl 0x70e559af
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 8]
push eax
lea esi, [edi + 0x3c]
call fcn.70df99bb
mov ecx, dword [ebp + 0x1c]
xor eax, eax
cmp dword [ecx + 8], eax
jle 0x70e559f2
mov edx, dword [ecx + 4]
mov edx, dword [edx + eax*4]
mov esi, dword [edi + 0x40]
mov dword [esi + eax*4], edx
inc eax
cmp eax, dword [ecx + 8]
jl 0x70e559e0
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 0x18

Function at 0x70e55fa4
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e6c16a
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [ebp - 4], eax
lea ecx, [edi + 0x14]
mov dword [edi], 0x70e0909c
call fcn.70df39c7
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 1
call fcn.70df39c7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], 2
mov dword [edi + 0x24], eax
lea esi, [edi + 0x30]
mov dword [edi], 0x70e5606c
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, eax
mov dword [esi], 0x70e0911c
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov byte [ebp - 4], 3
mov eax, dword [ebx + 8]
push eax
call fcn.70df99bb
xor eax, eax
cmp dword [ebx + 8], eax
jle 0x70e5604c
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esi + 4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebx + 8]
jl 0x70e5603a
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 0x14
Function at 0x70e5ec1f
Capabilities:
Create process on windows
Terminate process

Disassembly:
push esi
push ebx
sub esp, 0x94
mov eax, dword [0x70e851f0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp], 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [0x70e851e8]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [0x70e851e8]
sub esp, 0xc
mov ebx, eax
test edx, edx
je 0x70e5ec9e
add edx, eax
mov byte [eax], 0
add eax, 1
cmp eax, edx
jne 0x70e5ec94
mov eax, dword [0x70e851f8]
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov edx, dword [0x70e851e4]
sub esp, 0xc
cmp word [ebx], 0
je 0x70e5ecea
lea esi, [esi]
add eax, 1
cmp word [ebx + eax*2], 0
jne 0x70e5eccf
cmp word [ebx + eax*2 - 2], 0x5c
je 0x70e5ecf2
xor ecx, ecx
mov word [ebx + eax*2], cx
sub eax, 1
cmp word [ebx + eax*2 - 2], 0x5c
jne 0x70e5ece1
movzx ecx, word [edx]
lea esi, [ebx + eax*2]
lea eax, [edx + 2]
test cx, cx
je 0x70e5ed11
mov word [esi], cx
movzx ecx, word [eax]
add esi, 2
add eax, 2
test cx, cx
jne 0x70e5ed00
lea edx, [esp + 0x4c]
mov eax, edx
nop
lea esi, [esi]
mov byte [eax], 0
lea esi, [esp + 0x90]
add eax, 1
cmp eax, esi
jne 0x70e5ed1f
lea eax, [esp + 0x3c]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x20], edx
mov byte [esp + 0x3d], 0
mov dword [esp + 0x24], eax
mov byte [esp + 0x3e], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x3f], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x14], 0
mov byte [esp + 0x41], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x42], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x43], 0
mov dword [esp + 8], 0
mov byte [esp + 0x44], 0
mov dword [esp + 4], 0
mov byte [esp + 0x45], 0
mov dword [esp], ebx
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x49], 0
mov byte [esp + 0x4a], 0
mov byte [esp + 0x4b], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x70e630b4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.70df61b3
and dword [ebp - 0x14], 0
cmp dword [0x70e899f8], 0
mov dword [ebp - 0x18], eax
jne 0x70e63167
push 0x70e63284
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x70e6320f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70e63278
push ebx
call edi
test eax, eax
je 0x70e6320f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x70e63268
push ebx
mov dword [0x70e899f8], eax
call edi
push eax
call esi
push 0x70e63254
push ebx
mov dword [0x70e899fc], eax
call edi
push eax
call esi
push 0x70e63238
push ebx
mov dword [0x70e89a00], eax
call edi
push eax
call esi
mov dword [0x70e89a08], eax
test eax, eax
je 0x70e63167
push 0x70e63220
push ebx
call edi
push eax
call esi
mov dword [0x70e89a04], eax
mov eax, dword [0x70e89a04]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x70e631c0
cmp dword [0x70e89a08], ecx
je 0x70e631c0
push eax
call esi
push dword [0x70e89a08]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x70e631c0
test ebx, ebx
je 0x70e631c0
call edi
test eax, eax
je 0x70e631b7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x70e631b7
test byte [ebp - 8], 1
jne 0x70e631c0
or dword [ebp + 0x10], 0x200000
jmp 0x70e631f3
mov eax, dword [0x70e899fc]
cmp eax, dword [ebp - 0x18]
je 0x70e631f3
push eax
call esi
test eax, eax
je 0x70e631f3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x70e631f3
mov eax, dword [0x70e89a00]
cmp eax, dword [ebp - 0x18]
je 0x70e631f3
push eax
call esi
test eax, eax
je 0x70e631f3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x70e899f8]
call esi
test eax, eax
je 0x70e6320f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x70e63211
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.70df25ed
leave
ret
Function at 0x6db370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x6db38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x704074
push ecx
mov edi, eax
call fcn.006ef198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6db3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006ef02e
push esi
call fcn.006eefb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6de850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x6de8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x709720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6de8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.006ef1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x6de8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x709720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6de92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.006f0082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6de957
mov word [eax], si
add eax, 2
push eax
call fcn.006f0030
add esp, 4
jmp 0x6de959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x6de8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6de8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6deff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x6df080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6df0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x704458
push ecx
call fcn.006ef1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006ef1e1
add esp, 0x10
jmp 0x6df0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.006ef20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.006eedff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.006df050
mov eax, dword [0x709728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x6df13b
push esi
call fcn.006defb0
add esp, 4
mov dword [0x709728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x6df14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.006deff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x6e2440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6e24b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x6e248e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6e2471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6e247e
add edx, ecx
cmp ebx, edx
jb 0x6e248a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6e2467
xor ecx, ecx
jmp 0x6e24a2
test eax, eax
jne 0x6e2492
xor ecx, ecx
jmp 0x6e24a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.006e23c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x6e28f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x6e2921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x6e2946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x6e296e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x6e2993
push ecx
push esi
call fcn.006e24c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret