joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002ec8
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10002ee9
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
cli
add byte [eax], dh
add byte [eax], al
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10002ed6
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10002ea5
add eax, dword [eax + 4]
jmp 0x10002e92
mov dword [ebp + 0xc], ebx
jmp 0x10002ef4
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10002f0c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
leave
mov edi, 0x60000000
jmp 0x10002f2a
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
invalid
mov ch, 0x54

Function at 0x10002f4a
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
or byte [eax], al
add byte [eax], al
inc eax

Function at 0x10002f4f
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
or byte [eax], al
add byte [eax], al
inc eax

Function at 0x10002f54
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
invalid
je 0x10002f6f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx

Function at 0x10002f63
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
invalid
je 0x10002f6f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx

Function at 0x10002f68
Capabilities:
Inspect section memory permissions

Disassembly:
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
je 0x10002f78
invalid
or al, 8

Function at 0x10002f72
Capabilities:
Inspect section memory permissions

Disassembly:
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
je 0x10002f78
invalid
or al, 8

Function at 0x10002f77
Capabilities:
Inspect section memory permissions

Disassembly:
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
add eax, 0x980c803
invalid

Function at 0x10002f8b
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]

Function at 0x10002f95
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
cmp cx, word [eax + 6]
jbe 0x10002eee
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x10003071
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
mov byte [ebp - 0x34e], 0x51
invalid
call dword [ecx - 0x3a]
test dword [ebx + 0x75fffffc], esi
Function at 0x10003134
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
inc dword [ebx]
mov byte [ebp - 0x3be], 0x12
inc edx
cld
invalid
call dword [edx]
mov byte [ebp - 0x3bd], 0x2b
jmp [ebx]
mov byte [ebp - 0x3bc], 9
cld
invalid
dec dword [ecx]
mov byte [ebp - 0x3bb], 2
test dword [ebp - 4], eax
invalid
inc dword [edx]
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
inc edi
cld
invalid
dec dword [edx]
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
cld
invalid
jmp dword [eax]
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
test dword [edi - 4], ecx
invalid
dec dword [ebx]
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
jmp dword [esi - 0x73]
test dword [esp + edi*8], edi
invalid
call dword [eax - 0x18]
jb 0x100031c7
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100027fa
invalid
inc dword [ebx - 0x7a76f33c]
enter 0xfffffffffffffffa, 0xffffffffffffffff
and byte [ebp - 0x3ec], 0
invalid
inc dword [eax]
and byte [ebp - 0x3eb], 0
adc eax, 0xfffffc

Function at 0x1000344a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsd dword es:[edi], dword [esi]
inc ecx
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
movsd dword es:[edi], dword [esi]
in eax, dx
cli
invalid
inc dword [eax]
add dh, al
test esi, ebp
cli
invalid
jmp ebx
and byte [ebp - 0x511], 0

Function at 0x10003733
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10002813
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 8], 0x2f
invalid

Function at 0x10003756
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10002813
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 8], 0x2f
invalid

Function at 0x10003765
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x36b], 0
invalid
invalid
xchg esi, eax

Function at 0x100037ab
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x361], 0x30
invalid
invalid
invalid

Function at 0x10003cd3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
clc
invalid
call dword [ecx - 0x3a]
test edi, ebx
clc
invalid
invalid
insd dword es:[edi], dx

Function at 0x100041e2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
invalid
invalid
invalid
Function at 0x100043bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
invalid

