joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c532
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x1006bf2e
call fcn.1002f984
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x220], edi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x21c]
and dword [ebp - 0x224], 0
push 0x208
push 0
push eax
call fcn.10047f90
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, 1
jne 0x1001c589
push str.projonepodlp
jmp 0x1001c593
cmp esi, 2
jne 0x1001c5b9
push str.projonepotcm
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call esi
test ebx, ebx
je 0x1001c5b0
push ebx
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
jmp 0x1001c5be
push 0x1007c8e4
mov ecx, edi
call fcn.100054a2
mov eax, edi
call fcn.1002f93f
ret

Function at 0x1001d7b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x1008d00c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x14c], 0
lea eax, [ebp - 0x6c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 0x40
mov edi, edx
mov dword [ebp - 0x148], ebx
push 0
push eax
mov dword [ebp - 0x144], edi
call fcn.10047f90
add esp, 0xc
cmp dword [ebp + 0x10], 0x40
ja 0x1001d809
push dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.10047800
add esp, 0xc
jmp 0x1001d83e
lea ecx, [ebp - 0x140]
call fcn.1002d276
push dword [ebp + 0x10]
mov edx, esi
call fcn.1002d2a1
pop ecx
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x18]
call fcn.1002d33b
push 0x10
pop ecx
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x144]
xor eax, eax
movups xmm1, xmmword [ebp + eax - 0x6c]
movaps xmm0, xmm1
pxor xmm0, xmmword [str.6666666666666666_]
movups xmmword [ebp + eax - 0xc8], xmm0
movaps xmm0, xmmword [0x10080590]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x124], xmm0
add eax, 0x10
cmp eax, 0x40
jb 0x1001d840
lea ecx, [ebp - 0x88]
call fcn.1002d276
push 0x40
lea edx, [ebp - 0xc8]
call fcn.1002d2a1
push dword [ebp + 8]
mov edx, edi
lea ecx, [ebp - 0x88]
call fcn.1002d2a1
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x18]
call fcn.1002d33b
lea ecx, [ebp - 0xe4]
call fcn.1002d276
push 0x40
lea edx, [ebp - 0x124]
call fcn.1002d2a1
push 0x14
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xe4]
call fcn.1002d2a1
add esp, 0x10
lea edx, [ebp - 0xe4]
lea ecx, [ebp - 0x2c]
call fcn.1002d33b
and dword [ebx + 0x10], 0
lea eax, [ebp - 0x2c]
push 0x14
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
push eax
mov byte [ebx], 0
call fcn.10005bc6
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f15a
mov esp, ebp
pop ebp
ret
Function at 0x10029425
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2120
call fcn.10064a60
mov eax, dword [0x1008d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x2120], 0
push ebx
push esi
push edi
mov ebx, 0x2000
mov dword [ebp - 0x2114], eax
push ebx
lea eax, [ebp - 0x2104]
mov edi, ecx
push 0
push eax
mov esi, edx
mov dword [ebp - 0x2118], edi
call fcn.10047f90
add esp, 0xc
lea eax, [ebp - 0x2104]
push eax
push ebx
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x10029497
push 0x1007c8e4
mov ecx, edi
call fcn.100054a2
jmp 0x100295e6
lea eax, [ebp - 0x2108]
mov dword [ebp - 0x2110], ebx
push eax
lea eax, [ebp - 0x2110]
mov dword [ebp - 0x2108], ebx
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
push eax
push str.VarFileInfoTranslation
lea eax, [ebp - 0x2104]
push eax
call ebx
test eax, eax
je 0x1002955a
mov ecx, dword [ebp - 0x2110]
xor esi, esi
test dword [ebp - 0x2108], 0xfffffffc
mov dword [ebp - 0x2118], ecx
jbe 0x1002955a
push dword [ebp - 0x2114]
movzx eax, word [ecx + esi*4 + 2]
push eax
movzx eax, word [ecx + esi*4]
push eax
push str.StringFileInfo_04x_04x_s
lea eax, [ebp - 0x104]
push 0x80
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
and dword [ebp - 0x210c], 0
lea eax, [ebp - 0x2108]
and dword [ebp - 0x2108], 0
add esp, 0x18
push eax
lea eax, [ebp - 0x210c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x2104]
push eax
call ebx
test eax, eax
jne 0x100295d2
mov eax, dword [ebp - 0x2108]
inc esi
mov ecx, dword [ebp - 0x2118]
shr eax, 2
cmp esi, eax
jb 0x100294e7
mov dword [ebp - 0x211c], 0x40904b0
xor esi, esi
mov dword [ebp - 0x2118], 0x40904e4
push dword [ebp - 0x2114]
lea eax, [ebp - 0x104]
push dword [ebp + esi*4 - 0x211c]
push str.StringFileInfo_08x_s
push 0x80
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
and dword [ebp - 0x210c], 0
lea eax, [ebp - 0x2108]
and dword [ebp - 0x2108], 0
add esp, 0x14
push eax
lea eax, [ebp - 0x210c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x2104]
push eax
call ebx
test eax, eax
jne 0x100295d2
inc esi
cmp esi, 2
jb 0x10029570
jmp 0x10029486
push dword [ebp - 0x2108]
mov edx, dword [ebp - 0x210c]
mov ecx, edi
call fcn.100293b8
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f15a
mov esp, ebp
pop ebp
ret
Function at 0x1002b6a8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.10064a60
mov eax, dword [0x1008d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov edx, str.Softwareprojonepodlp_smpcache_
push ecx
push esi
call fcn.1001a1da
test eax, eax
je 0x1002b758
push edi
push 0x7fe
lea eax, [ebp - 0x802]
push 0
push eax
call fcn.10047f90
add esp, 0xc
mov edi, 0x400
push 0x5b
pop eax
push edi
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x804]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrNCatW]
push eax
call esi
push 0x10080514
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push eax
call esi
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x804]
push eax
push 0x800
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002f15a
mov esp, ebp
pop ebp
ret

Function at 0x1002be8a
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x1002d276
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret

Function at 0x1002d3ea
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x1006cac7
call fcn.1002f984
mov dword [ebp - 0x30], edx
mov esi, ecx
mov dword [ebp - 0x34], esi
and dword [ebp - 0x38], 0
mov ebx, edx
xor edi, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1002d409
push 0
pop eax
sub ebx, ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
je 0x1002d4ff
movsx eax, byte [edi + edx]
inc edi
mov cl, byte [eax + 0x1007cee0]
cmp edi, ebx
jae 0x1002d43f
cmp cl, 0xff
je 0x1002d42b
cmp cl, 0xff
je 0x1002d4ff
movsx eax, byte [edi + edx]
inc edi
mov al, byte [eax + 0x1007cee0]
mov byte [ebp - 0x29], al
cmp edi, ebx
jae 0x1002d45e
cmp al, 0xff
je 0x1002d448
cmp al, 0xff
je 0x1002d4ff
sar al, 4
and al, 3
shl cl, 2
or al, cl
lea ecx, [ebp - 0x28]
movzx eax, al
push eax
push 1
call fcn.1001a86e
mov ecx, dword [ebp - 0x30]
mov al, byte [edi + ecx]
inc edi
cmp al, 0x3d
je 0x1002d4ff
movsx eax, al
mov al, byte [eax + 0x1007cee0]
mov byte [ebp - 0x2a], al
cmp edi, ebx
jae 0x1002d49d
cmp al, 0xff
je 0x1002d481
cmp al, 0xff
je 0x1002d4ff
mov cl, byte [ebp - 0x29]
sar al, 2
and al, 0xf
shl cl, 4
or al, cl
lea ecx, [ebp - 0x28]
movzx eax, al
push eax
push 1
call fcn.1001a86e
mov eax, dword [ebp - 0x30]
mov al, byte [edi + eax]
inc edi
cmp al, 0x3d
je 0x1002d4ff
movsx eax, al
mov cl, byte [eax + 0x1007cee0]
cmp edi, ebx
jae 0x1002d4d9
cmp cl, 0xff
je 0x1002d4bc
cmp cl, 0xff
je 0x1002d4ff
mov al, byte [ebp - 0x2a]
shl al, 6
or al, cl
lea ecx, [ebp - 0x28]
movzx eax, al
push eax
push 1
call fcn.1001a86e
mov edx, dword [ebp - 0x30]
cmp edi, ebx
jb 0x1002d42b
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x28]
xor ebx, ebx
mov ecx, esi
mov dword [esi + 0x10], ebx
push eax
mov byte [esi], bl
call fcn.10005e17
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10005a50
mov eax, esi
call fcn.1002f93f
ret

