joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029f55
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x10059ad3
call fcn.100420aa
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10029f74
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10001da6
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x1002a079
jmp 0x10029fa5
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x10066cc8]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x10029fb9
cmp al, 0xff
je 0x10029fa5
cmp al, 0xff
je 0x1002a079
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x10066cc8]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x10029fd9
cmp cl, 0xff
je 0x10029fc1
cmp cl, 0xff
je 0x1002a079
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10001a79
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002a079
movsx eax, al
mov al, byte [eax + 0x10066cc8]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x1002a019
cmp al, 0xff
je 0x10029ff9
cmp al, 0xff
je 0x1002a079
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10001a79
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002a079
movsx eax, al
mov cl, byte [eax + 0x10066cc8]
cmp esi, dword [ebp - 0x30]
jae 0x1002a057
cmp cl, 0xff
je 0x1002a039
cmp cl, 0xff
je 0x1002a079
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.10001a79
cmp esi, dword [ebp - 0x30]
jb 0x10029fa2
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10001998
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10001e5b
mov eax, dword [ebp - 0x38]
call fcn.1004212d
ret

Function at 0x1002a31d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.10045640
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.100057e7
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003edc1
add ebp, 0x190
leave
ret
Function at 0x1002a396
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x1005a86d
call fcn.10042041
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.10045640
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1002a402
push str.projonepodlp
jmp 0x1002a410
cmp dword [ebp + 0x234], 2
jne 0x1002a42f
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x1002a429
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x1002a482
cmp dword [ebp + 0x234], ebx
jne 0x1002a47d
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.1002a396
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1002a455
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x1002a479
push 2
push edi
call fcn.1002a396
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.10006669
jmp 0x1002a489
push 1
jmp 0x1002a463
push 0x10063ba0
mov esi, edi
call fcn.100057e7
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.1003edc1
add ebp, 0x228
leave
ret

Function at 0x10035e27
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x10035e4b
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x100758c8]
dec edx
inc ecx
test edx, edx
jne 0x10035e2f
pop esi
not eax
ret

Function at 0x10035fbb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x47c], 0
push ebx
mov dword [ebp - 0x478], eax
push esi
lea eax, [ebp - 0x474]
call fcn.1003a9fa
push edi
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x41c]
push 1
push eax
call fcn.10054472
add esp, 0x10
jmp 0x1003602a
lea ecx, [ebp - 0x41c]
push ecx
lea esi, [ebp - 0x474]
call fcn.1003aa1e
push edi
push ebx
lea eax, [ebp - 0x41c]
push 1
push eax
call fcn.10054472
add esp, 0x14
test eax, eax
jne 0x10036005
lea ecx, [ebp - 0x474]
lea ebx, [ebp - 0x18]
call fcn.1003aab4
mov esi, dword [ebp - 0x478]
push 0x10
mov eax, ebx
push eax
call fcn.10001952
mov ecx, dword [ebp - 8]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003edc1
leave
ret
Function at 0x100360e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.10045640
mov esi, str.podlp
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x10036130
lea eax, [ebp - 0x5c]
call fcn.1003bc02
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.1003bc2d
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.1003bc2d
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.1003bcc5
lea eax, [ebp - 0xb8]
call fcn.1003bc02
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.1003bc2d
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.1003bc2d
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.1003bcc5
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.10001952
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003edc1
add ebp, 0x6c
leave
ret

