joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00405b58
mov edx, eax
mov eax, ebx
call fcn.00493d88
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.00493fe4
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x4945e2
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00405b58
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x494cd8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00405b58
push eax
mov eax, dword [ebp + 0x10]
call fcn.00405b58
push eax
mov eax, edi
call fcn.00405b58
push eax
mov eax, esi
call fcn.00405b58
push eax
push ebx
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x495260
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4093e8]
call fcn.00406358
xor eax, eax
push ebp
push 0x495401
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x644980], 0
jne 0x4952bb
mov ecx, dword [0x659a78]
mov dl, 1
mov eax, dword [0x409da0]
call fcn.00411988
call fcn.00405004
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403c80
mov eax, ebx
call fcn.004060a0
mov dword [ebp - 0x24], eax
mov esi, 0x495410
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00407888
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004060b0
test eax, eax
jle 0x4953a4
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x495390
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.0040591c
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x495336
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405950
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x49534c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405950
mov eax, dword [ebp - 0x54]
call fcn.00405b58
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.0040591c
mov eax, dword [ebp - 0x58]
call fcn.00405b58
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x495392
xor eax, eax
test al, al
je 0x49539d
mov ebx, 0x15
jmp 0x4953a9
mov ebx, 0x10
jmp 0x4953a9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x644980]
call fcn.004950e0
mov eax, dword [ebp - 4]
call fcn.004950e0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004078a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495408
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004056d0
lea eax, [ebp - 0xc]
mov edx, dword [0x4093e8]
call fcn.00406428
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405b58
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x496649
test al, 0x10
jne 0x49664d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x496672
push ebx
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x49666a
test al, 0x10
je 0x49666e
xor eax, eax
jmp 0x496674
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x4967bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x496872
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405b58
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x49685c
lea eax, [ebp - 4]
mov edx, edi
call fcn.00405de8
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405b58
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x49685c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x496884
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x49685c
cmp dword [ebp - 0xc], 0x34
jne 0x49685c
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496879
lea eax, [ebp - 4]
call fcn.004056ac
ret
Function at 0x49adac
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49b029
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xa0]
mov edx, 0x9c
call fcn.00496c28
lea eax, [ebp - 0xc4]
mov edx, 0x24
call fcn.00496c28
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xc4]
call fcn.0049b4e8
cmp byte [0x645458], 0
je 0x49ae50
call fcn.0049b35c
cmp eax, 6
jl 0x49ae50
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x49afb4
cmp byte [ebp - 6], 1
jne 0x49ae34
mov bl, 1
jmp 0x49afb4
movzx eax, word [ebp - 8]
and ax, 2
cmp ax, 2
jne 0x49ae49
mov bl, 7
jmp 0x49afb4
mov bl, 2
jmp 0x49afb4
cmp byte [0x64545c], 0
je 0x49ae9f
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x49afb4
movzx eax, byte [ebp - 6]
add al, 0xfe
sub al, 2
jae 0x49ae98
movzx eax, word [ebp - 8]
test al, 0x80
je 0x49ae86
mov bl, 6
jmp 0x49afb4
test al, 2
je 0x49ae91
mov bl, 3
jmp 0x49afb4
mov bl, 2
jmp 0x49afb4
mov bl, 5
jmp 0x49afb4
cmp byte [0x645468], 0
jne 0x49aeba
cmp byte [0x645464], 0
jne 0x49aeba
cmp byte [0x64546c], 0
je 0x49af2b
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x49afb4
movzx eax, byte [ebp - 6]
mov edx, eax
add dl, 0xfe
sub dl, 2
jae 0x49af1c
movzx eax, word [ebp - 8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x49aef5
mov bl, 6
jmp 0x49afb4
mov edx, eax
and dx, 2
cmp dx, 2
jne 0x49af08
mov bl, 7
jmp 0x49afb4
cmp ax, 0x400
jne 0x49af15
mov bl, 8
jmp 0x49afb4
mov bl, 2
jmp 0x49afb4
cmp al, 1
jne 0x49afb4
mov bl, 5
jmp 0x49afb4
cmp byte [0x645460], 0
jne 0x49af46
cmp byte [0x645470], 0
jne 0x49af46
cmp byte [0x645478], 0
je 0x49af72
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x49afb4
cmp byte [ebp - 6], 1
jne 0x49afb4
movzx eax, word [ebp - 8]
and ax, 0x200
cmp ax, 0x200
jne 0x49af6e
mov bl, 4
jmp 0x49afb4
mov bl, 5
jmp 0x49afb4
cmp byte [0x645474], 0
jne 0x49af84
cmp byte [0x64547c], 0
je 0x49afb4
movzx eax, byte [ebp - 6]
add al, 0xfe
sub al, 2
jae 0x49afb4
movzx eax, word [ebp - 8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x49afa4
mov bl, 6
jmp 0x49afb4
and ax, 2
cmp ax, 2
jne 0x49afb2
mov bl, 7
jmp 0x49afb4
mov bl, 2
test bl, bl
jne 0x49b013
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x49b040
mov edx, 0x49b054
mov eax, 0x80000002
call fcn.0049483c
mov edx, 0x49b08c
mov eax, dword [ebp - 4]
call fcn.0040ade8
test eax, eax
jne 0x49afe7
mov bl, 1
jmp 0x49b013
mov edx, 0x49b09c
mov eax, dword [ebp - 4]
call fcn.0040ade8
test eax, eax
jne 0x49affc
mov bl, 3
jmp 0x49b013
mov edx, 0x49b0b0
mov eax, dword [ebp - 4]
call fcn.0040ade8
test eax, eax
jne 0x49b011
mov bl, 2
jmp 0x49b013
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b030
lea eax, [ebp - 4]
call fcn.004056ac
ret
Function at 0x49b35c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
xor eax, eax
mov dword [ebp - 0xa0], eax
xor eax, eax
push ebp
push 0x49b41a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x65a968]
cmp dword [eax], 2
jne 0x49b3c2
mov eax, dword [0x659ed4]
cmp dword [eax], 5
jl 0x49b3c2
lea eax, [ebp - 0x9c]
mov edx, 0x9c
call fcn.00496c28
mov dword [ebp - 0x9c], 0x9c
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x49b401
movzx ebx, word [ebp - 8]
jmp 0x49b401
push 0
mov ecx, 0x49b430
mov edx, 0x49b444
mov eax, 0x80000002
call fcn.00494714
mov ebx, eax
lea ecx, [ebp - 0xa0]
mov edx, 4
mov eax, ebx
call fcn.0040baa4
mov eax, dword [ebp - 0xa0]
call fcn.0040bafc
mov ecx, 0x64
cdq
idiv ecx
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b421
lea eax, [ebp - 0xa0]
call fcn.004056ac
ret
Function at 0x49dd2c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49df0c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.00496c28
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x645cb4], eax
mov eax, dword [ebp - 0xc]
mov dword [0x645cb8], eax
mov eax, dword [ebp - 0x24]
mov dword [0x645cbc], eax
mov eax, dword [0x65a968]
cmp dword [eax], 2
sete byte [0x645444]
push 0x49df18
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00496678
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x645444], 0
jne 0x49ddbb
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004967bc
test al, al
je 0x49ddbb
mov eax, dword [ebp - 0x4c]
mov dword [0x6602e8], eax
jmp 0x49ddc2
xor eax, eax
mov dword [0x6602e8], eax
call fcn.0049ab70
and eax, 0x7f
cmp eax, 0x12
ja case.0x49ddd3.0
jmp dword [eax*4 + 0x49ddda]
mov byte [0x645430], 1
jmp case.0x49ddd3.0
mov byte [0x645434], 1
jmp case.0x49ddd3.0
mov byte [0x645438], 1
jmp case.0x49ddd3.0
mov byte [0x64543c], 1
jmp case.0x49ddd3.0
mov byte [0x645440], 1
jmp case.0x49ddd3.0
mov byte [0x645448], 1
mov byte [0x64544c], 1
jmp case.0x49ddd3.0
mov byte [0x645448], 1
mov byte [0x645450], 1
jmp case.0x49ddd3.0
mov byte [0x645448], 1
mov byte [0x645450], 1
mov byte [0x645454], 1
jmp case.0x49ddd3.0
mov byte [0x645458], 1
jmp case.0x49ddd3.0
mov byte [0x64545c], 1
jmp case.0x49ddd3.0
mov byte [0x645460], 1
jmp case.0x49ddd3.0
mov byte [0x645464], 1
jmp case.0x49ddd3.0
mov byte [0x645468], 1
jmp case.0x49ddd3.0
mov byte [0x64546c], 1
jmp case.0x49ddd3.0
mov byte [0x645470], 1
jmp case.0x49ddd3.0
mov byte [0x645474], 1
jmp case.0x49ddd3.0
mov byte [0x645478], 1
jmp case.0x49ddd3.0
mov byte [0x64547c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49df13
lea eax, [ebp - 4]
call fcn.004056ac
ret

Function at 0x49fdc8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x49fe2c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040591c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040bb38
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fe33
lea eax, [ebp - 0xc]
call fcn.004056ac
ret
Function at 0x4a121c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4a1231
add esp, 0xfffffff0
call fcn.00404ab4
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00404718
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00405700
mov eax, esi
call fcn.00405b58
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4a1285
mov ecx, dword [0x65a6bc]
mov dl, 1
mov eax, dword [0x4a0fe4]
call fcn.004912f0
call fcn.00405004
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a12ac
call fcn.00404b0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4a204c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, eax
call fcn.004a2004
push eax
call fcn.0045ce68
pop edx
call fcn.0045ce30
test al, al
je 0x4a2157
call fcn.0045ce68
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4a2150
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004a2004
movzx eax, ax
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4a2133
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4221ac]
call fcn.00404718
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a2115
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, esi
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a211c
mov eax, dword [ebp - 4]
call fcn.00404748
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a31b8
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0
push 0
push ebx
push 0x4a31d8
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
pop ebx
ret
Function at 0x4a31e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a32b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405744
lea eax, [ebp - 4]
call fcn.00405bb0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b58
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4a329e
mov eax, ebx
call fcn.0040300c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a3297
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b58
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a3281
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a32c4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a3281
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a329e
mov eax, dword [ebp - 0x10]
call fcn.00403028
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a32bb
lea eax, [ebp - 4]
call fcn.004056ac
ret
Function at 0x4b6fd0
Capabilities:
Check if file exists
Get file attributes

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

