joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459ed0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a039
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403f54
mov eax, dword [ebp - 0x10]
call fcn.00459b20
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x459f22
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404394
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045a3f8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x459ff7
xor eax, eax
push ebp
push 0x459ff0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00459ccc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0045a048
test al, al
je 0x459fce
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403fa4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x459fce
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404310
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x459fc8
mov eax, dword [ebp - 0x14]
call fcn.00404310
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404084
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00459ed0
dec ebx
cmp ebx, 0xffffffff
jne 0x459f81
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459ff7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00459ccc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404310
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00459cb8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a040
lea eax, [ebp - 0x3c]
call fcn.00403ebc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403ee0
ret
Function at 0x459ff7
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a039
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403f54
mov eax, dword [ebp - 0x10]
call fcn.00459b20
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x459f22
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404394
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045a3f8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x459ff7
xor eax, eax
push ebp
push 0x459ff0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00459ccc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0045a048
test al, al
je 0x459fce
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403fa4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x459fce
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404310
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x459fc8
mov eax, dword [ebp - 0x14]
call fcn.00404310
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404084
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00459ed0
dec ebx
cmp ebx, 0xffffffff
jne 0x459f81
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459ff7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00459ccc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404310
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00459cb8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a040
lea eax, [ebp - 0x3c]
call fcn.00403ebc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403ee0
ret

Function at 0x45a048
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402d14
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x595540]
cmp byte [edx + 8], 0
je 0x45a0ac
mov edx, dword [0x595528]
cmp dword [edx], 2
jne 0x45a0ac
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x45a0b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45a168
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0045a048
test al, al
je 0x45a14a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403fa4
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x45a14a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404310
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404310
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404084
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x45a103
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a16f
lea eax, [ebp - 0x2c]
call fcn.00403ebc
lea eax, [ebp - 0xc]
call fcn.00403ebc
ret

Function at 0x45a30c
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.00459b34
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.00404310
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45a36a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x59511c]
mov dl, 1
mov eax, dword [0x4599c0]
call fcn.0040e724
call fcn.004038ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45a374
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.00404310
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45a3cc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x595550]
mov dl, 1
mov eax, dword [0x4599c0]
call fcn.0040e724
call fcn.004038ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00459b64
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 0x46c4e8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c5c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x596ad0], 0
jne 0x46c5a4
lea eax, [ebp - 4]
mov edx, 0x46c5d8
call fcn.00403f54
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404310
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46c5a4
mov eax, ebx
call fcn.00402820
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46c59d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46c587
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46c5e8
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46c587
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x596ad0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c5a4
mov eax, dword [ebp - 0xc]
call fcn.00402838
ret
mov ebx, dword [0x596ad0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c5c7
lea eax, [ebp - 4]
call fcn.00403ebc
ret

Function at 0x476c30
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0043ac5c
test al, al
je 0x476c8b
cmp bl, 7
jne 0x476c67
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x476c6c
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xbc]
test eax, eax
je 0x476c8b
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xbc]
mov edx, edi
call fcn.00425f7c
mov byte [esi + 0x208], bl
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x478120
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x595220]
mov eax, dword [eax]
call fcn.004530fc
call sub.kernel32.dll_GetTickCount
sub eax, ebx
movzx edx, si
cmp eax, edx
jb 0x47812b
pop esi
pop ebx
ret
Function at 0x479a9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479cfb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x479afe
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00479564
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ef68
cmp al, 1
jne 0x479afe
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0047987c
test al, al
je 0x479c8a
cmp dword [ebp - 8], 0
jge 0x479b1c
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00479564
mov eax, dword [ebp - 0x210]
call fcn.0040414c
cmp ebx, eax
jge 0x479b66
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00479564
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x595514]
and eax, 0xff
bt dword [edx], eax
jae 0x479b66
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x479b7a
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00479a78
cmp ebx, dword [ebp - 8]
je 0x479c7c
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x479ba6
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403270
and eax, 0x7f
movzx eax, word [eax*2 + 0x592790]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x479c69
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403270
and eax, 0x7f
movzx eax, word [eax*2 + 0x592790]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043a960
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403270
and eax, 0x7f
movzx eax, word [eax*2 + 0x592790]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043a960
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479c70
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x479cdd
cmp dword [ebp - 8], 0
jge 0x479c95
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00479564
mov eax, dword [ebp - 0x218]
call fcn.0040414c
cmp eax, dword [ebp - 8]
jg 0x479ccf
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00479564
mov eax, dword [ebp - 0x21c]
call fcn.0040414c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00479a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479d02
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403ee0
ret
Function at 0x4964fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x5935a2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x496553
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x5935c3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x496549
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x496557
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404310
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4a6001
test al, 0x10
jne 0x4a6005
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4abc24
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 5
mov eax, ebx
call fcn.0043a960
push eax
call sub.user32.dll_ShowWindow
push 0
push 1
push 0x86
mov eax, dword [ebx + 0x204]
call fcn.0044a658
call fcn.0043a960
push eax
call sub.user32.dll_SendMessageA
pop ebx
ret
Function at 0x4aefbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af17a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004afe0c
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040ef68
cmp al, 2
jne 0x4af01a
dec esi
mov eax, ebx
call fcn.004afe20
test al, al
je 0x4af115
test esi, esi
jge 0x4af02f
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.004afe0c
mov eax, dword [ebp - 0x208]
call fcn.0040414c
cmp edi, eax
jge 0x4af076
lea edx, [ebp - 0x20c]
mov eax, ebx
call fcn.004afe0c
mov eax, dword [ebp - 0x20c]
mov al, byte [eax + edi - 1]
mov edx, dword [0x595514]
and eax, 0xff
bt dword [edx], eax
jae 0x4af076
inc edi
mov eax, dword [ebx + 0x2a0]
cmp esi, eax
jl 0x4af084
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.004af294
cmp edi, esi
je 0x4af10d
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
push esi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x200]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop esi
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
mov byte [ebp - 0x1ef], 0
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.0043a960
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.0043a960
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x294], esi
jmp 0x4af15c
test esi, esi
jge 0x4af11b
xor esi, esi
lea edx, [ebp - 0x210]
mov eax, ebx
call fcn.004afe0c
mov eax, dword [ebp - 0x210]
call fcn.0040414c
cmp esi, eax
jl 0x4af151
lea edx, [ebp - 0x214]
mov eax, ebx
call fcn.004afe0c
mov eax, dword [ebp - 0x214]
call fcn.0040414c
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.004af294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af181
lea eax, [ebp - 0x214]
mov edx, 5
call fcn.00403ee0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404310
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x4c71e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0043a960
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4c7428
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x2ec], 0
je 0x4c747b
cmp byte [ebx + 0x2f4], 0
jne 0x4c747b
push 0
push 1
push 0x86
mov eax, ebx
call fcn.0043a960
push eax
call sub.user32.dll_SendMessageA
push 4
mov eax, ebx
call fcn.0043a960
push eax
call sub.user32.dll_ShowWindow
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, ebx
call fcn.0043a960
push eax
call sub.user32.dll_SetWindowPos
pop ebx
ret

