joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c163
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa99336
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xadb008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c1ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40c1ac
xor al, al
jmp 0x40c1c0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret 4
Function at 0x41414e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
push dword [ebp + 8]
mov byte [eax], bl
lea ecx, [esi - 4]
call fcn.00413dcd
mov eax, dword [esi + 0x78]
mov edi, ebx
test eax, eax
je 0x4141e6
cmp edi, dword [esi + 0x60]
je 0x4141de
mov eax, dword [esi + 0x74]
mov eax, dword [eax + edi*4]
mov dword [ebp + 0xc], eax
lea ecx, [eax + 4]
call fcn.00408900
mov ecx, eax
test ecx, ecx
jne 0x41425d
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.00408900
mov ecx, eax
test ecx, ecx
jne 0x41425d
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x10], bl
cmp dword [eax + 0xc], ebx
jne 0x4141de
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push 0x417903
push ebx
push ebx
call fcn.00a791a6
mov ecx, dword [ebp + 0xc]
add esp, 0x18
mov dword [ecx + 0xc], eax
test eax, eax
jne 0x4141de
call fcn.0040880f
mov ecx, eax
test ecx, ecx
jne 0x41425d
mov eax, dword [esi + 0x78]
inc edi
cmp edi, eax
jb 0x414174
mov edi, ebx
test eax, eax
je 0x41420e
cmp edi, dword [esi + 0x60]
je 0x414208
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
mov byte [ecx + 0x10], bl
add ecx, 4
call fcn.0040885d
mov ecx, eax
test ecx, ecx
jne 0x41425d
inc edi
cmp edi, dword [esi + 0x78]
jb 0x4141ec
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x74]
push dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
call fcn.00413a22
mov edi, ebx
cmp dword [esi + 0x78], ebx
jbe 0x41426f
cmp ebx, dword [esi + 0x60]
je 0x41423e
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 8]
call fcn.00408841
test edi, edi
cmove edi, eax
inc ebx
cmp ebx, dword [esi + 0x78]
jb 0x414226
push 0
pop ebx
test edi, edi
je 0x41426f
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
jmp 0x41431a
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x41431a
lea edi, [esi - 4]
push 0x80004004
mov ecx, edi
call fcn.0041411f
test eax, eax
jne 0x41431a
push 0x8007000e
mov ecx, edi
call fcn.0041411f
test eax, eax
jne 0x41431a
mov ecx, dword [esi + 0x78]
mov edx, ebx
test ecx, ecx
je 0x4142cd
mov edi, dword [esi + 0x74]
mov eax, dword [edi]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x4142c2
cmp eax, 0x20000010
je 0x4142c2
cmp eax, 1
je 0x4142c2
cmp eax, 0x80004005
jne 0x41431a
inc edx
add edi, 4
cmp edx, ecx
jb 0x4142a6
lea edi, [esi - 4]
push 1
mov ecx, edi
call fcn.0041411f
test eax, eax
jne 0x41431a
mov ecx, ebx
cmp dword [esi + 0x78], eax
jbe 0x414318
mov edx, dword [esi + 0x74]
mov eax, dword [edx]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x4142f4
cmp eax, 0x20000010
jne 0x41431a
inc ecx
add edx, 4
cmp ecx, dword [esi + 0x78]
jb 0x4142e4
mov eax, dword [esi + 0x74]
push dword [ebp + 0x14]
mov ecx, dword [eax + ebx*4]
add ecx, 0x18
call fcn.00413560
test eax, eax
jne 0x41431a
inc ebx
cmp ebx, dword [esi + 0x78]
jb 0x4142fd
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4162ce
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa99336
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0xadb008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
xor edi, edi
test esi, esi
je 0x4162fd
mov dword [esi], edi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x416343
push edi
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], edi
test esi, esi
je 0x416338
add dword [esi], edx
test eax, eax
jne 0x416343
call fcn.0040c080
mov edi, eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret 0x10
Function at 0x41e865
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa9a5df
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0xadb008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0xa8]
call fcn.0041d79b
lea ecx, [esi + 0x78]
call fcn.0041d79b
push dword [esi + 0x30]
call fcn.00a733f1
push dword [esi + 0x24]
call fcn.00a733f1
push dword [esi + 0x18]
call fcn.00a733f1
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41e8c9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41e8dd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41e8f1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x41e904
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x423ea5
Capabilities:
Get file system object information

