joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bc60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44bc77
add esp, 0xfffffff0
call fcn.004033e0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418930
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x410258]
call fcn.00403070
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x410258]
call fcn.00403070
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41a7c8]
call fcn.00422308
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44bdec
mov eax, dword [0x4b4b44]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004226d8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d794
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b4b44]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d7a4
test eax, eax
je 0x44bd6a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409c60
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d7cc
test eax, eax
je 0x44bd7e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403f98
mov eax, dword [0x4b4994]
cmp byte [eax], 0
jne 0x44bdaf
mov eax, ebx
call fcn.0044bed8
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44bde1
call fcn.00403438
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c148
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b57cc]
cmp dword [eax + 0x24], 0
je 0x44c1eb
cmp dword [ebx + 0x84], 0
jne 0x44c1e5
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c0d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44c1e5
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44c1ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c1e5
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00411db4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c1bd
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44cbf8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44cc2d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403e50
jmp 0x44cc37
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403dbc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44db08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44db40
mov eax, esi
call fcn.004353b8
test al, al
je 0x44db40
mov eax, dword [ebx + 0x74]
call fcn.004350bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44db40
push 0
mov eax, dword [ebx + 0x74]
call fcn.004350bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x454434
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00454070
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004041ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x454492
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b4cc0]
mov dl, 1
mov eax, dword [0x453efc]
call fcn.0040cb4c
call fcn.00403838
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45449c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004041ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4544f4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b4f80]
mov dl, 1
mov eax, dword [0x453efc]
call fcn.0040cb4c
call fcn.00403838
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004540a0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x455f90
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 0x456101
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 0x4560dc
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.00403f10
lea eax, [ebp - 0x118]
mov edx, 0x456118
call fcn.00403ff0
mov eax, dword [ebp - 0x118]
call fcn.004041ac
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x45604e
lea eax, [ebp - 0x111]
call fcn.00409bf8
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403e50
jmp 0x456055
mov eax, esi
call fcn.00403d68
cmp bl, 0x61
jae 0x456076
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d678
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00403dbc
jmp 0x456090
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d5ec
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00403dbc
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, 0x456124
call fcn.0040a3d0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00403dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4560e3
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x458878
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004041ac
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x458891
test al, 0x10
jne 0x458895
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x459fec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x108], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45a1c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [esi + 0x2c], 0
jne 0x45a1a8
mov eax, dword [esi + 0x24]
call fcn.00403fe8
test eax, eax
jne 0x45a041
mov eax, dword [esi + 0x28]
call fcn.00403fe8
test eax, eax
jne 0x45a041
mov eax, esi
call fcn.0045a260
jmp 0x45a1a8
cmp dword [esi + 0x94], 0
jne 0x45a078
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x24]
call fcn.00409cbc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b5888]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x94], eax
cmp dword [esi + 0x98], 0
jne 0x45a0af
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x28]
call fcn.00409cbc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b5888]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.0045a2a0
mov ebx, eax
test bl, bl
jne 0x45a15d
mov eax, dword [esi + 0x24]
call fcn.00403fe8
test eax, eax
jne 0x45a0e7
mov eax, dword [esi + 0xb0]
call fcn.00403fe8
test eax, eax
je 0x45a15d
mov eax, dword [esi + 0xb0]
call fcn.00403fe8
test eax, eax
je 0x45a109
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0xb0]
call fcn.00409cbc
jmp 0x45a135
push dword [esi + 0x24]
push 0x45a1dc
push dword [esi + 0x28]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004040a8
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00409cbc
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x45a15d
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.0045a2a0
mov ebx, eax
test bl, bl
jne 0x45a16a
mov eax, esi
call fcn.0045a260
jmp 0x45a1a8
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x45a179
mov dword [esi + 0x9c], eax
jmp 0x45a183
mov dword [esi + 0x9c], 1
mov eax, esi
call fcn.0045a318
test al, al
je 0x45a1a8
mov eax, esi
mov bx, 0xffef
call fcn.0040327c
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.0045a3c4
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a1c8
lea eax, [ebp - 0x108]
call fcn.00403d68
ret

Function at 0x4600a4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040419c
xor eax, eax
push ebp
push 0x460109
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4600ec
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00465e84
mov eax, dword [ebp - 8]
call fcn.00465e34
push eax
call sub.kernel32.dll_GetDriveTypeA
mov ebx, eax
jmp 0x4600ee
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460110
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403d8c
ret
Function at 0x460118
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040419c
xor eax, eax
push ebp
push 0x4601e4
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4601bf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x60]
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4601a4
push pe_nt_image_headers32
lea eax, [ebx + 0x10d]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 4]
push eax
push ebx
push pe_nt_image_headers32
lea eax, [ebx + 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00465e84
mov eax, dword [ebp - 0x10]
call fcn.00465e34
push eax
call sub.kernel32.dll_GetVolumeInformationA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
jmp 0x4601a8
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4601c6
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x46041c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesA
push 0
push 3
push 0x80
mov ecx, 0x40000000
mov edx, ebx
mov eax, esi
call fcn.00460494
mov ebx, eax
cmp ebx, 0xffffffff
je 0x460465
mov cx, 2
xor edx, edx
mov eax, ebx
call fcn.00460520
test al, al
jne 0x460465
push ebx
call sub.kernel32.dll_CloseHandle_1
or ebx, 0xffffffff
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4605e8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
mov edx, 0x4b69e8
and eax, 0xff
mov ecx, dword [edx]
xor eax, ecx
and eax, 0xff
mov ebx, dword [0x4b4c90]
mov ebx, dword [ebx + eax*4]
shr ecx, 8
and ecx, 0xffffff
xor ebx, ecx
mov dword [edx], ebx
and ebx, 0xff
add dword [edx + 4], ebx
imul eax, dword [edx + 4], 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
mov ecx, dword [edx + 8]
xor eax, ecx
and eax, 0xff
mov ebx, dword [0x4b4c90]
mov eax, dword [ebx + eax*4]
shr ecx, 8
and ecx, 0xffffff
xor eax, ecx
mov dword [edx + 8], eax
pop ebx
ret

Function at 0x460708
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
mov ebx, edx
test ebx, ebx
jle 0x460731
call fcn.004606e8
mov edx, dword [esi]
xor byte [edx], al
mov eax, dword [esi]
mov al, byte [eax]
call fcn.004605e8
inc dword [esi]
dec ebx
jne 0x46071a
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x460738
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
mov ebx, edx
test ebx, ebx
jle 0x46076c
call fcn.004606e8
mov esi, eax
and esi, 0xff
mov eax, dword [edi]
mov al, byte [eax]
call fcn.004605e8
mov eax, esi
mov edx, dword [edi]
xor byte [edx], al
inc dword [edi]
dec ebx
jne 0x46074b
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460794
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.0040419c
xor eax, eax
push ebp
push 0x460843
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp + 8], 0
je 0x46082d
mov eax, dword [ebp + 8]
call fcn.0046064c
test eax, eax
jne 0x46082d
xor ebx, ebx
call fcn.004606e8
xor edx, edx
mov dl, bl
xor al, byte [esi + edx + 0xc]
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
call fcn.004605e8
xor eax, eax
mov al, bl
mov dl, byte [ebp - 5]
mov byte [esi + eax], dl
inc ebx
cmp bl, 0xc
jne 0x4607d0
mov bl, byte [esi + 0xb]
and di, 8
cmp di, 8
je 0x46081b
mov eax, dword [ebp - 4]
call fcn.00407dc8
call fcn.00407dcc
cmp bl, al
sete al
mov ebx, eax
jmp 0x46082d
xor eax, eax
mov al, bl
movzx edx, word [ebp + 0xc]
shr edx, 8
cmp eax, edx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46084a
lea eax, [ebp + 8]
call fcn.00403d68
ret
Function at 0x463430
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 0xc]
call fcn.0040419c
mov eax, dword [ebp + 8]
call fcn.0040419c
xor eax, eax
push ebp
push 0x46363e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0xa34], 0
je 0x463481
cmp byte [esi + 0xb91], 0
jne 0x463485
xor ebx, ebx
jmp 0x463487
mov bl, 1
test bl, bl
jne 0x463613
cmp dword [ebp + 0xc], 0
je 0x463613
xor eax, eax
mov al, byte [esi + 0xac4]
cmp eax, 8
ja case.0x4634aa.5
jmp dword [eax*4 + 0x4634b1]
lea edx, [ebp - 0x124]
mov eax, dword [ebp + 0xc]
call fcn.0040986c
mov eax, dword [ebp - 0x124]
call fcn.004662e8
cmp byte [esi + 0xac4], 8
jne 0x46350e
mov eax, dword [ebp + 0xc]
call fcn.004041ac
mov edx, eax
mov cl, 1
mov eax, esi
call fcn.0046041c
mov dword [edi], eax
jmp 0x463523
mov eax, dword [ebp + 0xc]
call fcn.004041ac
mov edx, eax
mov cl, 1
mov eax, esi
call fcn.0046046c
mov dword [edi], eax
cmp dword [edi], 0xffffffff
setne bl
jmp 0x463613
lea edx, [ebp - 0x128]
mov eax, dword [ebp + 0xc]
call fcn.0040986c
mov eax, dword [ebp - 0x128]
call fcn.004662e8
push 0x80
mov eax, dword [ebp + 0xc]
call fcn.004041ac
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0x11
mov ecx, dword [ebp + 0xc]
mov dl, 1
mov eax, dword [0x464b68]
call fcn.00464e3c
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x10], 0
jge 0x463598
push 0x463658
push 0x6293
xor ecx, ecx
mov edx, dword [esi + 0xd8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x6c]
xor ebx, ebx
jmp 0x463613
mov bl, 1
jmp 0x463613
cmp dword [esi + 0x9e8], 0
setne bl
jmp 0x463613
mov edi, dword [esi + 0x9ec]
test edi, edi
setne bl
test bl, bl
je 0x463613
mov eax, dword [esi + 0xaa6]
mov dword [ebp - 0x118], eax
mov eax, dword [esi + 0xaaa]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x108]
mov edx, dword [ebp + 8]
mov ecx, 0xff
call fcn.00403fc4
mov eax, edi
call fcn.004140d0
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
lea edx, [ebp - 0x120]
mov eax, dword [esi + 0x9ec]
call fcn.00461948
jmp 0x463613
mov bl, 1
jmp 0x463613
mov bl, 1
jmp 0x463613
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463645
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.00403d8c
lea eax, [ebp + 8]
mov edx, 2
call fcn.00403d8c
ret
Function at 0x4640a4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
call fcn.0040419c
xor eax, eax
push ebp
push 0x464190
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00461c00
test al, al
je 0x464164
xor edx, edx
push ebp
push 0x46410b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004623c4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004095c0
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464115
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004622d0
test al, al
jne 0x46413e
push 0x4641a8
push 0x6232
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0xb90], 0
je 0x46417a
cmp dword [ebp + 8], 0x20
je 0x46417a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
call fcn.004041ac
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x46417a
mov eax, dword [ebp - 4]
add eax, 0xa38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb98]
call fcn.00403dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464197
lea eax, [ebp + 0x10]
call fcn.00403d68
ret