Function at 0x4d154c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4d1571
cmp dword [esp + 4], 5
jb 0x4d1571
mov al, 1
jmp 0x4d1573
xor eax, eax
add esp, 0x94
ret
Function at 0x533870
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe94
mov edi, eax
mov eax, edi
call fcn.0052ca84
mov edx, eax
mov eax, edi
call fcn.00533004
mov ebp, eax
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov byte [esp + 0xd], 0
mov eax, edi
call fcn.00533214
xor al, 1
mov byte [esp + 0xc], al
lea edx, [esp + 0x30]
mov eax, edi
call fcn.004f8a34
push edi
lea esi, [esp + 0x34]
lea edi, [esp + 0x14]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
lea eax, [esp + 0xe0]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
jne 0x5338e1
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0xffffffff
mov al, byte [esp + 0xc]
xor al, 1
test al, al
je 0x5338f7
neg dword [esp + 4]
push edi
lea esi, [esp + 0x14]
lea edi, [esp + 0x24]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
test al, al
je 0x53393b
push 0
lea eax, [esp + 0x160]
push eax
mov ecx, dword [esp + 0x30]
xor edx, edx
mov eax, dword [esp + 0x28]
call fcn.00413074
push edi
lea esi, [esp + 0x160]
lea edi, [esp + 0x24]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
jmp 0x533943
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
xor ebx, ebx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
test eax, eax
jns 0x533956
add eax, 0xff
sar eax, 8
mov dword [esp], eax
cmp dword [esp], 0
jne 0x533a4d
mov dword [esp], 1
jmp 0x533a4d
cmp ebx, 0x14
jg 0x533981
mov esi, dword [esp + 4]
imul esi, dword [esp]
jmp 0x53398c
inc dword [esp]
mov esi, dword [esp + 4]
imul esi, dword [esp]
mov eax, esi
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, ecx
add eax, ebx
cmp ebp, eax
jl 0x5339b3
mov eax, esi
cdq
xor eax, edx
sub eax, edx
mov eax, ebp
sub eax, ebx
sar eax, 1
jns 0x5339af
adc eax, 0
cmp ecx, eax
jle 0x5339bc
mov esi, ebp
sub esi, ebx
imul esi, dword [esp + 4]
push 2
push 0
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0
mov eax, edi
call fcn.0043a960
push eax
call sub.user32.dll_ScrollWindowEx
mov eax, esi
cdq
xor eax, edx
sub eax, edx
add ebx, eax
cmp byte [esp + 0xc], 0
jne 0x533a05
mov dword [esp + 0x2c], ebx
mov eax, dword [edi + 0x1f0]
mov eax, dword [eax + 0x14]
mov edx, 0x80000010
call fcn.0041e274
jmp 0x533a20
mov eax, dword [esp + 0x2c]
sub eax, ebx
mov dword [esp + 0x24], eax
mov edx, dword [edi + 0x60]
mov eax, dword [edi + 0x1f0]
mov eax, dword [eax + 0x14]
call fcn.0041e274
lea edx, [esp + 0x20]
mov eax, dword [edi + 0x1f0]
call fcn.0041e954
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 8]
cmp eax, 0x190
jg 0x533a47
cmp ebp, ebx
jle 0x533a47
xor eax, eax
jmp 0x533a49
mov al, 1
mov byte [esp + 0xd], al
cmp byte [esp + 0xd], 0
je 0x533972
add esp, 0x16c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x538db4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x538de2
mov eax, ebx
call fcn.00539858
cmp dword [ebx + 0x3c], 0
je 0x538ddb
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x538e53
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x538e45
cmp dword [ebx + 8], 0
je 0x538e04
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 0x538e16
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x538e45
cmp dword [ebx + 8], 0
je 0x538df7
cmp eax, 3
je 0x538e29
dec eax
jne 0x538df7
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 0x538df7
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x538df7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x538e71
cmp dword [ebx + 0x10], 0xcc
je 0x538e71
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.00538e7c
pop ebx
ret

Function at 0x54a574
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jbe 0x54a608
xor eax, eax
push ebp
push 0x54a5f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0054a4d8
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], esi
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.version.dll_GetFileVersionInfoA
neg eax
sbb eax, eax
neg eax
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54a608
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret