joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ec77c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x1ec99f
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x1ec7a9
cmp dword [ebp - 4], 0
jg 0x1ec7b0
mov bl, 3
jmp 0x1ec989
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
test edx, edx
jne 0x1ec7ce
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
jmp 0x1ec7dc
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
inc ebx
mov edx, ebx
shl edx, 2
mov eax, edi
call fcn.001d4688
dec ebx
test ebx, ebx
jl 0x1ec973
inc ebx
mov dword [ebp - 0xc], ebx
xor ebx, ebx
lea eax, [ebx + ebx*2]
add eax, 3
cmp eax, dword [ebp - 4]
jg 0x1ec886
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
lea edx, [ebx + ebx*2]
inc edx
movzx edx, byte [esi + edx]
shr edx, 4
or al, dl
and eax, 0xff
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 6], al
lea eax, [ebx + ebx*2]
inc eax
mov al, byte [esi + eax]
shl eax, 2
and al, 0x3c
lea edx, [ebx + ebx*2]
add edx, 2
movzx edx, byte [esi + edx]
shr edx, 6
or al, dl
and eax, 0xff
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 7], al
lea eax, [ebx + ebx*2]
add eax, 2
mov al, byte [esi + eax]
and al, 0x3f
and eax, 0xff
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 8], al
jmp 0x1ec91e
lea eax, [ebx + ebx*2]
add eax, 2
cmp eax, dword [ebp - 4]
jg 0x1ec8ea
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
lea edx, [ebx + ebx*2]
inc edx
movzx edx, byte [esi + edx]
shr edx, 4
or al, dl
and eax, 0xff
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 6], al
lea eax, [ebx + ebx*2]
inc eax
mov al, byte [esi + eax]
shl eax, 2
and al, 0x3c
and eax, 0xff
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 7], al
mov byte [ebp - 8], 0x3d
jmp 0x1ec91e
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
and eax, 0xff
mov al, byte [eax + 0x206f6c]
mov byte [ebp - 6], al
mov byte [ebp - 7], 0x3d
mov byte [ebp - 8], 0x3d
mov eax, edi
call fcn.001d459c
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 5]
mov byte [eax + edx], cl
mov eax, edi
call fcn.001d459c
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 6]
mov byte [eax + edx + 1], cl
mov eax, edi
call fcn.001d459c
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 7]
mov byte [eax + edx + 2], cl
mov eax, edi
call fcn.001d459c
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 8]
mov byte [eax + edx + 3], cl
inc ebx
dec dword [ebp - 0xc]
jne 0x1ec7f7
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.001d6e48
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.001d40c8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ec9a6
lea eax, [ebp - 0x10]
call fcn.001d4074
ret
Function at 0x1ed958
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x14]
xor eax, eax
push ebp
push 0x1edb11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x3fffffff
call fcn.001d2c54
mov edi, eax
add edi, 0x12e499d
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov edx, dword [ebp - 0xc]
call fcn.001ed3e0
mov eax, dword [ebp - 0x10]
call fcn.001d51b4
add eax, 0x48
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0x1d5d70]
call fcn.001d5390
add esp, 4
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
call fcn.001d51b4
add eax, 0x48
mov edx, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
call fcn.001d51b4
add edi, 0x48
add eax, edi
mov edx, dword [ebx]
mov dword [edx + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov edx, dword [ebx]
add eax, dword [edx + 8]
mov ecx, 7
cdq
idiv ecx
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
mov dword [eax + 4], ecx
add ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x18], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, dword [ebp + 0xc]
mov edx, dword [ebx]
mov dword [edx + 0x14], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, 0x989680
mov edx, dword [ebx]
mov dword [edx + 0x1c], eax
call fcn.001ecce8
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.001dab7c
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov ecx, dword [ebx]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, 0x3fffffff
call fcn.001d2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
call fcn.001d51b4
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
add eax, 0x48
call fcn.001db55c
mov eax, 0x3fffffff
call fcn.001d2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x40], eax
adc dword [ecx + 0x44], edx
mov eax, 0x3fffffff
call fcn.001d2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov eax, 0x3fffffff
call fcn.001d2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x30], eax
adc dword [ecx + 0x34], edx
mov eax, 0x3fffffff
call fcn.001d2c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x28], eax
adc dword [ecx + 0x2c], edx
mov eax, 0x3fffffff
call fcn.001d2c54
mov edx, dword [ebx]
add dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1edb18
lea eax, [ebp - 0x10]
mov edx, dword [0x1d5d70]
call fcn.001d539c
ret
Function at 0x1ef5c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x1ef6f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.001d40c8
mov eax, dword [esi]
call fcn.001d4344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1ef6e2
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x1ef6ce
mov dword [ebp - 8], eax
mov eax, esi
call fcn.001d459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 0xc]
sub edi, 2
jl 0x1ef67a
inc edi
mov ebx, 2
mov eax, esi
call fcn.001d459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x1ef658
mov eax, esi
call fcn.001d459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 1
jl 0x1ef6c1
mov eax, esi
call fcn.001d459c
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x1ef69f
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x1ef638
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.001ecc98
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.001d40c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ef6ff
lea eax, [ebp - 0x14]
call fcn.001d4074
ret
Function at 0x1ef708
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
mov edx, esi
mov eax, edi
call fcn.001ecca0
mov eax, dword [esi]
call fcn.001d4344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1ef7f4
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x1ef7f4
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x1ef78f
mov ebx, 1
mov eax, esi
call fcn.001d459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x1ef770
mov eax, esi
call fcn.001d459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0x1ef7d5
mov eax, esi
call fcn.001d459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x1ef7b3
mov eax, esi
call fcn.001d459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x1ef763
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100071d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100122a0]
jne 0x100071dc
repz ret
jmp fcn.10009355