Function at 0x100361da
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x140], 0
push esi
push edi
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0xc]
push 0x3f
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x4b]
push 0
push eax
mov byte [ebp - 0x4c], 0
call fcn.10045640
mov esi, 0x10068564
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x4c]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x8c], dl
mov byte [ebp + ecx - 0xcc], al
inc ecx
cmp ecx, 0x40
jb 0x1003622a
lea eax, [ebp - 0x134]
call fcn.1003bd86
lea eax, [ebp - 0x8c]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0x134]
call fcn.1003bdc6
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x134]
call fcn.1003bdc6
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x134]
call fcn.1003be52
lea eax, [ebp - 0x134]
call fcn.1003bd86
lea eax, [ebp - 0xcc]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0x134]
call fcn.1003bdc6
lea eax, [ebp - 0x6c]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0x134]
call fcn.1003bdc6
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x134]
call fcn.1003be52
mov esi, dword [ebp - 0x138]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x2c]
push eax
call fcn.10001952
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003edc1
leave
ret
Function at 0x10036559
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x154
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], ebx
call fcn.10026096
push 8
mov esi, eax
pop ecx
xor eax, eax
mov dword [ebp - 0xe0], ebx
lea edi, [ebp - 0xdc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x118
lea eax, [ebp - 0xa8]
push ebx
push eax
mov dword [ebp - 0xac], 0x11c
call fcn.10045640
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x10036645
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10036645
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xbc]
push ecx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
call eax
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
je 0x10036645
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa8], 5
jne 0x1003665f
mov eax, 0x10063ba0
cmp esi, ebx
jne 0x1003665c
mov eax, 0x10067a74
push eax
jmp 0x1003669e
cmp dword [ebp - 0xa8], 6
jne 0x10036680
cmp dword [ebp - 0xa4], ebx
jbe 0x10036699
mov eax, str.nf764.sys
cmp esi, ebx
jne 0x1003665c
mov eax, str.nf732.sys
jmp 0x1003665c
cmp dword [ebp - 0xa8], 0xa
jne 0x10036699
mov eax, str.nf1064.sys
cmp esi, ebx
jne 0x1003665c
mov eax, 0x10063ba0
jmp 0x1003665c
push 0x10063ba0
mov esi, dword [ebp - 0xb0]
call fcn.100057e7
mov ecx, dword [ebp + 0x70]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003edc1
add ebp, 0x74
leave
ret
Function at 0x1003a1fe
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005e7af
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x100741c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.1003a143
pop ecx
xor edi, edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x1003a273
lea esi, [esp + 0xc]
call fcn.10001ea6
push dword [esp + 0xc]
call fcn.1003f53c
pop ecx
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003ce63
add esp, 0xc
mov edi, eax
jmp 0x1003a24c

Function at 0x1003a28a
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
xor eax, eax
cmp esi, edi
je 0x1003a325
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.10045640
add esp, 0xc
call fcn.100261eb
push eax
push esi
push str._s._08x
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.1003a1fe
add esp, 0x1c
test eax, eax
je 0x1003a316
push 1
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1003a332
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x1003a2f4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003edc1
leave
ret
xor eax, eax
inc eax
jmp 0x1003a325

Function at 0x1003a9fa
Capabilities:
Hash data with md5

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

Function at 0x1003bc02
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x1003c3d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1003c3f3
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1003c3ef
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003c50e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.1003c6d4
mov bl, al
mov al, dl
call fcn.1003c6d4
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.1003c6d4
mov bl, al
mov al, byte [esi - 4]
call fcn.1003c6d4
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.1003c6d4
mov bl, al
mov al, byte [esi]
call fcn.1003c6d4
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.1003c6d4
mov bl, al
mov al, byte [esi - 0xc]
call fcn.1003c6d4
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x1003c536
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003edc1
leave
ret 4
Function at 0x1003c5c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100741c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
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 edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.1003c750
push ebx
mov dl, al
call fcn.1003c729
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1003c6e4
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1003c702
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1003c6e4
push ebx
mov byte [ebp - 0x15], al
call fcn.1003c702
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1003c729
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.1003c750
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1003c729
mov bl, al
mov al, byte [edi + 4]
call fcn.1003c750
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1003c702
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1003c6e4
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1003c702
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1003c6e4
xor bl, al
mov al, dl
call fcn.1003c750
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1003c729
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1003c5ef
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003edc1
leave
ret 4

