joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4920b0
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b50f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ea008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x4920f9
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x49224b
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x492216
test eax, eax
je 0x492216
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x492219
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x24], eax
cmp ecx, 0xffffffff
je 0x49219b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49218f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x49219b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x4921a9
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x24]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00412560
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x492216
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x492154
jmp 0x492219
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add dword [ecx], edx
test eax, eax
jne 0x492242
test edx, edx
je 0x49223e
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x492110
mov al, 1
jmp 0x49224d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x49224b
mov dword [ecx], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2e83
mov esp, ebp
pop ebp
ret 0x10
Function at 0x496fd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4ea008]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x497067
cmp dword [esp + 8], 6
jb 0x497067
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.004a2e83
add esp, 0x118
ret

Function at 0x497080
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5930
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4ea008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.wintrust.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004126a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00482190
mov ecx, eax
call fcn.00482250
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412640
push 0xb
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.crypt32.dll
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004126a0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.00482190
mov ecx, eax
call fcn.00482250
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00412640
test ebx, ebx
je 0x4971dd
test esi, esi
je 0x4971dd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a1290
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4a129b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004a12b0
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40b48a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40b499
pop dword [ebp - 0x44]
mov eax, 0x40b499
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xc9a39f10
sub dword [ebp - 0x54], 0x7b5159c5
mov dword [ebp - 0x50], 0x8b42ac32
sub dword [ebp - 0x50], 0x590f5fed
mov dword [ebp - 0x4c], 0xf792e04c
add dword [ebp - 0x4c], 0x54b963e2
mov dword [ebp - 0x48], 0xc71194
add dword [ebp - 0x48], 0xff38ee6c
lea eax, [ebp - 0x54]
push eax
mov eax, 0x99b31ba4
sub eax, 0x99724b58
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xafcf9b29
sub dword [ebp - 0x54], 0x3b5d31d3
mov dword [ebp - 0x50], 0x37314c45
sub dword [ebp - 0x50], 0xf5c4ead0
mov dword [ebp - 0x4c], 0x207eed49
sub dword [ebp - 0x4c], 0xbd0f80dd
mov dword [ebp - 0x48], 0x47847de7
sub dword [ebp - 0x48], 0x47847de7
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xaa21fe
sub eax, 0x6951b6
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3a8e6
push 0
call eax
mov ecx, 0xfdae6393
sub ecx, 0xfdae1728
mov edx, eax
mov ebx, 0x24ac4d0c
add ebx, 0xdb9562f4
add ebx, dword [ebp - 0x44]
mov esi, 0xadccfb2a
add esi, 0x5916ae6f
xor dword [ebp - 0x34], 0xee349a2b
mov edi, dword [ebx]
xor dword [ebp - 0x14], ecx
xor edi, esi
mov dword [edx], edi
sub dword [ebp - 0x1c], eax
add edx, 0x69489b5e
add edx, 0x96b764a6
add ebx, 0xb90239de
add ebx, 0x46fdc626
loop 0x40b5b6
add eax, 0x1247f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd96b7ee9
sub ecx, 0xd92b7ee9
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40108d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40108d
mov edx, dword [ebp + 0x10]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x40108d
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100012b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, edx
mov edx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edx
test edx, edx
je 0x100013cc
test edi, edi
je 0x100013cc
mov esi, dword [ebp + 8]
test esi, esi
je 0x100013cc
xor ecx, ecx
test esi, esi
je 0x100013c0
lea edx, [esi - 1]
mov eax, 0xaaaaaaab
mul edx
push ebx
mov eax, edx
lea ebx, [ecx + 1]
shr eax, 1
inc eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx]
mov al, byte [edi + ebx - 1]
mov byte [ebp - 1], al
cmp ebx, esi
jae 0x10001311
movzx edx, byte [ebx + edi]
jmp 0x10001313
xor edx, edx
lea eax, [ebx + 1]
cmp eax, esi
jae 0x10001324
movzx eax, byte [ebx + edi + 1]
mov dword [ebp - 8], eax
jmp 0x1000132b
mov dword [ebp - 8], 0
movzx edi, byte [ebp - 1]
mov esi, edi
movzx edx, dl
and edi, 3
shr esi, 2
mov eax, edx
shl edi, 4
shr eax, 4
and edx, 0xf
add edi, eax
mov eax, dword [ebp - 8]
movzx eax, al
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x3f
shr eax, 6
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, dword [ebp + 8]
mov byte [ecx + edx], al
movzx eax, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + edx + 1], al
cmp ebx, esi
jae 0x10001388
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x1000138d
mov eax, 0x3d
mov byte [ecx + edx + 2], al
lea eax, [ebx + 1]
cmp eax, esi
jae 0x100013a4
mov eax, dword [ebp - 8]
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x100013a9
mov eax, 0x3d
mov edi, dword [ebp - 0x18]
add ebx, 3
mov byte [ecx + edx + 3], al
add ecx, 4
dec dword [ebp - 0xc]
jne 0x10001300
pop ebx
pop edi
mov byte [ecx + edx], 0
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10004a50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 8]
call fcn.10004666
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100046b1
push eax
push esi
push dword [ebp + 8]
jne 0x10004aba
call fcn.10004666
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100046b1
push eax
push esi
push dword [ebp + 8]
call fcn.10004666
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100046a1
out 0xc3, eax
stosd dword es:[edi], eax
scasd eax, dword es:[edi]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
Function at 0x10004ab0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 8]
call fcn.10004666
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100046b1
push eax
push esi
push dword [ebp + 8]
jne 0x10004aba
call fcn.10004666
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100046b1
push eax
push esi
push dword [ebp + 8]
call fcn.10004666
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100046a1
out 0xc3, eax
stosd dword es:[edi], eax
scasd eax, dword es:[edi]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51