Function at 0x100097c7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x120]
test eax, eax
jle 0x1000978d
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
jne 0x10009796
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0
push str.ucrtbase.dll
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x100097b5
pop ebx
mov dword [esi + 0x120], eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push ebx
call fcn.10002077
mov edi, eax
add esp, 4
test edi, edi
je 0x100097e0
push edi
push ebx
push 0
push str.ucrtbase.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x100097f3
push edi
call fcn.10003cec
add esp, 4
pop edi
pop ebx
mov dword [esi + 0x120], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
xor ebx, ebx
push eax
lea eax, [ebp - 4]
push eax
push 0x1007a868
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10009827
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xa0000
jne 0x10009827
cmp dword [eax + 0xc], 0x27990000
mov ecx, 1
cmovae ebx, ecx
push edi
call fcn.10003cec
add esp, 4
mov dword [esi + 0x120], ebx
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100139f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
push esi
push edi
mov esi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x10013a4b
call ebx
mov esi, eax
test esi, esi
jle 0x10013a34
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x10013a4b
push esi
push 0x115
push str.fileutil.cpp
call fcn.1000226b
jmp 0x10013aef
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x10013a67
mov esi, 0x8007000e
push esi
push 0x119
jmp 0x10013a3c
push edi
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x10013aa1
call ebx
mov esi, eax
test esi, esi
jle 0x10013a8d
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x10013aa1
push esi
push 0x11d
push str.fileutil.cpp
call fcn.1000226b
jmp 0x10013ae8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x1007a868
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10013ad5
call ebx
mov esi, eax
test esi, esi
jle 0x10013acb
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x10013ad5
push esi
push 0x122
jmp 0x10013a95
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [edx + 0xc]
mov dword [ecx], edx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019c44
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100902b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push 0x200
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.10001f73
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x20c], eax
test eax, eax
jne 0x10019cd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10019cb6
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x10019cbd
mov esi, 0x80004005
push esi
push 0xc4b
push str.thmutil.cpp
call fcn.1000226b
jmp 0x10019d88
test byte [ebx + 0x10], 1
je 0x10019cde
imul edi, dword [edi + 0x54], 0x14
jmp 0x10019cee
test byte [edi + 0x7c], 1
je 0x10019cea
imul edi, dword [edi + 0x50], 0x14
jmp 0x10019cee
imul edi, dword [edi + 0x4c], 0x14
mov eax, dword [ebp - 0x208]
add edi, dword [eax + 0x3c]
push dword [edi]
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 4]
mov dword [ebp - 0x214], eax
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [edi + 0xc]
mov dword [ebp - 0x210], eax
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x208], eax
lea edi, [ebx + 0x1c]
lea eax, [ebp - 0x204]
push eax
push edi
push 6
push esi
push esi
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
test byte [ebx + 0x10], 0x10
je 0x10019d5b
push edi
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push dword [ebp - 0x208]
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x210]
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x214]
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000385f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x685370
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 0x68538e
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 0x6ae074
push ecx
mov edi, eax
call fcn.00699198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6853cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0069902e
push esi
call fcn.00698fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x688850
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 0x6888ae
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 0x6b3720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6888ba
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.006991e1
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 0x6888ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x6b3720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x68892a
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.0069a082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x688957
mov word [eax], si
add eax, 2
push eax
call fcn.0069a030
add esp, 4
jmp 0x688959
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 0x6888ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6888b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6890c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x6ae458
push ecx
call fcn.006991e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006991e1
add esp, 0x10
jmp 0x6890d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0069920b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00698dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00689050
mov eax, dword [0x6b3728]
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 0x68913b
push esi
call fcn.00688fb0
add esp, 4
mov dword [0x6b3728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x68914c
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.00688ff0
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 0x68c440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x68c4b7
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 0x68c48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x68c471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x68c47e
add edx, ecx
cmp ebx, edx
jb 0x68c48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x68c467
xor ecx, ecx
jmp 0x68c4a2
test eax, eax
jne 0x68c492
xor ecx, ecx
jmp 0x68c4a2
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.0068c3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x68c8f0
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 0x68c921
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 0x68c946
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 0x68c96e
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 0x68c993
push ecx
push esi
call fcn.0068c4c0
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 0x68dc00
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 0x68dc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x68dc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x68dc38
add edx, eax
cmp ebx, edx
jb 0x68dc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x68dc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x68dc50
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 0x68dc70
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 0x68dcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x68dc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x68dca8
add edx, ecx
cmp ebx, edx
jb 0x68dcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x68dc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x68df60
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.0069a145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x68dffb
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 0x68dfdd
lea eax, [esp + 0x18]
push eax
jmp 0x68dfe2
push 0x6b3720
call fcn.00699fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x68dfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x68df40
push 4
push ecx
push eax
call fcn.0069a43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x68e310
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.0069a145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x68e3ab
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 0x68e38d
lea eax, [esp + 0x18]
push eax
jmp 0x68e392
push 0x6b3720
call fcn.00699fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x68e360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x68df40
push 4
push ecx
push eax
call fcn.0069a43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x68ff20
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ecx
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 4], ebp
je 0x68ffd7
mov eax, dword [esp + 0xc]
push esi
push 0xf01ff
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x68ffcf
push ebx
push edi
push 0x6b3770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x68ffae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x6b3770
push esi
call ebx
test eax, eax
je 0x68ffae
mov ebp, 3
cmp dword [0x6b3774], ebp
jne 0x68ffaa
push 0x3e8
call edi
push 0x6b3770
push esi
call ebx
test eax, eax
jne 0x68ff8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0x68ffc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0x68ffbb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
pop ecx
ret