joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490ff4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x491022
mov eax, ebx
call fcn.00491aa8
cmp dword [ebx + 0x40], 0
je 0x49101b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x491093
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x491085
cmp dword [ebx + 8], 0
je 0x491044
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 0x491056
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x491085
cmp dword [ebx + 8], 0
je 0x491037
cmp eax, 3
je 0x491069
dec eax
jne 0x491037
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 0x491037
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x491037
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4910b1
cmp dword [ebx + 0x14], 0xcc
je 0x4910b1
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.004910bc
pop ebx
ret

Function at 0x4a6134
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 0x4a61ea
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.00405598
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4a61d4
lea eax, [ebp - 4]
mov edx, edi
call fcn.00405828
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.00405598
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a61d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a61fc
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a61d4
cmp dword [ebp - 0xc], 0x34
jne 0x4a61d4
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 0x4a61f1
lea eax, [ebp - 4]
call fcn.00405108
ret

Function at 0x4a9ac8
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 0x4a9b2c
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.00405378
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00409af4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9b33
lea eax, [ebp - 0xc]
call fcn.00405108
ret
Function at 0x4aa40c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4aa421
add esp, 0xfffffff0
call fcn.00404510
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.004041bc
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.0040515c
mov eax, esi
call fcn.00405598
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 0x4aa475
mov ecx, dword [0x4c60f0]
mov dl, 1
mov eax, dword [0x4aa1f4]
call fcn.004a392c
call fcn.00404a60
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 0x4aa49c
call fcn.00404568
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 0x4ab030
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 0x4ab104
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.004051a0
lea eax, [ebp - 4]
call fcn.004055f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405598
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4ab0ee
mov eax, ebx
call fcn.00402efc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4ab0e7
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.00405598
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4ab0d1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4ab114
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ab0d1
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 0x4ab0ee
mov eax, dword [ebp - 0x10]
call fcn.00402f18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab10b
lea eax, [ebp - 4]
call fcn.00405108
ret

Function at 0x4acbc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x4acc3b
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
test al, al
je 0x4acc25
lea ecx, [ebp - 4]
lea edx, [ebp - 0xc]
call fcn.004aca28
cmp dword [ebp - 0xc], 0
je 0x4acc1a
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00408258
test al, al
je 0x4acc25
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4acc25
mov eax, dword [ebp - 4]
call fcn.004acb20
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acc42
lea eax, [ebp - 4]
call fcn.00405108
ret
Function at 0x4accdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4acd96
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x4acd05
mov eax, ebx
call fcn.00405108
jmp 0x4acd80
mov ecx, ebx
lea edx, [ebp - 8]
call fcn.004aca28
cmp dword [ebp - 8], 0
je 0x4acd80
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0040824c
test al, al
je 0x4acd79
xor eax, eax
push ebp
push 0x4acd72
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004acc4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acd80
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.0040824c
test al, al
je 0x4acd71
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
mov eax, ebx
call fcn.00405108
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acd9d
lea eax, [ebp - 4]
call fcn.00406c68
ret

Function at 0x4bac70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov esi, eax
lea edi, [ebp - 6]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
push ebp
push 0x4bad6d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00403354
mov eax, pe_nt_image_headers32
call fcn.0040337c
mov byte [ebp - 0x1c], al
mov eax, pe_nt_image_headers32
call fcn.0040337c
add al, 0x57
mov byte [ebp - 0x1b], al
xor ebx, ebx
lea eax, [ebp - 6]
movzx edx, byte [eax]
mov ecx, edx
xor cl, byte [ebp - 0x1c]
lea esi, [ebx + 2]
mov byte [ebp + esi - 0x1c], cl
xor dl, byte [ebp - 0x1b]
lea ecx, [ebx + 8]
mov byte [ebp + ecx - 0x1c], dl
inc ebx
inc eax
cmp ebx, 6
jne 0x4bacc0
mov eax, pe_nt_image_headers32
call fcn.0040337c
add al, 0x11
mov byte [ebp - 0xe], al
mov eax, pe_nt_image_headers32
call fcn.0040337c
sub al, 0xc3
mov byte [ebp - 0xd], al
mov ebx, 0x10
mov eax, 0x4c5840
lea edx, [ebp - 0x1c]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4bad0b
mov eax, dword [ebp - 0xc]
call fcn.00405108
mov ebx, 0x10
lea esi, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
movzx eax, byte [esi]
mov edx, 2
call fcn.00409a90
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409380
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004053d4
mov eax, dword [ebp - 0xc]
inc esi
dec ebx
jne 0x4bad25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bad74
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040512c
ret
Function at 0x4bad7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405588
xor eax, eax
push ebp
push 0x4bae1c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xe]
call fcn.004ba9e8
lea edx, [ebp - 8]
lea eax, [ebp - 0xe]
call fcn.004bac70
push 5
push 0
push 0
push 0x4bae30
push dword [ebp - 4]
push 0x4bae68
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040549c
mov eax, dword [ebp - 0x18]
call fcn.00405598
push eax
push 0x4bae70
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bae23
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040512c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040512c
ret

Function at 0x4bb304
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405588
xor eax, eax
push ebp
push 0x4bb485
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.004a6f74
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004a6f94
mov ebx, eax
jmp 0x4bb451
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00405378
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a078
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004092f8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004092f8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405530
je 0x4bb428
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00405378
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004092f8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004092f8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405530
jne 0x4bb442
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004a6fb4
mov ebx, eax
test ebx, ebx
jne 0x4bb383
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb48c
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040512c
lea eax, [ebp - 4]
call fcn.00405108
ret