Function at 0x464858
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
test edx, edx
jle 0x464884
mov ebx, dword [ecx]
movzx esi, byte [eax]
xor ebx, esi
and ebx, 0xff
mov esi, dword [0x4b4ce4]
movzx ebx, word [esi + ebx*2]
mov esi, dword [ecx]
shr esi, 8
xor ebx, esi
mov dword [ecx], ebx
inc eax
dec edx
test edx, edx
jg 0x46485e
pop esi
pop ebx
ret

Function at 0x465f98
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040419c
xor eax, eax
push ebp
push 0x465ff3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041ac
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x465fd4
test byte [ebp - 0xc], 0x10
jne 0x465fd8
xor eax, eax
jmp 0x465fda
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465ffa
lea eax, [ebp - 4]
call fcn.00403d68
ret

Function at 0x466800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, dword [0x4b29b8]
mov dword [ebp - 4], ecx
mov esi, eax
xor ecx, ecx
push ebp
push 0x46685e
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, edx
dec eax
test al, al
jb 0x466854
inc eax
xor edx, edx
mov dl, byte [esi]
xor edx, dword [ebp - 4]
and edx, 0xff
mov ecx, dword [0x4b4c90]
mov edx, dword [ecx + edx*4]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xffffff
xor edx, ecx
mov dword [ebp - 4], edx
inc esi
dec al
jne 0x466828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x466868
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46fdd8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46fe06
mov eax, ebx
call fcn.0047087c
cmp dword [ebx + 0x3c], 0
je 0x46fdff
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46fe77
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x46fe69
cmp dword [ebx + 8], 0
je 0x46fe28
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x46fe3a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46fe69
cmp dword [ebx + 8], 0
je 0x46fe1b
cmp eax, 3
je 0x46fe4d
dec eax
jne 0x46fe1b
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 0x46fe1b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x46fe1b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46fe95
cmp dword [ebx + 0x10], 0xcc
je 0x46fe95
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046fea0
pop ebx
ret

Function at 0x481454
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffffcc
mov ebx, eax
push 0x32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x33
call fcn.00403f98
add esp, 0x34
pop ebx
ret

Function at 0x483d64
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 4]
sub eax, 3
je 0x483d89
dec eax
je 0x483d90
dec eax
je 0x483dc0
jmp 0x483dd3
mov ebx, 1
jmp 0x483dd3
mov eax, dword [esp + 8]
test eax, eax
jne 0x483dad
cmp dword [esp + 0x10], 2
jne 0x483da6
mov ebx, 5
jmp 0x483dd3
mov ebx, 2
jmp 0x483dd3
cmp eax, 0xa
jne 0x483db9
mov ebx, 3
jmp 0x483dd3
mov ebx, 4
jmp 0x483dd3
cmp dword [esp + 8], 0
jne 0x483dce
mov ebx, 6
jmp 0x483dd3
mov ebx, 7
mov eax, ebx
add esp, 0x94
pop ebx
ret