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

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10001d29
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.10001a80
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x10001d60
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10001df2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x10001de4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x10001ddc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x10001da5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x10001e00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.10002a50
mov edi, dword [esp + 0x38]
xor ebp, ebp
push edi
mov ebx, eax
mov dword [esp + 0x18], ebp
call dword [0x100098a0]
add esp, 8
test ebx, ebx
je 0x10001f44
test eax, eax
je 0x10001f44
inc eax
push eax
call fcn.10002f07
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10002ee0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10001e72
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10001f31
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.10002f07
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x10001efa
cmp eax, 0xea
jne 0x10001f1d
push esi
call fcn.10002ec9
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10002f07
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x10001ec5
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x10001f08
cmp eax, 2
jne 0x10001f1d
push esi
call dword [0x100098a0]
push eax
push esi
call fcn.10002a10
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call fcn.10002ec9
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.10002ec9
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x10001f6d
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10001f79
mov esi, dword [esp + 0x40]
test esi, esi
je 0x10001f79
push esi
call dword [0x100098a0]
push eax
push esi
call fcn.10002a10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10001f90
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x10002011
je 0x10002002
cmp eax, 0x80000101
ja 0x10001ffb
je 0x10002002
cmp eax, 0x80000004
je 0x10001fdc
cmp eax, 0x80000005
jne 0x10002026
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x10002073
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x10002073
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call dword [0x100098a0]
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x10002073
cmp eax, 0x80000201
jne 0x10002026
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x10002073
cmp eax, 0x80000401
je 0x1000205e
cmp eax, 0x80000501
je 0x10002046
cmp eax, 0x80000601
je 0x1000202e
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call fcn.10002f18
mov dword [esp + 0xc], eax
jmp 0x1000206f
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call fcn.10002f18
mov dword [esp + 0xc], eax
jmp 0x1000206f
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.10002a50
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call dword [0x100098a0]
add esp, 8
test esi, esi
je 0x1000214c
test eax, eax
je 0x1000214c
inc eax
push edi
push eax
call fcn.10002f07
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10002ee0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100020ee
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10002142
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10002137
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.10002ec9
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x409660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.CArmReport.0
push 0x104
push 0
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 4
push edx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4096ab
jmp 0x4096d7
push str.AdobeARM_
push 0x104
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.004063f0
push str.ArmReport.ini
push 0x104
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call fcn.004063f0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x409810
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40983c
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x409843
mov eax, 2
jmp 0x4098b3
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4098b1
mov byte [ebp - 9], 0
lea eax, [ebp - 9]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Delete_Report
mov ecx, dword [ebp - 0x10]
call fcn.004096e0
push 4
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4098b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov byte [ebp - 0xa], 0
lea edx, [ebp - 0xa]
push edx
mov eax, dword [ebp - 8]
push eax
push str.MoveEx_Report
mov ecx, dword [ebp - 0x10]
call fcn.004096e0
mov eax, dword [ebp - 8]
jmp 0x4098b3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40a2f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
dec eax
cld
invalid
inc dword [ebx]
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00409a29
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004099de
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00409a29
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004099de
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00409a19
cli
bound edi, qword [ebx - 0x335a7f33]
cli
invalid
Function at 0x43f26a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ef2d

Function at 0x43f275
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043f0ae

Function at 0x441f13
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441bd3
Function at 0x43561c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4427d4
cmp dword [edi], 0
jne 0x435698
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4427d0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44181c
mov ecx, 2
call fcn.004027b0
mov edx, 0x4355f4
lea eax, [esi + 5]
call fcn.00435614
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00435614
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43566d
mov dword [0x4427d0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4357bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43580c]
test si, 4
je 0x4357d0
or bl, 1
test si, 8
je 0x4357da
or bl, 4
test si, 1
je 0x4357e4
or bl, 8
test si, 2
je 0x4357ee
or bl, 0x10
test si, 0x10
je 0x4357f8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x435807
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x435810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x435848]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x435829
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x435838
or bl, 4
test esi, 0x20000000
je 0x435843
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x437b10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x58]
push eax
call fcn.00437878
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0043782d
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x437b56
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00437868
sbb byte [edi + 0x458d8b70], cl
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0xa9d180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x54e000]
push edi
or ebp, 0xffffffff
jmp 0xa9d1a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa9d1a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9d198
mov eax, 1
add ebx, ebx
jne 0xa9d1bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa9d1cc
jne 0xa9d1eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9d1eb
dec eax
add ebx, ebx
jne 0xa9d1d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa9d1b0
add ebx, ebx
jne 0xa9d1e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa9d23d
xor ecx, ecx
sub eax, 3
jb 0xa9d203
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa9d272
sar eax, 1
mov ebp, eax
jmp 0xa9d20e
add ebx, ebx
jne 0xa9d20e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9d1dc
inc ecx
add ebx, ebx
jne 0xa9d21c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9d1dc
add ebx, ebx
jne 0xa9d229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa9d21e
jne 0xa9d23a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa9d21e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa9d25c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa9d24e
jmp 0xa9d19e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa9d25c
add edi, ecx
jmp 0xa9d19e
pop esi
mov edi, esi
mov ecx, 0x14eac
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa9d27a
cmp byte [edi], 0x27
jne 0xa9d27a
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 0xa9d27f
lea edi, [esi + 0x699000]
mov eax, dword [edi]
or eax, eax
je 0xa9d2f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6a09b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6a0b18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa9d2ac
mov ecx, edi
jns 0xa9d2db
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 + 0x6a0b1c]
or eax, eax
je 0xa9d2f1
mov dword [ebx], eax
add ebx, 4
jmp 0xa9d2c9
call dword [esi + 0x6a0b2c]
mov ebp, dword [esi + 0x6a0b20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0xa9d32b
sub esp, 0xffffff80
jmp 0x69f899
Function at 0x10038360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c5d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101df230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x101ea97c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], 0x1017f8b8
mov dword [ebp - 4], 0
mov dword [ecx], 0x101ea97c
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x1017f8b1
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1003bec0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10041d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10041d7f
push ebx
push edi
xor edi, edi
push 0x10182934
mov dword [ebp + 8], edi
call fcn.100641d0
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x10041d3c
mov cl, byte [edi + 0x10182934]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x10041d26
cmp ebx, 1
jle 0x10041d73
cmp byte [esi], 0x37
jne 0x10041d73
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x10041d51
cmp al, 0x5a
jne 0x10041d73
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.100326c0
test eax, eax
je 0x10041d73
mov edx, dword [ebp + 8]
test edx, edx
je 0x10041d73
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x10041d7d
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10042306
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.10031c10
mov eax, dword [0x101df230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov dword [ebp - 0x1008], eax
call fcn.1005c7be
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x1018]
push eax
mov dword [ebp - 0x1014], edx
call fcn.100650a0
pop ecx
pop ecx
mov esi, eax
call dword [0x1017f0ac]
mov ecx, dword [esi + 0x10]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1004]
push 0x10182998
push eax
call fcn.10041e08
add esp, 0x28
call fcn.1003d9ea
test al, al
je 0x100423a1
push esp
push esi
push esi
push esp
pop esi
push ebp
pop edx
push ecx
push edx
pop esp
pop edi
push edx
pop edi
push ebp
pop eax
pop ebx
push ebp
xor ebx, ebx
push dword [ebp - 0x1008]
call dword [0x1017f2f8]
xor ecx, ecx
inc ecx
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x100c], ebx
call fcn.1003d555
test al, al
je 0x100423dc
pop edi
push ebp
push ecx
pop ebx
push ebp
push eax
pop esp
push eax
push edx
pop esi
pop esp
pop esi
pop esi
pop eax
pop ebp
push edi
push edi
pop eax
pop ecx
pop esp
pop ecx
push ebx
pop edi
push ebx
call fcn.1003d59a
test al, al
je 0x100423fe
push ebp
push edi
push eax
pop edi
pop eax
push esp
push esp
push ebx
push esi
push esi
pop edx
push ecx
push ebp
pop eax
push edx
pop edx
push ebx
pop ebp
push edi
pop ecx
push edx
pop edx
pop esi
pop ebx
pop esi
call fcn.1003dab9
test al, al
je 0x10042419
push edx
push edi
push esi
pop ecx
pop esi
pop ebx
pop edi
pop edi
pop ebp
push edx
push edi
pop edx
push edi
pop eax
push ecx
pop ebx
pop ebx
pop edi
push 0x10182990
push dword [ebp - 0x1008]
call fcn.10062ecd
mov edi, eax
mov dword [ebp - 0x1010], edi
pop ecx
pop ecx
test edi, edi
je 0x10042507
cmp dword [ebp - 0x100c], 0
jne 0x10042462
push edi
push 2
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0xfeff
push 1
push eax
call fcn.1006486b
add esp, 0x10
call fcn.1003d891
test al, al
je 0x10042490
pop eax
push ebp
pop esi
push ebx
pop esi
pop eax
push esi
push eax
push ebp
push ebp
push esp
push eax
push ebp
push ebx
push esp
push esp
pop edi
push eax
push edi
pop esp
push ecx
pop eax
pop ebx
pop edx
push ecx
push ebx
push ebp
pop ebx
pop edx
push esp
pop ebp
mov edi, dword [ebp - 0x1010]
call fcn.1003d6f3
test al, al
je 0x100424aa
pop ebx
pop esi
push edx
pop eax
pop eax
push esp
push ecx
push ebx
push ebx
pop eax
push esi
pop esi
push ebx
pop ebp
push esp
push edi
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.10064038
push edi
add eax, eax
push eax
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.1006486b
push edi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xd
push 1
push eax
call fcn.1006486b
push edi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xa
push 1
push eax
call fcn.1006486b
push edi
call fcn.10062ccb
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031bc0
mov esp, ebp
pop ebp
ret
Function at 0x10044613
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x10044627
xor eax, eax
jmp 0x10044765
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x10044650
dec edx
sub edx, 1
jne 0x10044652
add eax, 2
jmp 0x10044652
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x10044665
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x10044764
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x100446fb
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x10182c28]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x10182c28]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x10182c28]
mov byte [edi + 2], al
mov al, byte [esi + 0x10182c28]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x10044690
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x100446fe
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x10044757
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x10044713
movzx ecx, byte [eax + 1]
jmp 0x10044715
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x10182c28]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x10182c28]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x1004474c
and ecx, 0xf
mov al, byte [ecx*4 + 0x10182c28]
mov byte [edi + 2], al
jmp 0x10044750
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1004efdd
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x1006c1d8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006c057