Disassembly:
push 0x1f0
mov eax, 0xa9b08d
call fcn.00a9838e
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1fc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1e4], eax
call fcn.004092bf
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x423f3a
push dword [edi + 0xc]
lea ecx, [ebp - 0x54]
push dword [edi + 8]
call fcn.00408d17
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.004092e3
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 1
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x1d8]
call fcn.00423dce
push eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 2
call fcn.0040940a
push dword [ebp - 0x1d8]
call fcn.00a733f1
pop ecx
mov byte [ebp - 4], 0
push dword [ebp - 0x1cc]
call fcn.00a733f1
pop ecx
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1e0], eax
call fcn.0040966d
mov esi, eax
lea eax, [ebp - 0x1cc]
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.004145e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f0]
mov eax, dword [edi + 0x18]
add eax, 2
lea eax, [eax + esi*2]
push eax
call fcn.004092e3
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00423e44
lea eax, [ebp - 0x1f0]
mov ecx, ebx
push eax
call fcn.00423e44
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040936a
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 5
call fcn.00409548
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004095b7
lea ecx, [ebp - 0x1c0]
call fcn.00409548
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004095b7
lea ecx, [ebp - 0x1c0]
call fcn.00409548
cmp byte [edi + 1], 0
je 0x424057
mov edx, 0x3f4
lea ecx, [ebp - 0x1d8]
call fcn.0040cfbe
push eax
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 6
call fcn.004095b7
mov byte [ebp - 4], 5
push dword [ebp - 0x1d8]
call fcn.00a733f1
lea ecx, [ebp - 0x1c0]
mov dword [esp], 0xaac194
call fcn.004095f5
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x10]
call fcn.0040cd35
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004095f5
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], eax
call fcn.0042101a
mov edx, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1d8]
push 0
call fcn.00409ba2
push 0x110
push 0x160
lea eax, [ebp - 0x1b4]
push eax
push 0x80
push dword [ebp - 0x1d8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1d8]
mov esi, eax
call fcn.00a733f1
pop ecx
test esi, esi
je 0x4240e2
push dword [ebp - 0x1e4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x1b4]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x1c0]
call fcn.00a733f1
pop ecx
push dword [ebp - 0x1f0]
call fcn.00a733f1
pop ecx
push dword [ebp - 0x1cc]
call fcn.00a733f1
pop ecx
push dword [ebp - 0x1fc]
call fcn.00a733f1
pop ecx
call fcn.00a9833d
ret 0xc
Function at 0x426663
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x426696
cmp dword [edx + 8], 0xffffff65
jne 0x426696
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x4266d0
sub eax, 0x14
je 0x42669d
dec eax
sub eax, 1
je 0x4266d0
xor al, al
pop esi
leave
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x426696
push 2
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
jmp 0x426698
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x426696
mov ecx, esi
call fcn.004266e8
jmp 0x4266cc

Function at 0x4268cd
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0xa9b42e
call fcn.00a9835b
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 0x20
mov dword [ebp - 4], ebx
call fcn.00a735a4
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea eax, [edi + 0x279]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x27a]
mov byte [esi], bl
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esp], 0x100
call fcn.00a73527
mov dword [esi + 0xc], eax
mov byte [ebp - 4], bl
push 8
mov dword [edi + 0x27c], esi
call fcn.00a735a4
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
push ecx
mov ecx, eax
mov dword [ebp - 0x14], esi
call fcn.009ccffd
mov byte [ebp - 4], bl
mov eax, dword [eax]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push 0x4267ef
push ebx
push ebx
call fcn.00a791a6
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x426987
call fcn.0040880f
test eax, eax
je 0x426987
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x426996
push ecx
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.00425e6b
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
call fcn.00408820
mov eax, ebx
call fcn.00a98329
ret 8

