joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a280
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b530e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
cmp byte [edi + 0xe8], 0xff
je 0x48a2cb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
mov esi, 1
test al, al
mov dword [ebp - 0x14], esi
jne 0x48a40a
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x48a37a
mov eax, dword [edi + 0x114]
mov ecx, dword [edi + 0x68]
cmp ecx, dword [eax + 0x14]
je 0x48a381
lea ecx, [edi + 0x78]
call fcn.0048c3a0
cmp eax, 0xffffffff
jne 0x48a323
push 0x4f4c50
lea ecx, [ebp - 0x1c]
call fcn.004a2cae
mov ebx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
jmp 0x48a33d
mov ecx, dword [edi + 0x94]
lea eax, [ebp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ebx, 2
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], esi
mov eax, dword [eax]
push eax
push 0xffffffffffffff9a
call fcn.0048eb80
add esp, 8
mov dword [ebp - 4], 0
test bl, 2
je 0x48a364
and ebx, 0xfffffffd
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x18], ebx
call fcn.004a2c3a
test bl, 1
mov dword [ebp - 4], 0xffffffff
je 0x48a381
lea ecx, [ebp - 0x1c]
call fcn.004a2c3a
jmp 0x48a381
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [edi + 0x114]
cmp word [eax + 0xe], 8
jne 0x48a397
lea ecx, [edi + 0x28]
push ecx
call fcn.004721c0
mov esi, dword [ebp + 8]
test esi, esi
je 0x48a40a
lea edx, [ebp + 0xc]
mov dword [ebp - 4], 2
push edx
call fcn.004a13ff
mov eax, dword [eax]
mov ecx, dword [edi + 0x114]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x238], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 0x228], 0
push eax
call fcn.0048b960
mov ecx, dword [eax]
lea edx, [ebp - 0x238]
push edx
push esi
mov dword [ebp - 0x234], ecx
call fcn.004a8927
mov eax, dword [edi + 0x114]
mov eax, dword [eax + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x48a403
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xec]
call fcn.0048dc50
lea ecx, [edi + 0x6c]
mov byte [edi + 0xe8], 0
call fcn.0048d220
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x48a457
mov esi, dword [edi + 0xd0]
test esi, esi
je 0x48a44c
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
push ecx
call fcn.004a299c
add esp, 4
test esi, esi
jne 0x48a438
lea ecx, [edi + 0xcc]
call fcn.004a2304
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48a8b0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4b543c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [esp + 0x23c]
push ebx
push edi
push eax
lea ecx, [esp + 0xc]
call fcn.004a2cae
push 0x4e2014
lea ecx, [esp + 0xc]
mov dword [esp + 0x240], 0
call fcn.004a0c6c
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.0048a480
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push edx
mov byte [esp + 0x24c], 1
call fcn.004389b4
add esp, 0x10
or edi, 0xffffffff
test eax, eax
je 0x48a9e9
push esi
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
call fcn.00430bd5
push 0
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 2
call fcn.00430c9a
test eax, eax
jne 0x48a9a9
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.004422b0
add esp, 8
test eax, eax
je 0x48a994
push esi
call fcn.0048f94e
add esp, 4
test eax, eax
jne 0x48a994
lea ecx, [esp + 0x30]
push ecx
call fcn.0048f94e
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.00430c14
mov eax, edi
jmp 0x48a9db
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.00430c14
xor eax, eax
jmp 0x48a9db
lea ecx, [esp + 0x14]
call fcn.00430ec0
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
call dword [edx + 0x38]
neg eax
sbb eax, eax
lea ecx, [esp + 0x14]
and al, 0xfe
mov byte [esp + 0x240], 1
inc eax
mov esi, eax
call fcn.00430c14
mov eax, esi
cmp eax, edi
pop esi
sete al
test al, al
jne 0x48a9e9
xor bl, bl
jmp 0x48a9eb
mov bl, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x23c], 0
call fcn.004a2c3a
test bl, bl
jne 0x48aa76
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.0048a480
mov eax, dword [eax]
mov byte [esp + 0x244], 3
push eax
call fcn.0048a8b0
add esp, 0xc
lea ecx, [esp + 0xc]
test al, al
sete bl
mov byte [esp + 0x23c], 0
call fcn.004a2c3a
test bl, bl
jne 0x48aa4d
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48aa76
lea ecx, [esp + 8]
mov dword [esp + 0x23c], edi
call fcn.004a2c3a
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
add esp, 0x238
ret
lea ecx, [esp + 8]
mov dword [esp + 0x23c], edi
call fcn.004a2c3a
mov ecx, dword [esp + 0x234]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret
Function at 0x48b180
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe8], 1
je 0x48b190
xor al, al
pop esi
ret
mov eax, dword [esi + 0x114]
push ebx
mov dword [esi + 0x2c], 0
push ebp
cmp word [eax + 0xe], 8
push edi
jne 0x48b24a
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x48b215
mov ecx, dword [esi + 0x114]
call fcn.0048bce0
test al, al
je 0x48b1f0
mov eax, dword [esi + 0x64]
xor ebp, ebp
test eax, eax
jbe 0x48b1f0
mov edi, dword [esi + 0x70]
mov ecx, esi
add edi, ebp
call fcn.0048b510
mov cl, byte [edi]
mov bl, al
push ecx
mov ecx, esi
call fcn.0048b390
mov dl, byte [edi]
xor dl, bl
inc ebp
mov byte [edi], dl
mov eax, dword [esi + 0x64]
cmp ebp, eax
jb 0x48b1ca
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x70]
push 0
push edx
push eax
lea ecx, [esi + 0x78]
call fcn.0048ce10
mov dword [esi + 0x64], 0
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x38], ecx
mov edx, dword [esi + 0x70]
mov dword [esi + 0x34], edx
mov edi, dword [esi + 0x3c]
lea eax, [esi + 0x28]
push 4
push eax
call fcn.004710d0
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x64]
sub ecx, edi
add edx, ecx
test eax, eax
mov dword [esi + 0x64], edx
je 0x48b1ab
cmp eax, 1
je 0x48b24a
cmp eax, 2
je 0x48b24a
push eax
mov ecx, esi
call fcn.00489b30
mov eax, dword [esi + 0x64]
test eax, eax
jbe 0x48b2af
mov ecx, dword [esi + 0x114]
call fcn.0048bce0
test al, al
je 0x48b29d
mov eax, dword [esi + 0x64]
xor ebx, ebx
test eax, eax
jbe 0x48b29d
mov edi, dword [esi + 0x70]
mov ebp, dword [esi + 0x1c]
add edi, ebx
and ebp, 0xfffd
mov ecx, esi
or ebp, 2
mov dl, byte [edi]
push edx
call fcn.0048b390
mov eax, ebp
mov dl, byte [edi]
xor eax, 1
imul eax, ebp
sar eax, 8
xor dl, al
inc ebx
mov byte [edi], dl
mov eax, dword [esi + 0x64]
cmp ebx, eax
jb 0x48b269
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x70]
push 0
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.0048ce10
mov eax, dword [esi + 0x114]
pop edi
pop ebp
pop ebx
cmp word [eax + 0xe], 8
jne 0x48b2d9
lea ecx, [esi + 0x28]
push ecx
call fcn.00471450
test eax, eax
je 0x48b2d9
cmp eax, 2
je 0x48b2d9
push eax
mov ecx, esi
call fcn.00489b30
mov eax, dword [esi + 0x114]
mov edx, dword [esi + 0x3c]
mov ecx, dword [eax + 0x18]
add ecx, edx
mov dword [eax + 0x18], ecx
mov eax, dword [esi + 0x114]
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x1c], ecx
lea ecx, [esi + 0xec]
call fcn.0048dd80
lea ecx, [esi + 0x6c]
mov byte [esi + 0xe8], 0
call fcn.0048d220
mov al, 1
pop esi
ret