Function at 0x1003cccd
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x1003ccd2
ret
Function at 0x1003cd2d
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov edi, 0x1000
cmp dword [ebp - 0xc], ebx
ja 0x1003cd6a
jb 0x1003ce57
cmp eax, edi
jb 0x1003ce57
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x20], esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
call esi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
call esi
push ebx
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003ce3e
cmp dword [edi], 0x70bfbbef
jne 0x1003ce3e
cmp dword [edi + 4], 0x706c646f
jne 0x1003ce3e
cmp dword [edi + 8], 2
jne 0x1003ce3e
push dword [edi + 0x18c]
push edi
call fcn.1003cccd
pop ecx
pop ecx
cmp byte [edi + 0x4a3], bl
jne 0x1003ce1f
cmp dword [edi + 0x1a0], 0x40
ja 0x1003ce1f
mov eax, 0x270f
cmp word [edi + 0x190], ax
ja 0x1003ce1f
movzx eax, word [edi + 0x192]
cmp ax, 1
jb 0x1003ce1f
cmp ax, 0xc
ja 0x1003ce1f
movzx eax, word [edi + 0x196]
cmp ax, 1
jb 0x1003ce1f
cmp ax, 0x1f
ja 0x1003ce1f
xor edi, edi
inc edi
jmp 0x1003ce21
xor edi, edi
cmp dword [ebp - 0x1c], ebx
jne 0x1003ce3a
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
mov eax, edi
jmp 0x1003ce59
cmp dword [ebp - 0x1c], ebx
jne 0x1003ce57
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003e07c
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
push ebx
push esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
movzx ebx, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edi, 8
or edi, ebx
shl edi, 8
or edi, eax
xor ecx, 0xa3b1bac6
xor edx, 0x56aa3350
xor esi, 0x677d9197
xor edi, 0xb27022dc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov eax, dword [ecx + 0x10066a50]
xor eax, dword [ebp + ecx - 0x20]
xor eax, dword [ebp + ecx - 0x18]
xor eax, dword [ebp + ecx - 0x1c]
mov edx, eax
shr edx, 0x18
mov ebx, eax
movzx edx, dl
mov dl, byte [edx + 0x10066940]
shr ebx, 0x10
mov byte [ebp + 0x70], dl
mov byte [ebp + 0x6d], bl
movzx edx, byte [ebp + 0x6d]
mov dl, byte [edx + 0x10066940]
mov ebx, eax
movzx eax, al
mov al, byte [eax + 0x10066940]
mov byte [ebp + 0x73], al
movzx eax, byte [ebp + 0x70]
shr ebx, 8
movzx edx, dl
shl eax, 8
or eax, edx
movzx esi, bl
mov bl, byte [esi + 0x10066940]
shl eax, 8
movzx edx, bl
or eax, edx
movzx edx, byte [ebp + 0x73]
shl eax, 8
or eax, edx
mov edx, eax
rol edx, 0xd
mov esi, eax
ror esi, 9
xor edx, esi
xor edx, dword [ebp + ecx - 0x24]
xor edx, eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + ecx - 0x14], edx
mov dword [ecx + eax], edx
add ecx, 4
cmp ecx, 0x80
jb 0x1003e12b
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x1003edc1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100741c0]
jne 0x1003edcb
repz ret
jmp fcn.10044296
Function at 0x100506f1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1004572c
and dword [ebp - 4], 0
cmp dword [0x10077a58], 0
mov ebx, eax
jne 0x100507a2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10050853
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10050853
push eax
call fcn.100456ba
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10077a58], eax
call esi
push eax
call fcn.100456ba
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10077a5c], eax
call esi
push eax
call fcn.100456ba
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10077a60], eax
call esi
push eax
call fcn.100456ba
pop ecx
mov dword [0x10077a68], eax
test eax, eax
je 0x100507a2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100456ba
pop ecx
mov dword [0x10077a64], eax
mov eax, dword [0x10077a64]
cmp eax, ebx
je 0x100507fa
cmp dword [0x10077a68], ebx
je 0x100507fa
push eax
call fcn.10045735
push dword [0x10077a68]
mov esi, eax
call fcn.10045735
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100507fa
test edi, edi
je 0x100507fa
call esi
test eax, eax
je 0x100507f1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100507f1
test byte [ebp - 0xc], 1
jne 0x100507fa
or dword [ebp + 0x10], 0x200000
jmp 0x10050833
mov eax, dword [0x10077a5c]
cmp eax, ebx
je 0x10050833
push eax
call fcn.10045735
pop ecx
test eax, eax
je 0x10050833
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10050833
mov eax, dword [0x10077a60]
cmp eax, ebx
je 0x10050833
push eax
call fcn.10045735
pop ecx
test eax, eax
je 0x10050833
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10077a58]
call fcn.10045735
pop ecx
test eax, eax
je 0x10050853
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10050855
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, reloc.kernel32.dll_GetComputerNameW
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219