Function at 0x426c53
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d0
mov eax, dword [0xadb008]
xor eax, esp
mov dword [esp + 0x2cc], eax
cmp byte [0xadddb9], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
jne 0x426cb6
mov edx, ecx
lea ecx, [esp + 0xc]
call fcn.00409881
push 0x4010
push 0x160
lea ecx, [esp + 0x20]
or esi, 0x80
push ecx
push esi
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [esp + 0xc]
mov esi, eax
call fcn.00a733f1
pop ecx
mov eax, esi
jmp 0x426cd8
mov eax, dword [0xaddefc]
test eax, eax
je 0x426cd8
push 0x4010
push 0x2b4
lea edx, [esp + 0x20]
or esi, 0x80
push edx
push esi
push ecx
call eax
mov ecx, dword [esp + 0x1c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
xor ecx, esp
call fcn.00a733e3
mov esp, ebp
pop ebp
ret 4
Function at 0x426f6b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0xadb008]
xor eax, esp
mov dword [esp + 0x164], eax
test cl, cl
mov edx, 0x4011
mov eax, 0x4110
cmovne eax, edx
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x90
push 0xaab38c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.00a733e3
mov esp, ebp
pop ebp
ret
Function at 0x4780b2
Capabilities:
Hash data using sha1

Disassembly:
push 4
mov eax, 0xa9bb6e
call fcn.00a9835b
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
mov byte [ecx], al
mov dword [ebp - 4], eax
push 0xaab38c
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
call fcn.0047a167
mov eax, esi
call fcn.00a98329
ret
Function at 0x4b7218
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dh, byte [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ebx
test dh, 1
je 0x4b725a
mov al, byte [ebp + 8]
test esi, esi
je 0x4b7258
mov edi, esi
mov dh, al
mov dl, dh
add dl, dl
mov al, dl
xor al, 0x1b
test dh, dh
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
mov dh, cl
sub edi, 1
jne 0x4b7236
mov byte [ebp - 1], dh
mov al, cl
mov dh, byte [ebp + 0xc]
xor bl, al
shr dh, 1
inc esi
mov byte [ebp + 0xc], dh
cmp esi, 8
jl 0x4b7226
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 8

Function at 0x4b7346
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [eax]
mov dword [ebp - 4], edx
xor esi, esi
test eax, eax
jle 0x4b737f
mov ebx, dword [ebp + 0xc]
add ebx, edx
mov edx, dword [ebp - 8]
mov ecx, dword [edi]
mov al, byte [ebx]
lea ebx, [ebx + 4]
xor byte [ecx + esi], al
inc esi
mov eax, dword [edx]
cmp esi, eax
jl 0x4b736b
mov edx, dword [ebp - 4]
inc edx
add edi, 4
mov dword [ebp - 4], edx
cmp edx, 4
jl 0x4b735d
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4b759a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x4b75c3
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
sub esi, ecx
sub edi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
sub edx, 1
jne 0x4b75b3
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x4b75c7
Capabilities:
Encode data using base64

Disassembly:
push 0x64
mov eax, 0xa9c11a
call fcn.00a9838e
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x54]
xor ebx, ebx
mov dword [ebp - 0x70], edi
push 0x41
push ebx
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], ebx
call fcn.00a75a40
add esp, 0xc
mov ecx, ebx
lea eax, [ecx + 0x41]
mov byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 0x1a
jl 0x4b75f2
mov ecx, ebx
lea eax, [ecx + 0x61]
mov byte [ebp + ecx - 0x3a], al
inc ecx
cmp ecx, 0x1a
jl 0x4b7601
mov ecx, ebx
lea eax, [ecx + 0x30]
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xa
jl 0x4b7610
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov word [ebp - 0x16], 0x2f2b
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], 1
test eax, eax
je 0x4b7773
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + edi - 0x58], al
inc edi
mov dl, byte [ebp - 0x57]
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x56]
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0x5f], ch
mov byte [ebp - 0x5d], dl
mov byte [ebp - 0x5e], cl
cmp edi, esi
jne 0x4b76ce
mov esi, dword [ebp - 0x64]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x5c], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x5b], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
and ch, 0x3f
mov byte [ebp - 0x5a], cl
mov byte [ebp - 0x59], ch
movzx eax, byte [ebp + edi - 0x5c]
mov ecx, esi
movzx eax, byte [ebp + eax - 0x54]
push eax
call fcn.0047a12c
inc edi
cmp edi, 4
jl 0x4b76a8
mov dl, byte [ebp - 0x5d]
mov edi, ebx
mov cl, byte [ebp - 0x5e]
mov ch, byte [ebp - 0x5f]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4b764b
mov dword [ebp - 0x68], edi
test edi, edi
je 0x4b7773
mov eax, edi
cmp edi, esi
jge 0x4b7704
cmp eax, esi
jae 0x4b777e
mov byte [ebp + eax - 0x58], bl
inc eax
cmp eax, esi
jl 0x4b76ec
mov ch, byte [ebp - 0x56]
mov dl, byte [ebp - 0x57]
mov cl, byte [ebp - 0x58]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x5c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x5b], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x59], ch
lea eax, [edi + 1]
mov byte [ebp - 0x5a], dl
mov dword [ebp - 0x58], eax
test eax, eax
jle 0x4b775e
mov esi, dword [ebp - 0x64]
mov edi, eax
movzx eax, byte [ebp + ebx - 0x5c]
mov ecx, esi
movzx eax, byte [ebp + eax - 0x54]
push eax
call fcn.0047a12c
inc ebx
cmp ebx, edi
jl 0x4b7741
mov edi, dword [ebp - 0x68]
push 3
pop esi
cmp edi, esi
jge 0x4b7773
sub esi, edi
mov ecx, dword [ebp - 0x64]
push 0x3d
call fcn.0047a12c
sub esi, 1
jne 0x4b7764
mov eax, dword [ebp - 0x64]
call fcn.00a9833d
ret 0xc
call fcn.00a73719
int3
Function at 0x4b7784
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0xadb008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ebx + 0x64]
mov dword [ebp - 0x44], ecx
push esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
call fcn.00a73527
push esi
push 0
push eax
mov dword [ebp - 0x40], eax
call fcn.00a75a40
push ebx
push edi
push dword [ebp - 0x40]
call fcn.00a754c0
add esp, 0x1c
mov eax, ebx
test ebx, ebx
je 0x4b77da
mov byte [edi], 0
inc edi
sub eax, 1
jne 0x4b77d1
xor eax, eax
mov dword [ebp - 0x16], 0x36433442
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
mov word [ebp - 0xe], 0x4441
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x12], 0x42304134
push eax
lea eax, [ebx + 0xf]
mov dword [ebp - 0x23], 0x45384545
mov ebx, dword [ebp - 0x40]
and eax, 0xfffffff0
push eax
push ebx
mov dword [ebp - 0xb], 0x323945
mov word [ebp - 0x25], 0x3441
mov word [ebp - 0x28], 0x4642
mov dword [ebp - 0x1c], 0x37454234
mov word [ebp - 0x1e], 0x3339
mov byte [ebp - 0x1f], 0x46
mov byte [ebp - 0x26], 0x45
mov word [ebp - 0x18], 0x3241
mov byte [ebp - 0xc], 0x31
call fcn.004b6efd
mov edi, eax
mov ecx, ebx
test esi, esi
je 0x4b7869
mov byte [ecx], 0
inc ecx
sub esi, 1
jne 0x4b7860
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x48]
push edi
push esi
call fcn.004b75c7
push ebx
call fcn.00a733f1
push edi
call fcn.00a733f1
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a733e3
leave
ret 0x10
Function at 0x52347e
Capabilities:
Get disk information via ioctl

