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

Disassembly:
mov dword [esp + ecx*2 - 0x5278eaec], eax
add dl, 0x33
and cl, cl
sub cl, al
not dl
xor bl, dl
sar dword [esp + ecx*2 - 0x5278ebb6], cl
lea edx, [esp + edx + 4]
mov eax, dword [edx + ecx*2 - 0x5278ebb6]
shl dword [esp + ecx*2 - 0x5278ebb6], 0x3a
mov edx, eax
or cx, 0x3119
mov cl, byte [edi + ecx - 0x293c75db]
call fcn.010b5f36

Function at 0x118339c
Capabilities:
Encode data using base64

Disassembly:
push edx
shl edx, cl
not eax
ror dword [esp + edx*2 - 0x80000000], cl
call fcn.01136eb4

Function at 0x11833ad
Capabilities:
Encode data using base64

Disassembly:
dec edx
lea edx, [ebp + eax*8 + 0x43dd4a8]
inc di
mov dword [ecx + ebx - 0x60bad387], ebp
inc ebp
movsx edi, dl
inc ecx
xor ebp, edx
jmp edi
inc ecx
not eax
inc ecx
rol eax, 2
or eax, ebp
inc ecx
sbb eax, 0x209c1d9d
dec esp
mov dword [esp], edx
pop eax
inc ecx
not eax
inc ecx
ror eax, 1
inc esp
movzx ebp, ax
push esi
inc ecx
mov ebx, edx
inc esi
xor dword [esp + ebp - 0x8b85], eax
sub ebp, 0x28af9888
jbe 0xf9ae93
pop esi
xadd bx, ax
inc ebp
sbb dl, ch
dec ebp
arpl ax, ax
dec esi
lea ecx, [ebp*2 + 0x60b9bc32]
inc ecx
xadd edx, eax
dec ecx
add edi, eax
dec ebp
lea eax, [ebp + eax + 0x51abb018]
dec ebx
mov ebx, dword [ebx + edx*2 - 0x6afa2f08]
inc si
mov ebp, dword [ebx + edx*2 - 0x6afa2f08]
inc ecx
rol cl, 0x25
dec edi
lea ebx, [ebx + ecx - 0x60bad381]
jb 0x1033376

Function at 0x1186f93
Capabilities:
Encode data using base64

Disassembly:
dec esi
mov dword [esp + edi - 0x71a2e0d], eax
inc ecx
ror al, 0xe6
inc edi
mov esp, dword [ebx + edi*4 - 0x1c68b850]
inc ecx
shr ch, 0x45
inc ebx
mov cl, byte [ebx + edi*2 - 0xe345c22]
mov ebp, 0x780df28a
inc ecx
pop edx
inc ecx
pop edi
dec edi
lea ebx, [ebx + edi*2 + 4]
inc ecx
adc ebp, eax
jae 0x102b5ec
call fcn.00ba02a8
dec edi
lea esi, [ebp + esi - 0x5c1c0321]
xadd byte [esp + eax - 0x5c1c0311], al
inc ecx
push ecx
inc dx
sar dword [esp + ebp - 0x5c1c0308], 0x8d
inc ebx
mov ebx, dword [esi + ebp - 0x5c1c031d]
movsx ecx, al
jnp 0xb33730
xor ebx, esi
pop eax
inc ecx
sar al, 0x81
not ebx
inc edx
not dword [esp + ebp - 0x5c1c0311]
inc ecx
lea ebx, [eax + ebx - 0x624b8784]
jle 0xb1505e
inc ecx
nop
xor ebx, 0xb7a94803
bswap ebx
inc esp
xadd byte [esp + edx*4 - 0x6a], ch
inc ecx
lea ebx, [ebp + ebx - 0x28ce42f]
bswap ebx
dec ebx
lea ebp, [ecx + ebp + 0x7eb8f130]
dec edx
mov dword [esp + ebp - 0x5c1c0366], esi
inc edx
xor dword [esp + ebp - 0x5c1c0366], ebx
dec edx
lea esi, [ecx*2 - 0x4bcc8cdf]
inc eax
not dh
inc ecx
pop eax
dec ecx
add eax, 0x4d0d8b
inc ecx
jmp eax
Function at 0x118a3f6
Capabilities:
Encode data using base64

Disassembly:
sub edx, ecx
pop eax
pop eax
pop edx
pop eax
pop ecx
pop edx
pop ecx
jae fcn.010a18ab
inc ecx
mov edx, 0x3c05a68d
inc ecx
mov eax, 0x290294
dec edi
lea esi, [esi + eax - 0x290298]
inc ecx
add dl, 0x3d
inc ebx
mov ebp, dword [esi + edx*2 - 0x780b4d94]
dec ebx
lea edx, [edx + edx*8 + 0x5d948512]
dec esi
lea ebp, [eax*2 + 0x282f1998]
xor ebp, esi
dec eax
or edx, 0x502033aa
push edx
dec ebp
inc ecx
movsx ebx, al
inc edx
xor byte [esp + edx - 0x3c05a6c3], bl
inc edx
movzx ecx, word [esp + eax*2 - 0x520526]
bswap ebp
neg bx
inc dx
xchg dword [esp + edx - 0x3c05a6c9], ebx
inc bl
sub ebp, 0xd132292e
jmp 0x1025496

Function at 0x1190dcc
Capabilities:
Encode data using base64

Disassembly:
movzx ecx, word [esi + edx - 0x76eec5dc]
mov dword [esp + edx - 0x76eec5dc], edx
xchg word [esp + edx - 0x76eec5db], dx
xor cx, bx
jmp 0x11a5eca

Function at 0x119586d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push esi
cmp eax, 0x75153884
test edx, edx
je 0xfa05c5
mov esi, dword [ebp + 0xc]
clc
test esi, esi
jmp 0x111e8fa
push ebp
clc
rol dx, 0x98
bswap edx
mov ebp, esp
mov dl, 0x9c
test ax, 0x7cae
rcl dh, cl
mov edx, dword [ebp + 8]
cmp ebx, ebx
stc
sub esp, 0x114
jmp 0xfc186b

Function at 0x119d6d2
Capabilities:
Encode data using base64

Disassembly:
inc edi
mov edi, dword [esi + ecx*4 - 0x2067d040]
jmp 0x10a7194
mov dword [edi + eax - 0x2bac], edx
call fcn.00fc6652
neg dword [esp + eax*4 - 0x314c]
rol eax, 0xa3
not cl
neg word [esp + edx - 0x73b80c96]
shl ax, 0xa9
inc eax
xor bl, cl
and ax, ax
lea ecx, [esp + ecx + 0xc]
add ax, 0xdbad
not dword [esp + eax*4 - 0xaeb0]
ror byte [esp + edx - 0x73b80c98], 0x83
mov edx, dword [ecx + eax - 0x2bae]
mov dword [esp + eax*2 - 0x575c], eax
jbe 0xfc74c0
lea edx, [ecx + 0x7136d52a]
neg eax
or ecx, edx
shr dx, 0xe1
rol eax, 2
pop ecx
xor eax, 0x35862b90
inc eax
sub edx, edx
shl byte [esp + edx*8 + 1], 0xc4
xor ebx, eax
mov dword [esp + edx], edx
call fcn.00b08250
jmp 0xb89fb9

Function at 0x119d749
Capabilities:
Encode data using xor

Disassembly:
jbe 0xfdf472
inc ecx
neg edx
inc esi
xadd dword [esp - 0x25cbf0], eax
dec esp
lea ebp, [edx*8 + 0x41bfd500]
dec edx
lea ebp, [ebp*8 - 0x65dfc0e5]
dec edx
mov dword [esp - 0x972f7], esi
inc esi
movzx edi, byte [esp - 0x972fc]
inc cx
neg esp
inc esi
xor dword [esp - 0x98cf9], edx
inc cx
and ebp, 0x334c9f8e
ret 0xf642
dec esi
mov dword [esp - 0x972ff], eax
inc ecx
xor edx, 0xf785308c
inc esi
or dword [esp - 0x972ff], ecx
inc edi
lea edx, [edx + 0x7862ac2b]
inc ecx
movsx edx, cl
dec edx
rol dword [esp - 0x25cbf4], cl
inc ebp
cmovp ecx, esp
inc ecx
neg edx
inc edi
lea edx, [esp + edx - 0x14beef8c]
inc dx
xadd dword [esp - 0x972f3], ecx
jg 0xfd0b05
mov edx, 0x5306cc96
mov edx, dword [esi + edx - 0x5306cc96]
push 0x3918af
add esi, 4
xor edx, ebx
add edx, 0xa491a32b
bswap edx
sub edx, 0x561cbf85
inc dword [esp]
bswap edx
xor ebx, edx
add ebp, edx
lea esp, [esp + 4]
call fcn.00ff68cc
Function at 0x11a2601
Capabilities:
Encode data using base64

Disassembly:
inc ecx
bswap ecx
mov eax, 0x56938d1e
inc esp
movzx edi, dl
inc ecx
not ecx
inc ecx
not edx
inc ecx
rol ecx, 1
call fcn.01199ddd
mov ecx, 0xdea570a5
lea eax, [ecx + ecx*2 + 0x739a428f]
movzx ax, byte [ebp + eax - 0xf8a947e]
call fcn.00feca89
dec ecx
dec edx
pop edx
not eax
inc ecx
push esp
dec ecx
neg edx
dec ecx
inc edx
inc dx
sar dword [esp + ebp - 0x5699c525], 0x8f
dec ecx
inc eax
inc ecx
setl al
dec ecx
bswap edx
inc ecx
movsx edx, cl
inc ecx
xor eax, 0x8e91dd1d
dec ecx
xor edx, 0x2d017c9a
call fcn.0116d446
dec ecx
sub esi, 4
mov ebp, 0x88186115
inc ebp
mov ecx, dword [esi]
inc eax
movzx edx, ch
dec esp
lea ebp, [edx*4 + 0x60ab4a94]
inc esp
xor ecx, esi
inc ebp
movsx edx, ch
jmp 0xb14582

Function at 0x11a799d
Capabilities:
Encode data using base64

Disassembly:
dec cl
sar byte [esp + 0x10], 0xa2
shr ax, 8
neg cl
and eax, eax
call fcn.011a036f
call fcn.00b434f2

Function at 0x11a8e4e
Capabilities:
Execute syscall