Function at 0x48b320
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
push ebx
lea ecx, [esp + 8]
push eax
push ecx
call fcn.0048b350
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
lea ecx, [esp + 8]
sete bl
call fcn.004a2c3a
mov al, bl
pop ebx
ret
Function at 0x48b400
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push 0xffffffffffffffff
push 0x4b5528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
push ebp
push 0xc
lea ecx, [esp + 0x1c]
call fcn.0048d170
mov eax, dword [esp + 0x18]
push ebp
push 0xc
push eax
lea ecx, [esi + 0x78]
mov dword [esp + 0x34], ebp
call fcn.0048bef0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x18]
and eax, 0xfffd
mov edi, dword [esi + 0x14]
or al, 2
mov dl, byte [ecx + ebp]
mov ebx, eax
xor ebx, 1
imul ebx, eax
sar ebx, 8
xor bl, dl
call fcn.0049f9a0
mov dl, bl
mov ecx, edi
and edx, 0xff
and ecx, 0xff
xor edx, ecx
mov ecx, esi
shr edi, 8
mov eax, dword [eax + edx*4]
mov edx, dword [esi + 0x18]
xor eax, edi
mov dword [esi + 0x14], eax
and eax, 0xff
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x18], eax
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.0048b620
inc ebp
mov dword [esi + 0x1c], eax
cmp ebp, 0xc
jl 0x48b440
mov ecx, dword [esi + 0x114]
call fcn.0048bcf0
mov esi, dword [esi + 0x114]
test al, al
je 0x48b4d5
xor ecx, ecx
mov cl, byte [esi + 0x11]
cmp cl, bl
jmp 0x48b4dd
mov edx, dword [esi + 0x14]
shr edx, 0x18
cmp dl, bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
sete bl
call fcn.0048d1f0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x48b7c0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b5588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.0048d170
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.0048bef0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov dx, word [eax + 0xc]
mov word [esi + 0x10], dx
mov cx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
mov cx, word [eax + 0x20]
mov dx, word [eax + 0x22]
mov bx, word [eax + 0x1c]
mov bp, word [eax + 0x1e]
mov word [esp + 0x30], cx
mov word [esi + 0x20], dx
mov cx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
call fcn.0048d220
mov edx, dword [esi + 4]
mov ecx, 0x4f3f64
cmp edx, dword [ecx]
je 0x48b8ac
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0048d1f0
xor al, al
jmp 0x48b944
mov ecx, edi
call fcn.0048c3a0
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.0048d250
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x3c]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
test bp, bp
je 0x48b8fa
mov ebx, ebp
push 0
and ebx, 0xffff
lea ecx, [esi + 0x2c]
push ebx
call fcn.0048d250
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x30]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
mov ebx, dword [esp + 0x30]
test bx, bx
je 0x48b921
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.0048d250
mov ecx, dword [edi + 0x1c]
mov esi, dword [esi + 0x48]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, edi
call fcn.0048c3a0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
cmp eax, ecx
lea ecx, [esp + 0x14]
sete bl
call fcn.0048d1f0
mov al, bl
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x48c4e0
Capabilities:
Get disk size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b5758
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x20
test al, al
push ebx
push ebp
push esi
mov esi, ecx
jne 0x48c64f
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x48]
add edx, eax
test eax, eax
mov dword [esi + 0x48], edx
je 0x48c52c
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x40]
push eax
push edx
mov ebx, dword [ecx]
call dword [ebx + 0x38]
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x24]
or ebp, 0xffffffff
cmp eax, 1
jne 0x48c5b5
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0048b350
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call fcn.004a2c3a
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], ebp
call fcn.004a2c3a
test bl, bl
je 0x48c59c
xor eax, eax
jmp 0x48c5b2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
imul eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
mov ebx, 2
cmp eax, ebx
jne 0x48c640
mov al, byte [esi + 0x4c]
test al, al
je 0x48c640
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
push 0
lea eax, [esp + 0x40]
push 1
push eax
mov ecx, esi
mov dword [esp + 0x40], 1
call fcn.0048c690
mov ecx, dword [esi + 0x1c]
mov byte [esp + 0x34], bl
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048aaa0
add esp, 4
test eax, eax
je 0x48c614
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004a7cdf
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
push edx
push eax
call fcn.004a7cbd
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.004a2c3a
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], ebp
call fcn.004a2c3a
jmp 0x48c65f
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 4], ebp
je 0x48c65f
mov edx, dword [ecx]
call dword [edx + 0x4c]
jmp 0x48c65f
mov ecx, dword [esi + 0x1c]
or ebp, 0xffffffff
cmp dword [ecx + 4], ebp
je 0x48c65f
mov eax, dword [ecx]
call dword [eax + 0x4c]
lea ecx, [esi + 0x3c]
call fcn.0048d220
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x50], ebp
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], 0
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x48c690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b57ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
xor ebx, ebx
push esi
test eax, eax
mov esi, ecx
mov dword [esp + 8], ebx
jne 0x48c6d6
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, 1
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x10]
call fcn.004a2cae
test bl, 1
mov dword [esp + 0x28], 3
je 0x48c6fd
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 8], ebx
call fcn.004a2c3a
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0048a480
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x38], 4
call fcn.0048a550
add esp, 0x10
mov ecx, dword [0x4e29e0]
mov dword [esp + 0x38], ecx
mov al, byte [esp + 0x34]
mov byte [esp + 0x28], 6
test al, al
je 0x48c74a
push 0x4f3f7c
lea ecx, [esp + 0x3c]
call fcn.004a2dd1
jmp 0x48c760
mov edx, dword [esi + 0x50]
lea eax, [esp + 0x38]
push edx
push 0x4f3f70
push eax
call fcn.004a0c59
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004a2e79
push 0x4e6cc0
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x34], 7
call fcn.004a2edf
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
push eax
push esi
mov byte [esp + 0x34], 8
call fcn.004a2e79
or ebx, 2
mov dword [esp + 8], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 7
call fcn.004a2c3a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 6
call fcn.004a2c3a
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call fcn.004a2c3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.004a2c3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.004a2c3a
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004a2c3a
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x48cc50
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4b5898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [ecx + 0x1c]
lea edx, [esp + 4]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 8]
push eax
call fcn.0048b350
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
lea ecx, [esp + 4]
sete bl
call fcn.004a2c3a
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.004a2c3a
test bl, bl
pop ebx
je 0x48cce0
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x490be0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x80
call fcn.004382c0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
xor eax, eax
push edi
test esi, esi
je 0x490c0b
mov ebx, dword [esp + 0x94]
mov eax, 1
mov dword [ebx], esi
jmp 0x490c1d
mov ebx, dword [esp + 0x94]
mov ecx, dword [ebx]
mov dword [esp + 0xa0], ecx
mov esi, ecx
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x490d89
push esi
call fcn.00451960
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x490c53
push str.j____int_sizeof_ctx__key_
push 0x54
push str..cryptohmachmac.c
call fcn.0044f5d0
add esp, 0xc
mov ebp, dword [esp + 0x9c]
cmp edi, ebp
jge 0x490c92
mov edx, dword [esp + 0xa4]
lea edi, [ebx + 4]
push edx
push esi
push edi
call fcn.004564a0
mov eax, dword [esp + 0xa4]
push ebp
push eax
push edi
call fcn.00456610
lea esi, [ebx + 0x34]
lea ecx, [ebx + 0x38]
push esi
push ecx
push edi
call fcn.00456710
add esp, 0x24
jmp 0x490cd1
test ebp, ebp
jl 0x490c9e
cmp ebp, 0x80
jle 0x490cb2
push str.len_0__len__int_sizeof_ctx__key_
push 0x5e
push str..cryptohmachmac.c
call fcn.0044f5d0
add esp, 0xc
mov esi, dword [esp + 0x98]
mov ecx, ebp
mov edx, ecx
lea edi, [ebx + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x34]
mov dword [esi], ebp
mov esi, dword [esi]
cmp esi, 0x80
je 0x490cf6
mov ecx, 0x80
xor eax, eax
sub ecx, esi
lea edi, [esi + ebx + 0x38]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [esp + 0xa0]
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x490cff
mov ebp, dword [esp + 0xa4]
lea edi, [ebx + 0x14]
push ebp
push esi
push edi
call fcn.004564a0
push esi
call fcn.00451960
lea edx, [esp + 0x20]
push eax
push edx
push edi
call fcn.00456610
add esp, 0x1c
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x490d3b
lea edi, [ebx + 0x24]
push ebp
push esi
push edi
call fcn.004564a0
push esi
call fcn.00451960
lea edx, [esp + 0x20]
push eax
push edx
push edi
call fcn.00456610
add esp, 0x1c
lea eax, [ebx + 0x14]
add ebx, 4
push eax
push ebx
call fcn.00456790
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
test eax, eax
je 0x490d6e
jmp 0x490cfd
Function at 0x49f9b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x49f9bd
xor eax, eax
ret 0xc
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x49fac0
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4d0a9c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4d0a9c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4d0a9c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4d0a9c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4d0a9c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4d0a9c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4d0a9c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4d0a9c]
xor eax, edx
inc ecx
dec edi
jne 0x49f9d8
pop edi
test esi, esi
je 0x49fae2
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4d0a9c]
xor eax, edx
inc ecx
dec esi
jne 0x49fac4
pop esi
pop ebx
not eax
ret 0xc
Function at 0x4a4923
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a495b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a30f8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a30cf
jmp 0x4a4967
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a5ea5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a5ee7
call fcn.004acc15
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4a5ee7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a5ede
xor eax, eax
jmp 0x4a5eef
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a5ef5
pop edi
pop esi
pop ebx
ret 4