Disassembly:
push 0x74
mov eax, 0xa9c5a4
call fcn.00a9838e
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x44], al
mov dword [ebp - 4], eax
call dword [edi + 0xb4]
cdq
mov bl, 0x41
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x4c], edx
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x64], eax
xor edx, edx
mov ecx, eax
and ecx, 0x1f
shr eax, 5
inc edx
shl edx, cl
test dword [ebp + eax*4 - 0x2c], edx
je 0x52360e
mov esi, dword [edi + 0xb8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], eax
push 0xaac650
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0047a167
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push 1
push 0
call fcn.00523ca2
push eax
lea ecx, [ebp - 0x80]
call fcn.00479e61
mov byte [ebp - 4], 2
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
cmovae eax, dword [ebp - 0x80]
push eax
call esi
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004776de
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004776de
cmp esi, 3
jne 0x52360e
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push str.._
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0047a167
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0047a12c
push 0xaac180
lea ecx, [ebp - 0x28]
call fcn.00479e12
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi + 0xc0]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
push edx
push edx
push esi
push edx
push esi
push edx
push ecx
call eax
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
je 0x523602
mov ecx, dword [edi + 0xb0]
lea edx, [ebp - 0x4c]
push 0
push edx
push 0xc
lea edx, [ebp - 0x5c]
push edx
push 0
push 0
push 0x2d1080
push eax
call ecx
push dword [ebp - 0x68]
or esi, 0xffffffff
test eax, eax
cmovne esi, dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x523602
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push esi
call fcn.0052137e
test eax, eax
jne 0x523602
sub esp, 0x18
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x44]
push eax
call fcn.0047a23c
mov ecx, edi
call fcn.005170d2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004776de
mov eax, dword [ebp - 0x64]
inc bl
inc eax
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x64], eax
cmp bl, 0x5a
jle 0x5234b8
lea ecx, [ebp - 0x44]
call fcn.004776de
call fcn.00a9833d
ret
Function at 0x5243fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], edx
mov edi, edx
lea eax, [ecx - 1]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], eax
sar eax, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], eax
cmp edx, eax
jge 0x524468
lea esi, [edi + edi]
lea eax, [esi + 2]
imul ecx, eax, 0x18
add ecx, ebx
lea eax, [ecx - 0x18]
push eax
push ecx
call fcn.005243b1
imul ecx, dword [ebp - 8], 0x18
movzx edi, al
xor edi, 1
inc edi
add edi, esi
imul eax, edi, 0x18
add ecx, ebx
add eax, ebx
push eax
call fcn.004dca44
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], edi
cmp edi, eax
jl 0x52442c
mov ecx, dword [ebp - 0x18]
mov esi, edi
cmp edi, eax
jne 0x524489
test cl, 1
jne 0x524489
imul eax, ecx, 0x18
imul ecx, edi, 0x18
add eax, 0xffffffe8
add eax, ebx
add ecx, ebx
push eax
call fcn.004dca44
mov esi, dword [ebp - 4]
cmp dword [ebp - 0xc], esi
jge 0x5244bc
push dword [ebp - 0x10]
lea edi, [esi - 1]
sar edi, 1
imul eax, edi, 0x18
add eax, ebx
push eax
mov dword [ebp - 4], eax
call fcn.005243b1
test al, al
je 0x5244bc
push dword [ebp - 4]
imul ecx, esi, 0x18
add ecx, ebx
call fcn.004dca44
mov esi, edi
cmp dword [ebp - 0xc], edi
jl 0x52448e
push dword [ebp - 0x10]
imul ecx, esi, 0x18
add ecx, ebx
call fcn.004dca44
pop edi
pop esi
pop ebx
leave
ret 0xc