Function at 0x4bb648
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push esp
push 0x3ff
call sub.kernel32.dll_GetTempPathA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004051f8
add esp, 0x400
pop ebx
ret
Function at 0x4bbf10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
mov dword [ebp - 0x94], 0x94
mov bl, 1
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4bbf40
cmp dword [ebp - 0x90], 6
setae bl
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bbf48
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405588
xor eax, eax
push ebp
push 0x4bc073
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004bbf10
test al, al
je 0x4bc007
lea eax, [ebp - 0x10]
push eax
push 2
push 0
push 0x4bc080
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4bbfa0
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 4]
call fcn.00405598
push eax
push 1
push 0
push 0x4bc098
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
push 2
push 0x4bc0a4
push 1
push 0
push 0x4bc0a8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
push 2
push 0x4bc0b8
push 1
push 0
push 0x4bc0bc
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
push 2
push 0
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
jmp 0x4bc04d
lea eax, [ebp - 8]
call fcn.00406c68
push eax
push 0x4c5864
push 1
push 0
push 0x4c5854
call sub.ole32.dll_CoCreateInstance
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00405a38
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405a48
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 0xf
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc07a
lea eax, [ebp - 0xc]
call fcn.004058e8
lea eax, [ebp - 8]
call fcn.00406c68
lea eax, [ebp - 4]
call fcn.00405108
ret

Function at 0x4bc510
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405588
xor eax, eax
push ebp
push 0x4bc58e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403984
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.00403984
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405598
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc595
lea eax, [ebp - 4]
call fcn.00405108
ret
Function at 0x4bc9f8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405588
xor eax, eax
push ebp
push 0x4bca80
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403984
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x4bca98
mov edx, dword [ebp - 4]
call fcn.00405420
mov eax, dword [ebp - 0x28]
call fcn.00405598
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x12], 0x414
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bca87
lea eax, [ebp - 0x28]
call fcn.00405108
lea eax, [ebp - 4]
call fcn.00405108
ret
Function at 0x4bd304
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret

Function at 0xdede18
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdede22
pushal
call 0xdede28
pop ebp
sub ebp, 0x10
sub ebp, 0x9ede18
jmp 0xdede3e
mov eax, 0x9ede18
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0xe0e9a827
xor byte [eax], dl
inc eax
dec ecx
jne 0xdede55
jmp 0xdede68
lodsb al, byte [esi]
ljmp 0x2727
Function at 0x402880
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or eax, 0xffffffff
mov word [ebp - 0xc], ax
push ebx
xor ecx, ecx
mov eax, 0x65
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov edx, 2
mul edx
invalid
nop

Function at 0x40ec43
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esi + 0x43], 0x40
ja 0x40ec51
invalid
push edi
xor ecx, dword [ebx - 0x7476f7b5]
or al, 0xb8
push ecx
dec ebx
or byte [ecx + 0x51b80c8b], cl
call fcn.004111ff
inc edi
push edi
push eax
push 0x3b
jle 0x40ec6f
jb 0x40ec54
pop edi
invalid
inc eax
inc eax
ret

Function at 0x4322a4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x4a7540], eax
mov edx, 0x758b5601
mov eax, 0x4a7540
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a7efc
jl 0x4322ba
mov dword [0x459a205c], 0xc03301
mov dword [0x4a7f10], 0xc4101
pop edi
pop ebp
ret

Function at 0x442e2f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a7f10], 0
push esi
push edi
mov esi, 0x4a7540
jne 0x442e4f
push 0
call fcn.004148d6
push eax
call fcn.004322a4
add esp, 8
mov dword [0x49205c], 0x270
mov dword [0x4a753c], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x442e64
mov edx, 0x18c
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x442e9f
mov ecx, dword [0x4a7540]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret
Function at 0x44b327
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x49205c]
jne 0x44b338
call fcn.00442e2f
mov ecx, dword [0x4a753c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a753c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x44b37f
fadd qword [0x48cd18]
fmul qword [0x48cd20]
mov esp, ebp
pop ebp
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, reloc.shlwapi.dll_SHGetValueW
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40428c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406984
test esi, esi
jne 0x4042c2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406adc
jmp 0x4042e0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004041d0
mov edi, eax
test esi, esi
je 0x4042e0
cmp dword [ebx], 0
je 0x4042e0
dec esi
jmp 0x4042c9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x434008], 0x8088405
inc edx
mov dword [ebx + 0x434008], edx
mul edx
mov eax, edx
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405e34
mov byte [esp], al
cmp byte [esp], 0
jne 0x405d22
test edi, edi
je 0x405d22
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405c62
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405c3d
cmp edi, 0xffffffff
je 0x405bfd
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405bfd
mov byte [esp], 0
jmp 0x405d22
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405c3d
test ebx, ebx
jne 0x405c2f
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405c2f
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405d22
lea eax, [esp + 0xc]
call fcn.00405948
dec ebp
test ebp, ebp
jg 0x405be2
cmp edi, 0xffffffff
je 0x405c62
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405c60
mov byte [esp], 0
jmp 0x405d22
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405ba6
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405c62
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405d90
mov edx, eax
mov ebx, dword [0x4368f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405cc6
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405cc4
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405cc6
xor edi, edi
cmp byte [esp], 0
je 0x405cec
mov ebx, dword [esi]
test bl, 1
jne 0x405d02
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405ccc
mov byte [esp + 1], 1
jmp 0x405d02
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405cec
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405c79
cmp byte [esp], 0
je 0x405d22
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret