joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47588c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x475894
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x475a86
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x475a9c
mov eax, esi
call fcn.00473718
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404480
lea ecx, [ebp - 0x10]
mov edx, 0x475ab0
mov eax, esi
call fcn.00473718
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404480
lea ecx, [ebp - 0x14]
mov edx, 0x475ac8
mov eax, esi
call fcn.00473718
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404480
lea ecx, [ebp - 0x18]
mov edx, 0x475ae4
mov eax, esi
call fcn.00473718
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404480
lea ecx, [ebp - 0x1c]
mov edx, 0x475b00
mov eax, esi
call fcn.00473718
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404480
lea ecx, [ebp - 0x24]
mov edx, 0x475b18
mov eax, esi
call fcn.00473718
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004089cc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408dac
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x475b30
mov eax, esi
call fcn.00473718
mov eax, dword [ebp - 0x28]
call fcn.0046d0bc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x475b40
mov eax, esi
call fcn.00473718
mov eax, dword [ebp - 0x2c]
call fcn.0046d0bc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x475b58
mov eax, esi
call fcn.00473718
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408dac
inc eax
je 0x475a29
lea ecx, [ebp - 0x34]
mov edx, 0x475b58
mov eax, esi
call fcn.00473718
mov eax, dword [ebp - 0x34]
call fcn.00408d70
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a920
fstp qword [ebp - 0x3c]
wait
call fcn.0040ac84
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x475a44
lea ecx, [ebp - 0x40]
mov edx, 0x475b58
mov eax, esi
call fcn.00473718
mov eax, dword [ebp - 0x40]
call fcn.0046d0bc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x475b68
mov eax, esi
call fcn.00473718
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475a8d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404450
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404450
ret
Function at 0x47c818
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47c872
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047c808
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046bd28
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046b928
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c879
lea eax, [ebp - 4]
call fcn.0040442c
ret
Function at 0x48ccd8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48ce49
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ce24
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404614
lea eax, [ebp - 0x118]
mov edx, 0x48ce60
call fcn.004046f4
mov eax, dword [ebp - 0x118]
call fcn.004048ec
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x48cd96
lea eax, [ebp - 0x111]
call fcn.00409938
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.0040451c
jmp 0x48cd9d
mov eax, esi
call fcn.0040442c
cmp bl, 0x61
jae 0x48cdbe
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d974
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404480
jmp 0x48cdd8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d8e8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404480
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x48ce6c
call fcn.0040a014
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ce2b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x492a8c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048dc
xor eax, eax
push ebp
push 0x492b85
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00494400
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040975c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049344c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409640
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004934c0
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492b8c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404450
ret
Function at 0x492b94
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048dc
xor eax, eax
push ebp
push 0x492c9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00494400
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x492c63
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040975c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049344c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409640
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004934c0
jmp 0x492c75
xor edx, edx
mov eax, ebx
call fcn.0049344c
xor edx, edx
mov eax, ebx
call fcn.004934c0
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492ca4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404450
ret

Function at 0x49465c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048dc
xor eax, eax
push ebp
push 0x4946ba
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00494738
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4946a2
lea eax, [ebp - 4]
call fcn.00494738
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4946a4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4946c1
lea eax, [ebp - 4]
call fcn.0040442c
ret

Function at 0x4946c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048dc
xor eax, eax
push ebp
push 0x49472c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.00494738
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494733
lea eax, [ebp - 4]
call fcn.0040442c
ret
Function at 0x499b3c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.00499d70
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.00499d70
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x499bb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x499bd5
inc esi
mov eax, edi
call fcn.00499b94
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00499b3c
inc ebx
dec esi
jne 0x499bbf
pop edi
pop esi
pop ebx
ret

Function at 0x499c64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004048dc
xor eax, eax
push ebp
push 0x499cd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00499bdc
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00499b94
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00499b3c
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x499ca4
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499ce0
lea eax, [ebp - 4]
call fcn.0040442c
ret
Function at 0x49a89c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49aa80
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x49aa3c
mov eax, dword [ebp - 4]
call fcn.0049c218
cmp ebx, eax
jge 0x49aa3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004911a4
mov edx, dword [0x49252c]
call fcn.00403808
mov esi, eax
mov eax, esi
call fcn.004933e0
test al, al
je 0x49aa32
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x49aa26
xor eax, eax
push ebp
push 0x49aa1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049ae54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041b7e4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404a78
mov eax, dword [ebp - 8]
call fcn.00404944
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049ac18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49aa6a
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x49aa1e
mov eax, dword [ebp - 4]
call fcn.0049aed8
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409b24
jmp 0x49aa6a
mov eax, dword [ebp - 8]
call fcn.0040442c
jmp 0x49aa6a
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409088
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x416750]
call fcn.0040cae0
call fcn.00403de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49aa87
lea eax, [ebp - 0x54]
call fcn.0040442c
ret
Function at 0x4a2ba8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a2bd6
mov eax, ebx
call fcn.004a365c
cmp dword [ebx + 0x40], 0
je 0x4a2bcf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a2c47
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a2c39
cmp dword [ebx + 8], 0
je 0x4a2bf8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a2c0a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a2c39
cmp dword [ebx + 8], 0
je 0x4a2beb
cmp eax, 3
je 0x4a2c1d
dec eax
jne 0x4a2beb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a2beb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a2beb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a2c65
cmp dword [ebx + 0x14], 0xcc
je 0x4a2c65
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a2c70
pop ebx
ret
Function at 0x4bbd20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bbd91
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x50ad00]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4bbd7b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004bbd10
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bbb18]
call fcn.004bbdb8
mov dword [0x50ad64], eax
mov eax, dword [ebp - 4]
call fcn.004bbcc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbd98
lea eax, [ebp - 8]
call fcn.00405f5c
ret
Function at 0x4bf0e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bf19a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b38
mov eax, dword [0x50b6e0]
cmp dword [eax], 2
jne 0x4bf14f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404db0
mov eax, dword [ebx]
call fcn.00404cd4
push eax
mov eax, dword [ebx]
call fcn.00404cc4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404cd4
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404db0
jmp 0x4bf181
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409b24
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf1a1
lea eax, [ebp - 0x3f0]
call fcn.0040442c
ret
Function at 0x4e60d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4e6283
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428968
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.00457950
call fcn.004bd5fc
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4e6154
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00423408
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428968
mov eax, dword [eax + 0xc]
pop edx
call fcn.00423410
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004232f0
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.004099d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428968
call fcn.004244d8
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423364
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004233a0
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004233a0
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004233a0
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423408
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428968
mov eax, dword [eax + 0xc]
pop edx
call fcn.0042329c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428968
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x13
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x90]
mov edx, dword [ecx + edx*8 + 0x10]
call fcn.004230e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e628a
lea eax, [ebp - 4]
call fcn.0040442c
ret
Function at 0x4f53ac
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409220
test al, al
je 0x4f5433
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403044
or esi, 0x100
test esi, esi
jns 0x4f53e7
call fcn.00403598
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.004048ec
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4f5433
mov dl, 1
mov eax, dword [0x422278]
call fcn.0042a014
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042a3e4
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4f5433
mov eax, esp
call fcn.0040e778
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x4fd720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004048dc
xor eax, eax
push ebp
push 0x4fd7f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040442c
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004046ec
mov esi, eax
sar esi, 1
jns 0x4fd765
adc esi, 0
test esi, esi
jle 0x4fd7ce
mov dword [ebp - 8], 1
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 8]
add edx, edx
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.0040494c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x4fd808
call fcn.00404738
mov eax, dword [ebp - 0x10]
call fcn.00408d70
mov edx, eax
mov al, byte [ebx + 0x50ae44]
xor dl, al
lea eax, [ebp - 0xc]
call fcn.00404614
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004046f4
lea eax, [ebx + 1]
mov ecx, 0xa
cdq
idiv ecx
mov ebx, edx
inc dword [ebp - 8]
dec esi
jne 0x4fd770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd7f8
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404450
lea eax, [ebp - 4]
call fcn.0040442c
ret

Function at 0x4fd9dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4fda5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404614
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4fda70
call fcn.00404738
mov eax, dword [ebp - 4]
call fcn.004048ec
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x4fda3a
cmp eax, 1
je 0x4fda3a
cmp eax, 3
jne 0x4fda3a
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x4fd9fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fda62
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404450
ret