joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401050
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x40106b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x401076
bts eax, 6
shr ecx, 1
test cl, 1
je 0x401081
bts eax, 5
shr ecx, 1
test cl, 1
je 0x40108c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x401097
bts eax, 3
shr ecx, 1
test cl, 1
je 0x4010a2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x4010ad
bts eax, 1
test cl, 2
je 0x4010b6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x401152
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x401143
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x401060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401180
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x406008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x404208
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 8], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x4011d1
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040311c
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
test ebx, ebx
jne 0x401209
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor al, al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040311c
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x40125c
push esi
nop
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 0xc]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x401222
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x400
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x401220
pop esi
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 8
not dword [edi]
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.0040311c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401290
Capabilities:
Execute command
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x406008]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push str.What_do_you_want_to_do_:__n
call fcn.00401f60
add esp, 4
push str.1___Gerar_Config__n
call fcn.00401f60
add esp, 4
push str.2___Encrypt_Files__n
call fcn.00401f60
add esp, 4
push str.3___Encrypt_Lua__n
call fcn.00401f60
add esp, 4
push str.4___Custom_Jewels__n
call fcn.00401f60
add esp, 4
push str.5___Gerar_Tudo__n
call fcn.00401f60
add esp, 4
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x40428c
call fcn.00401ee0
mov eax, dword [esp + 0x10]
add esp, 8
cmp eax, 1
jne 0x401321
call fcn.004014e0
jmp 0x4014ab
cmp eax, 2
jne 0x401387
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..Configs.txt
push 0x11
push 0x406bb4
push 0x404799
push str.IpAddress
push str.Configs
call esi
push str..Configs.txt
push 0x7d
push 0x406bc5
push 0x404799
push str.PrivateCode
push str.Configs
call esi
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Files_Encrypted_
push str.Files_Decrypted_
mov ecx, 0x406aa8
call fcn.00402710
jmp 0x4014ab
cmp eax, 3
jne 0x4013d9
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..Configs.txt
push 0x11
push 0x406d54
push 0x404799
push str.IpAddress
push str.Configs
call esi
push str..Configs.txt
push 0x7d
push 0x406d65
push 0x404799
push str.PrivateCode
push str.Configs
call esi
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401497
cmp eax, 4
jne 0x4013e8
call fcn.00401e00
jmp 0x4014ab
cmp eax, 5
jne 0x4014ab
call fcn.004014e0
call fcn.00401e00
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..Configs.txt
push 0x11
push 0x406bb4
push 0x404799
push str.IpAddress
push str.Configs
call edi
push str..Configs.txt
push 0x7d
push 0x406bc5
push 0x404799
push str.PrivateCode
push str.Configs
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x14
call esi
push str.Files_Encrypted_
push str.Files_Decrypted_
mov ecx, 0x406aa8
call fcn.00402710
push str..Configs.txt
push 0x11
push 0x406d54
push 0x404799
push str.IpAddress
push str.Configs
call edi
push str..Configs.txt
push 0x7d
push 0x406d65
push 0x404799
push str.PrivateCode
push str.Configs
call edi
push 0x14
call esi
push str.LuaScriptsEncrypted_
push str.LuaScriptsDecrypted_
mov ecx, 0x406c48
call fcn.00402ac0
push str.Arquivo_gerado_com_sucesso___n
call fcn.00401f60
add esp, 4
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [esp + 0x10]
add esp, 4
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0040311c
mov esp, ebp
pop ebp
ret
Function at 0x401e00
Capabilities:
Create directory
Delete file
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa0
mov eax, dword [0x406008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
mov ecx, 0x406018
call fcn.00401fc0
mov ecx, 0x2a3
lea edi, [ebp - 0xa98]
mov esi, 0x40601c
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov cl, byte [ebp + eax - 0xa98]
mov edx, eax
xor cl, al
shr edx, 8
xor dl, 0xfc
xor cl, 0xca
sub cl, dl
mov byte [ebp + eax - 0xa98], cl
inc eax
cmp eax, 0xa8c
jb 0x401e34
push 0
push str.OgocX
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.OgocX__CustomJewel.ogocx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
push str.OgocX__CustomJewel.ogocx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401eb9
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xa8c
lea eax, [ebp - 0xa98]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040311c
mov esp, ebp
pop ebp
ret
Function at 0x402540
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x406008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x10], ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x4025d1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4025a0
push eax
call fcn.004033dc
add esp, 4
mov dword [esi + 4], 0
push dword [esi + 8]
call fcn.004033e1
add esp, 4
mov dword [esi + 4], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
jne 0x4025e6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040311c
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 8], 8
jb 0x40260a
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
cmp eax, dword [0x4047ec]
jne 0x40260a
mov eax, dword [ecx + 4]
cmp eax, dword [0x4047f0]
je 0x4025d1
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
push dword [ebp - 0x10]
call ebx
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0xffffffff
je 0x4025d1
mov ecx, dword [esi + 8]
add ecx, 8
push ecx
call fcn.004033e1
mov ecx, dword [0x4047ec]
mov edx, dword [0x4047f0]
mov dword [ebp - 8], eax
mov dword [eax], ecx
lea ecx, [eax + 8]
mov dword [eax + 4], edx
push dword [esi + 8]
push dword [esi + 4]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0x10
xor edi, edi
test eax, eax
jle 0x4026c0
mov edx, dword [ebp - 8]
lea ecx, [esi + 0x11d]
nop dword [eax]
mov eax, edi
and eax, 0xf
mov bl, byte [eax + 0x4047dc]
xor bl, byte [edx + edi + 8]
mov byte [edx + edi + 8], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402686
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
lea ecx, [esi + 0x11d]
movsx eax, byte [edx + esi + 0x11d]
mov edx, dword [ebp - 8]
and eax, 0xf
mov al, byte [eax + 0x4047dc]
add al, bl
mov byte [edx + edi + 8], al
inc edi
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x402670
mov ebx, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
add eax, 8
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
jne 0x4026ec
call eax
jmp 0x4025d1
call eax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040311c
mov esp, ebp
pop ebp
ret 8
Function at 0x402710
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x406008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x308]
push 0x4047a8
push eax
mov dword [ebp - 0x450], ecx
call esi
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4028ac
nop
test byte [ebp - 0x448], 0x10
lea eax, [ebp - 0x41c]
jne 0x4027dc
push eax
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x44c]
lea eax, [ebp - 0x108]
push str._s_s
push eax
call esi
lea eax, [ebp - 0x108]
push eax
push str._s_encrypted__n
call fcn.00401f60
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x108]
add esp, 0x28
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00402540
jmp 0x402896
mov ecx, 0x4047d0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402801
test dl, dl
je 0x4027fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402801
add eax, 2
add ecx, 2
test dl, dl
jne 0x4027e1
xor eax, eax
jmp 0x402806
sbb eax, eax
or eax, 1
test eax, eax
je 0x402896
mov eax, 0x4047c4
lea ecx, [ebp - 0x41c]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x402840
test dl, dl
je 0x40283c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x402840
add ecx, 2
add eax, 2
test dl, dl
jne 0x402820
xor eax, eax
jmp 0x402845
sbb eax, eax
or eax, 1
test eax, eax
je 0x402896
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x108]
push str._s_s_
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x44c]
lea eax, [ebp - 0x208]
push str._s_s_
push eax
call esi
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x208]
add esp, 0x20
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402710
lea eax, [ebp - 0x448]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402770
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040311c
mov esp, ebp
pop ebp
ret 8
Function at 0x4028f0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x406008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x10], ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x402981
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x402950
push eax
call fcn.004033dc
add esp, 4
mov dword [esi + 4], 0
push dword [esi + 8]
call fcn.004033e1
add esp, 4
mov dword [esi + 4], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
jne 0x402996
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040311c
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 8], 8
jb 0x4029ba
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
cmp eax, dword [0x404804]
jne 0x4029ba
mov eax, dword [ecx + 4]
cmp eax, dword [0x404808]
je 0x402981
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
push dword [ebp - 0x10]
call ebx
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0xffffffff
je 0x402981
mov ecx, dword [esi + 8]
add ecx, 8
push ecx
call fcn.004033e1
mov ecx, dword [0x404804]
mov edx, dword [0x404808]
mov dword [ebp - 8], eax
mov dword [eax], ecx
lea ecx, [eax + 8]
mov dword [eax + 4], edx
push dword [esi + 8]
push dword [esi + 4]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0x10
xor edi, edi
test eax, eax
jle 0x402a70
mov edx, dword [ebp - 8]
lea ecx, [esi + 0x11d]
nop dword [eax]
mov eax, edi
and eax, 0xf
mov bl, byte [eax + 0x4047f4]
xor bl, byte [edx + edi + 8]
mov byte [edx + edi + 8], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402a36
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
lea ecx, [esi + 0x11d]
movsx eax, byte [edx + esi + 0x11d]
mov edx, dword [ebp - 8]
and eax, 0xf
mov al, byte [eax + 0x4047f4]
add al, bl
mov byte [edx + edi + 8], al
inc edi
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x402a20
mov ebx, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
add eax, 8
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
jne 0x402a9c
call eax
jmp 0x402981
call eax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040311c
mov esp, ebp
pop ebp
ret 8
Function at 0x402ac0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x406008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, ecx
push ebx
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x308]
push 0x4047a8
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x450], eax
cmp eax, 0xffffffff
je 0x402c76
nop
test byte [ebp - 0x448], 0x10
lea eax, [ebp - 0x41c]
jne 0x402b88
push eax
push ebx
lea eax, [ebp - 0x208]
push str._s_s
push eax
call edi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x44c]
lea eax, [ebp - 0x108]
push str._s_s
push eax
call edi
lea eax, [ebp - 0x108]
push eax
push str._s_encrypted__n
call fcn.00401f60
add esp, 0x28
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004028f0
jmp 0x402c3a
mov ecx, 0x4047d0
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402bb0
test dl, dl
je 0x402bac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402bb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x402b90
xor eax, eax
jmp 0x402bb5
sbb eax, eax
or eax, 1
test eax, eax
je 0x402c5b
mov eax, 0x4047c4
lea ecx, [ebp - 0x41c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x402be8
test dl, dl
je 0x402be4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x402be8
add ecx, 2
add eax, 2
test dl, dl
jne 0x402bc8
xor eax, eax
jmp 0x402bed
sbb eax, eax
or eax, 1
test eax, eax
je 0x402c5b
lea eax, [ebp - 0x41c]
push eax
push ebx
lea eax, [ebp - 0x108]
push str._s_s_
push eax
call edi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x44c]
lea eax, [ebp - 0x208]
push str._s_s_
push eax
call edi
add esp, 0x20
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402ac0
push pe_nt_image_headers32
lea eax, [esi + 0xc]
mov dword [esi + 4], 0
push 0
push eax
mov dword [esi + 8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402b20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040311c
mov esp, ebp
pop ebp
ret 8

Function at 0x403a64
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403aa3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403aa3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403aa3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403aa3
cmp dword [ecx + 0x74], 0xe
jbe 0x403aa3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x47f7b1
Capabilities:
Start service

Disassembly:
je 0x47f7b1
jne 0x47f7b1
mov edi, dword [0xde81d8]
adc dword [ebx - 0x5eed909], edi
push 0x50979c
mov esi, 0x66666667
push 0x1148a010
mov eax, dword [0xe919d0]
mov dword [eax + 0xc], 0x86db
mov dword [esi + 0x60d8], eax
push 0x9f8fd0
mov dword [esi], 0xac36fc
mov eax, 0x101a72a4
movdqa xmm0, xmm4
mov eax, dword [edx*4 + 0xe48fa4]
add byte [ecx - 0x13], al
mov eax, 0xf62f00
push 0xabf64c
mov byte [0x699973fa], 1
aam 0xe8
mov dword [0xcba4e7c1], eax
outsd dx, dword [esi]
test al, 0x55
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2490
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5be670]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
xor esi, esi
push 0x4b5538
xor edi, edi
je 0x480379
jne 0x480379
and dh, byte [bx + 0x69]
mov dword [edi + 0x68], 0xb
cmp dword [esi*8 + 0x445e54], 1
ror byte [edx], 0x82
cmp edi, 0x73
mov eax, 0x4100ec
call dword [0x42813c]
mov eax, dword [0x42319c]
mov edx, dword [0x453b4c]
cmp bl, 0x68
mov byte [0xe475b4], 1
push 0x649060
mov eax, dword [edx + ecx*8]
add byte [edx - 0x9587048], bl
stc
or al, 0xad
stosd dword es:[edi], eax
les ebp, [edx + ecx]
mov dword [0x4836caeb], eax
ror byte [ebx + 0xc35de5], 0x57
and byte [ebx - 0x1b4c2feb], cl
add byte [ecx + 0x40d0ec], ah
mov dword [esi + 0xc], 0x112ebb70
push 0xac3c8c
push 0x102493a0
push 0x100a1d88
mov dword [esi + 0x10], 0x11179f50
mov dword [0x449854], eax
mov dword [esi + 0xc], 0x11179e70
lea edi, [eax + edx*4]
mov eax, 0x101a935c
push 0xe1c0e8
push 0xa877d8
mov dword [0x112786d4], eax
mov dword [ebp - 0x4c], 0x60000133
mov edx, dword [edx + ecx*8 + 0x4034]
push 0x102be518
inc edi
int 0x3e
adc dl, byte [ebx - 0x51da033b]
mov edx, 0x8f243794
stosd dword es:[edi], eax
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x47f918
dec ecx
push 0x47fadb
ret
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], esi
je 0x47fe48
push 0x47ff12
ret
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
jmp 0x47f8bd
mov edx, dword [ebp - 0x1c]
jmp 0x48062c
sub edi, edi
jmp 0x47fe48
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x480096
push eax
je 0x4804fe
jne 0x4804fe
cmp byte [edi + 0x85], al
fild dword [esi + 0x70]
cmp dword [ebp - 4], 0x46
lea eax, [ecx + eax*8]
mov eax, 0xf6aa94
push 0x1153efa4
lea ebp, [ebx + edi + 0x400]
mov eax, 0xc808ae
mov eax, 0x106dedf0
push 0xb907f0
mov byte [0xd2d10e], 1
push 0xaf3a28
push 0x1144fa54
mov eax, dword [0x1154049c]
mov dword [0x1123b198], eax
push 0xa87fc0
mov ecx, dword [0x11529258]
call 0xf57d11d9
mov ecx, 0x8aa1051
pop esp
inc ebp
dec ebx
cmpsb byte [esi], byte es:[edi]
cmp al, 0xb8
jne 0x4805c2
push 0x480558
ret
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
call fcn.004806c0
jmp 0x47fbed
lea ecx, [ebp - 0x34]
call fcn.0044eb10
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
jmp 0x480322
add edx, 0xfffffff0
jmp 0x47fc3b
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1ea904ba
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x501d2687
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219