Function at 0x4b7718
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x646658], 0
jne 0x4b77ea
mov byte [0x646658], 1
xor eax, eax
mov dword [0x646648], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x4b7760
cmp dword [esp + 0x1c], 3
jne 0x4b77c0
cmp dword [esp + 0x20], 0x33
jbe 0x4b77c0
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x4b77f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4b77ea
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4b7824
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4b77ea
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x4b77ea
cmp byte [esp + 9], 0
jne 0x4b77ea
jmp 0x4b77d5
push 0
push 0x4b7824
push 0x4b782c
call sub.kernel32.dll_GetProfileIntA
test eax, eax
je 0x4b77ea
mov eax, dword [0x646644]
call fcn.00405b58
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x646648], eax
add esp, 0xac
ret

Function at 0x4dcf9c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4dcfca
mov eax, ebx
call fcn.004dda50
cmp dword [ebx + 0x40], 0
je 0x4dcfc3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4dd03b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4dd02d
cmp dword [ebx + 8], 0
je 0x4dcfec
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 0x4dcffe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4dd02d
cmp dword [ebx + 8], 0
je 0x4dcfdf
cmp eax, 3
je 0x4dd011
dec eax
jne 0x4dcfdf
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 0x4dcfdf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4dcfdf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4dd059
cmp dword [ebx + 0x14], 0xcc
je 0x4dd059
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.004dd064
pop ebx
ret
Function at 0x4edb7c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov edi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test ebp, ebp
je 0x4edc62
mov ebx, eax
mov eax, ebp
mov esi, 3
cdq
idiv esi
lea eax, [eax + eax*2]
mov dword [esp], eax
mov esi, ebx
add esi, dword [esp]
jmp 0x4edbf7
movzx eax, byte [ebx]
shl eax, 8
movzx edx, byte [ebx + 1]
or eax, edx
shl eax, 8
movzx edx, byte [ebx + 2]
or eax, edx
add ebx, 3
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 3], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
movzx eax, byte [edi + eax]
mov byte [ecx], al
add ecx, 4
cmp ebx, esi
jb 0x4edba9
sub ebp, dword [esp]
dec ebp
je 0x4edc06
dec ebp
je 0x4edc2b
jmp 0x4edc62
movzx eax, byte [ebx]
shl eax, 4
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
movzx eax, byte [edi + eax]
mov byte [ecx], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x4edc62
movzx eax, byte [ebx]
shl eax, 8
movzx edx, byte [ebx + 1]
or eax, edx
shl eax, 2
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
movzx edx, byte [edi + edx]
mov byte [ecx + 1], dl
shr eax, 6
movzx eax, byte [edi + eax]
mov byte [ecx], al
mov byte [ecx + 3], 0x3d
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ffdc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x435a48]
call fcn.0043cdbc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fff93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x4fff72
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0043e314
mov eax, dword [ebp - 8]
call fcn.0043d390
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.00437534
cmp byte [ebp + 8], 0
je 0x4ffe5a
xor edx, edx
mov eax, ebx
call fcn.004fedcc
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004fedcc
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.004fecfc
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4ffe96
xor edx, edx
mov eax, ebx
call fcn.004fedcc
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.004fecfc
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004fedcc
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00422ccc
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.0043d390
pop edx
call fcn.00437ca0
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004fecfc
dec eax
test eax, eax
jl 0x4fff4a
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004feca0
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.004fedf8
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
movzx edx, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004fedf8
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
movzx edx, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.00422ca4
mov eax, dword [ebp - 8]
call fcn.0043d390
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x4ffee0
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004feca0
cmp byte [ebp + 0xc], 0
je 0x4fff72
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.0042fe30
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004fe48c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fff9a
mov eax, dword [ebp - 8]
call fcn.00404748
ret
Function at 0x508434
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x38], 0
je 0x5084ad
mov byte [ebx + 0x38], 0
mov eax, ebx
call fcn.005089b0
mov eax, ebx
call fcn.005089d4
mov eax, dword [ebx + 0x34]
call fcn.004738dc
mov esi, eax
call sub.user32.dll_GetCapture
cmp esi, eax
jne 0x508468
call sub.user32.dll_ReleaseCapture
mov eax, dword [ebx + 0x34]
call fcn.0046bc64
mov esi, dword [ebx + 0x34]
cmp dword [esi + 0x1c4], 0
jne 0x50848b
push 0
mov eax, esi
call fcn.004738dc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x34]
call fcn.00470360
cmp word [ebx + 0x9a], 0
je 0x5084ad
mov edx, ebx
mov eax, dword [ebx + 0x9c]
call dword [ebx + 0x98]
pop esi
pop ebx
ret