Disassembly:
shr dl, 0x87
lea eax, [eax + edx*4 - 0x781c2b26]
xor eax, 0x520be2b1
rol dl, 0x82
shr ecx, 0xeb
xor ebx, eax
call fcn.00b18a81
dec ecx
ror eax, 0xe0
inc bx
inc esp
xor edx, esi
dec ecx
lea ebp, [eax + edx*4 + 0x211fc31a]
inc ecx
ror edx, 1
inc ebp
movzx ecx, sp
inc ecx
xchg ebp, edx
inc ecx
not edx
dec dx
dec edx
lea ecx, [ebp + ecx - 0x2637346]
inc ecx
dec edx
inc ecx
movsx eax, cl
add ax, bx
dec ecx
dec esp
inc ecx
neg edx
dec eax
shl ebp, cl
inc ecx
rol edx, 3
dec ecx
shl eax, cl
push esi
inc ecx
push esp
movsx esi, bp
inc esi
xor dword [esp + edi - 0x30199460], edx
dec edx
mov esi, dword [esp + edi - 0x30199460]
call fcn.01022bc6
lea esi, [ecx + esi - 0xc441706]
shr cx, cl
xadd cx, ax
xor edx, ebx
and ecx, eax
neg edx
and eax, 0xaa208485
push eax
not byte [esp + eax*4 - 0x8800014]
rol edx, 1
not edx
ror edx, 3
call fcn.00fe6d87
mov ecx, 0x882c92a6
sub cl, 0xae
xor edx, ebx
movzx eax, cl
dec edx
sar eax, 0x27
mov dword [esp + eax - 1], 0xd1847589
call fcn.010279d8
mov ecx, 0x6220b85
and ecx, ecx
mov eax, ecx
mov edx, dword [esi + ecx*8 - 0x31105c28]
adc ecx, ecx
jns 0x100edd5
mov eax, 0xe50fe397
mov ecx, dword [esi]
add esi, 4
xor ecx, ebx
rol ax, 0x63
neg eax
seta al
inc ecx
ror ecx, 1
inc ecx
rol ecx, 1
sal al, 0xa3
not ecx
jns 0xb2a46e
mov eax, dword [esi]
add esi, 4
mov ecx, 0xcf0cef2d
xor eax, ebx
lea ecx, [ecx + ecx*8 + 0x2b1d490a]
movzx edx, cl
and cx, cx
ror eax, 1
lea eax, [eax + ecx*2 - 0x66ebec04]
shr dx, 0x65
and edx, 0xd1800f94
neg dl
bswap eax
sal edx, cl
neg edx
shl cx, 0x8e
ror eax, 1
jmp 0xba0fef
Function at 0x470a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x49000]
push edi
or ebp, 0xffffffff
jmp 0x470aa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x470aa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470a98
mov eax, 1
add ebx, ebx
jne 0x470abb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x470acc
jne 0x470aeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470aeb
dec eax
add ebx, ebx
jne 0x470ad8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x470ab0
add ebx, ebx
jne 0x470ae7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x470b3d
xor ecx, ecx
sub eax, 3
jb 0x470b03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x470b72
sar eax, 1
mov ebp, eax
jmp 0x470b0e
add ebx, ebx
jne 0x470b0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470adc
inc ecx
add ebx, ebx
jne 0x470b1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470adc
add ebx, ebx
jne 0x470b29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x470b1e
jne 0x470b3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x470b1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x470b5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x470b4e
jmp 0x470a9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x470b5c
add edi, ecx
jmp 0x470a9e
pop esi
mov edi, esi
mov ecx, 0x2144
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x470b7a
cmp byte [edi], 0xe
jne 0x470b7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x470b7f
lea edi, [esi + 0x6d000]
mov eax, dword [edi]
or eax, eax
je 0x470bf7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x74d90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x74e94]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x470bac
mov ecx, edi
jns 0x470bdb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x74e98]
or eax, eax
je 0x470bf1
mov dword [ebx], eax
add ebx, 4
jmp 0x470bc9
call dword [esi + 0x74ea8]
mov ebp, dword [esi + 0x74e9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x470c2b
sub esp, 0xffffff80
jmp 0x43183d
Function at 0xc2a370
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 0xc2a38e
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 0xc53074
push ecx
mov edi, eax
call fcn.00c3e198
mov esi, eax
add esp, 8
test esi, esi
jne 0xc2a3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00c3e02e
push esi
call fcn.00c3dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xc2d850
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 0xc2d8ae
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 0xc58720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc2d8ba
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.00c3e1e1
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 0xc2d8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xc58720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc2d92a
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.00c3f082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xc2d957
mov word [eax], si
add eax, 2
push eax
call fcn.00c3f030
add esp, 4
jmp 0xc2d959
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 0xc2d8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xc2d8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xc2e0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xc53458
push ecx
call fcn.00c3e1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00c3e1e1
add esp, 0x10
jmp 0xc2e0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00c3e20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00c3ddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00c2e050
mov eax, dword [0xc58728]
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 0xc2e13b
push esi
call fcn.00c2dfb0
add esp, 4
mov dword [0xc58728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xc2e14c
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.00c2dff0
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 0xc31440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xc314b7
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 0xc3148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xc31471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xc3147e
add edx, ecx
cmp ebx, edx
jb 0xc3148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xc31467
xor ecx, ecx
jmp 0xc314a2
test eax, eax
jne 0xc31492
xor ecx, ecx
jmp 0xc314a2
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.00c313c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xc318f0
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 0xc31921
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 0xc31946
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 0xc3196e
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 0xc31993
push ecx
push esi
call fcn.00c314c0
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 0xc32c00
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 0xc32c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xc32c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xc32c38
add edx, eax
cmp ebx, edx
jb 0xc32c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xc32c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xc32c50
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 0xc32c70
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 0xc32cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xc32c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xc32ca8
add edx, ecx
cmp ebx, edx
jb 0xc32cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xc32c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xc32f60
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.00c3f145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xc32ffb
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 0xc32fdd
lea eax, [esp + 0x18]
push eax
jmp 0xc32fe2
push 0xc58720
call fcn.00c3efd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xc32fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xc32f40
push 4
push ecx
push eax
call fcn.00c3f43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xc33310
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.00c3f145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xc333ab
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 0xc3338d
lea eax, [esp + 0x18]
push eax
jmp 0xc33392
push 0xc58720
call fcn.00c3efd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xc33360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xc32f40
push 4
push ecx
push eax
call fcn.00c3f43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xc34f20
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 0xc34fd7
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 0xc34fcf
push ebx
push edi
push 0xc58770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0xc34fae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0xc58770
push esi
call ebx
test eax, eax
je 0xc34fae
mov ebp, 3
cmp dword [0xc58774], ebp
jne 0xc34faa
push 0x3e8
call edi
push 0xc58770
push esi
call ebx
test eax, eax
jne 0xc34f8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0xc34fc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0xc34fbb
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