Function at 0x10004b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.100046a1
mov dword [0x8dc66fdc], eax
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x10004f40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.100046b1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10004666
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
invalid
invalid
Function at 0x10005160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.100046b1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10004666
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.100046a1
mov cs, edi
inc eax
and byte [ebp - 0x664], 0
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
stc
invalid
call dword [esi + eax*8 - 0x6597b]
call dword [esi + eax*8 - 0x6587b]
call dword [edi - 0x6577a3a]
invalid
call [ebx - 0x6567a3a]
invalid
invalid
clc
lea eax, [ebp - 0x664]
push eax
call fcn.100046b1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10004666
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
invalid
test edx, esp
cli
Function at 0x10005b00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
invalid
Function at 0x40d9a5
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40d9cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40d9cb
xor al, al
jmp 0x40d9eb
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00411d50
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x4113ce
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x4113e7
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + ecx - 4]
mov dword [ebp - 4], ecx
lea esi, [eax + edi]
jmp 0x41140a
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x41140f
inc esi
cmp esi, dword [ebp - 4]
jb 0x411401
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 4]
mov dword [ebp - 8], eax
jae 0x411504
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x411463
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp + 0xc], eax
je 0x41143a
cmp cl, 0xff
jne 0x41148e
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x41149c
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x4114a3
dec ecx
shl edx, cl
and edx, 7
je 0x41142b
movzx ecx, byte [edx + 0x414b90]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x414b88], 0
mov cl, byte [ebx + 4]
je 0x41148b
test cl, cl
je 0x41148b
cmp cl, 0xff
jne 0x41142b
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4113fc
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x4114d7
movzx edi, byte [edx + 0x414b90]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
mov eax, ebx
shr eax, cl
test al, al
je 0x4114c2
cmp al, 0xff
jne 0x4114d4
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x411455
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x4113fc
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x3ad7258d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3ad7a064]
jne 0x3ad72597
repz ret
jmp fcn.3ad73d0c
Function at 0x401070
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x417d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x41f1f0]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x41f1f0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x104
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
mov dword [esp + 0x2c], eax
call fcn.0040afd0
push 0x104
push ebx
push esi
call fcn.0040afd0
push str.LOVEMILF
push str.SoftwareAutobahn
lea edx, [esp + 0x44]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
mov dword [esp + 0x10], vtable.CGsRegistry.0
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x140], ebx
call dword [0x41bd74]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push 0x41b306
push ebx
lea edx, [esp + 0x40]
push edx
push 0x80000001
mov dword [esp + 0x40], ebx
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x1c], 0x104
je 0x401172
lea ecx, [esp + 0x1c]
push ecx
push esi
lea edx, [esp + 0x20]
push edx
push ebx
push str.Path
push eax
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x14]
cmp byte [esi], bl
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4011f3
cmp eax, ebx
je 0x401187
push eax
call esi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x10]
call edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push 0x41b306
push ebx
push str.SoftwareAutobahn
push 0x80000001
mov dword [esp + 0x3c], ebx
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4011e0
push str.LOVEMILF
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4011e0
push eax
call esi
xor eax, eax
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x10], vtable.CGsRegistry.0
je 0x4011ef
push eax
call esi
xor eax, eax
jmp 0x401248
cmp eax, ebx
mov dword [esp + 0x18], 0x104
je 0x401234
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push str.SavePath
push eax
mov dword [esp + 0x34], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x401234
push eax
call esi
xor eax, eax
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x10], vtable.CGsRegistry.0
je 0x401243
push eax
call esi
mov eax, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0040b16b
mov esp, ebp
pop ebp
ret