Function at 0x1002d682
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
shl eax, 4
lea esi, [ecx + 0x3c]
push 4
add esi, eax
pop ebx
xor edx, edx
mov edi, esi
mov al, byte [edi]
lea edi, [edi + 4]
xor byte [ecx + edx], al
inc edx
cmp edx, 4
jl 0x1002d69a
inc esi
add ecx, 4
sub ebx, 1
jne 0x1002d696
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1002d750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x28], 4
lea edi, [ebp - 0x14]
lea edx, [ebp - 8]
mov dword [ebp - 0x24], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ecx + 4]
mov dword [ebp - 0x20], esi
mov al, byte [edx - 8]
mov cl, byte [edx - 0xc]
mov dword [ebp - 0x1c], eax
mov al, byte [edx - 4]
mov dword [ebp - 0x18], eax
mov al, byte [edx]
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
call fcn.1002d87c
push ecx
mov bl, al
call fcn.1002d8ea
push dword [ebp - 0x18]
xor bl, al
call fcn.1002d8c5
push dword [ebp - 0x1c]
xor bl, al
call fcn.1002d8a0
xor bl, al
mov byte [esi - 4], bl
mov esi, dword [ebp - 0x2c]
push esi
call fcn.1002d8c5
mov edi, dword [ebp - 0x30]
mov bl, al
push edi
call fcn.1002d87c
push dword [ebp - 0x18]
xor bl, al
call fcn.1002d8a0
push dword [ebp - 0x1c]
xor bl, al
call fcn.1002d8ea
xor bl, al
mov eax, dword [ebp - 0x20]
push esi
mov byte [eax], bl
call fcn.1002d8a0
push edi
mov bl, al
call fcn.1002d8c5
push dword [ebp - 0x18]
xor bl, al
call fcn.1002d8ea
push dword [ebp - 0x1c]
xor bl, al
call fcn.1002d87c
xor bl, al
mov eax, dword [ebp - 0x20]
push esi
mov byte [eax + 4], bl
call fcn.1002d8ea
push edi
mov bl, al
call fcn.1002d8a0
push dword [ebp - 0x18]
xor bl, al
call fcn.1002d87c
push dword [ebp - 0x1c]
xor bl, al
call fcn.1002d8c5
mov esi, dword [ebp - 0x20]
xor bl, al
mov edx, dword [ebp - 0x24]
mov byte [esi + 8], bl
inc esi
inc edx
mov dword [ebp - 0x20], esi
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x24], edx
jne 0x1002d77f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f15a
mov esp, ebp
pop ebp
ret

Function at 0x10031c83
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x625370
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 0x62538e
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 0x64e074
push ecx
mov edi, eax
call fcn.00639198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6253cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0063902e
push esi
call fcn.00638fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x628850
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 0x6288ae
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 0x653720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6288ba
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.006391e1
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 0x6288ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x653720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x62892a
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.0063a082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x628957
mov word [eax], si
add eax, 2
push eax
call fcn.0063a030
add esp, 4
jmp 0x628959
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 0x6288ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6288b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6290c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x64e458
push ecx
call fcn.006391e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006391e1
add esp, 0x10
jmp 0x6290d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0063920b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00638dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00629050
mov eax, dword [0x653728]
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 0x62913b
push esi
call fcn.00628fb0
add esp, 4
mov dword [0x653728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x62914c
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.00628ff0
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 0x62c440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x62c4b7
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 0x62c48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x62c471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x62c47e
add edx, ecx
cmp ebx, edx
jb 0x62c48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x62c467
xor ecx, ecx
jmp 0x62c4a2
test eax, eax
jne 0x62c492
xor ecx, ecx
jmp 0x62c4a2
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.0062c3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x62c8f0
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 0x62c921
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 0x62c946
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 0x62c96e
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 0x62c993
push ecx
push esi
call fcn.0062c4c0
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 0x62dc00
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 0x62dc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x62dc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x62dc38
add edx, eax
cmp ebx, edx
jb 0x62dc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x62dc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x62dc50
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 0x62dc70
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 0x62dcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x62dc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x62dca8
add edx, ecx
cmp ebx, edx
jb 0x62dcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x62dc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x62df60
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.0063a145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x62dffb
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 0x62dfdd
lea eax, [esp + 0x18]
push eax
jmp 0x62dfe2
push 0x653720
call fcn.00639fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x62dfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x62df40
push 4
push ecx
push eax
call fcn.0063a43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x62e310
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.0063a145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x62e3ab
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 0x62e38d
lea eax, [esp + 0x18]
push eax
jmp 0x62e392
push 0x653720
call fcn.00639fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x62e360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x62df40
push 4
push ecx
push eax
call fcn.0063a43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x62ff20
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 0x62ffd7
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 0x62ffcf
push ebx
push edi
push 0x653770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x62ffae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x653770
push esi
call ebx
test eax, eax
je 0x62ffae
mov ebp, 3
cmp dword [0x653774], ebp
jne 0x62ffaa
push 0x3e8
call edi
push 0x653770
push esi
call ebx
test eax, eax
jne 0x62ff8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0x62ffc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0x62ffbb
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