Function at 0x10009136
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10004c4a
and dword [ebp - 4], 0
cmp dword [0x100137ac], 0
mov ebx, eax
jne 0x100091e7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10009298
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10009298
push eax
call fcn.10004bd8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100137ac], eax
call esi
push eax
call fcn.10004bd8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100137b0], eax
call esi
push eax
call fcn.10004bd8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100137b4], eax
call esi
push eax
call fcn.10004bd8
pop ecx
mov dword [0x100137bc], eax
test eax, eax
je 0x100091e7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10004bd8
pop ecx
mov dword [0x100137b8], eax
mov eax, dword [0x100137b8]
cmp eax, ebx
je 0x1000923f
cmp dword [0x100137bc], ebx
je 0x1000923f
push eax
call fcn.10004c53
push dword [0x100137bc]
mov esi, eax
call fcn.10004c53
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000923f
test edi, edi
je 0x1000923f
call esi
test eax, eax
je 0x10009236
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10009236
test byte [ebp - 0xc], 1
jne 0x1000923f
or dword [ebp + 0x10], 0x200000
jmp 0x10009278
mov eax, dword [0x100137b0]
cmp eax, ebx
je 0x10009278
push eax
call fcn.10004c53
pop ecx
test eax, eax
je 0x10009278
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10009278
mov eax, dword [0x100137b4]
cmp eax, ebx
je 0x10009278
push eax
call fcn.10004c53
pop ecx
test eax, eax
je 0x10009278
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100137ac]
call fcn.10004c53
pop ecx
test eax, eax
je 0x10009298
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000929a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000a4f7
cmp dword [ebp + 0x14], 1
jne 0x1000a4c2
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
sete al
mov byte [ebp - 0xd], al
jmp 0x1000a4ed
cmp dword [ebp + 0x14], 4
jne 0x1000a4ed
push 4
lea ecx, [ebp + 0x18]
push ecx
push 4
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
sete cl
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x1000a500
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1000a521
xor eax, eax
jmp 0x1000a586
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000a581
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1000a57d
mov eax, 1
jmp 0x1000a586
xor eax, eax
jmp 0x1000a586
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0xe84370
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 0xe8438e
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 0xead074
push ecx
mov edi, eax
call fcn.00e98198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe843cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e9802e
push esi
call fcn.00e97fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xe87850
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 0xe878ae
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 0xeb2720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe878ba
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.00e981e1
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 0xe878ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xeb2720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe8792a
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.00e99082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xe87957
mov word [eax], si
add eax, 2
push eax
call fcn.00e99030
add esp, 4
jmp 0xe87959
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 0xe878ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xe878b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xe87ff0
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 0xe88080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xe880c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xead458
push ecx
call fcn.00e981e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00e981e1
add esp, 0x10
jmp 0xe880d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00e9820b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00e97dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00e88050
mov eax, dword [0xeb2728]
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 0xe8813b
push esi
call fcn.00e87fb0
add esp, 4
mov dword [0xeb2728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xe8814c
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.00e87ff0
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 0xe8b440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xe8b4b7
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 0xe8b48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xe8b471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xe8b47e
add edx, ecx
cmp ebx, edx
jb 0xe8b48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xe8b467
xor ecx, ecx
jmp 0xe8b4a2
test eax, eax
jne 0xe8b492
xor ecx, ecx
jmp 0xe8b4a2
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.00e8b3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xe8b8f0
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 0xe8b921
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 0xe8b946
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 0xe8b96e
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 0xe8b993
push ecx
push esi
call fcn.00e8b4c0
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
Function at 0xe8cc00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xe8cc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xe8cc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xe8cc38
add edx, eax
cmp ebx, edx
jb 0xe8cc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xe8cc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xe8cc50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xe8cc70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
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 0xe8ccb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xe8cc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xe8cca8
add edx, ecx
cmp ebx, edx
jb 0xe8ccb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xe8cc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xe8cf60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00e99145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xe8cffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xe8cfdd
lea eax, [esp + 0x18]
push eax
jmp 0xe8cfe2
push 0xeb2720
call fcn.00e98fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xe8cfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xe8cf40
push 4
push ecx
push eax
call fcn.00e9943f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xe8d310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00e99145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xe8d3ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0xe8d38d
lea eax, [esp + 0x18]
push eax
jmp 0xe8d392
push 0xeb2720
call fcn.00e98fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xe8d360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xe8cf40
push 4
push ecx
push eax
call fcn.00e9943f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret