joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4702bc
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4702c4
push ebx
push esi
mov esi, 0x5d08a0
xor eax, eax
push ebp
push 0x470543
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov byte [0x5d0b48], 1
mov eax, dword [0x5d0ba4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x5d0ba8]
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.0045b0f4
call fcn.0046ebb8
xor eax, eax
push ebp
push 0x470514
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5d1248]
call fcn.0045fec8
xor eax, eax
push ebp
push 0x4704ef
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045ff94
xor eax, eax
push ebp
push 0x4704c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
cmp byte [eax + 0x310], 0
je 0x47036a
mov al, 1
call fcn.004701fc
mov eax, dword [esi]
cmp byte [eax + 0x310], 0
je 0x47036a
push ebp
call fcn.0046f480
pop ecx
and bl, al
mov eax, dword [esi]
cmp byte [eax + 0x311], 0
je 0x4703a6
mov eax, dword [esi]
cmp byte [eax + 0x310], 0
je 0x47038b
mov eax, dword [esi]
cmp byte [eax + 0x2ee], 0
je 0x470392
xor eax, eax
call fcn.004701fc
mov eax, dword [esi]
cmp byte [eax + 0x311], 0
je 0x4703a6
push ebp
call fcn.004700b0
pop ecx
and bl, al
test bl, bl
jne 0x4703bf
mov eax, dword [esi]
test byte [eax + 0x335], 0x10
je 0x4703bf
mov eax, dword [0x5d096c]
call fcn.0045b658
mov eax, dword [esi]
test byte [eax + 0x2f5], 2
je 0x470442
cmp byte [ebp - 0xd], 0
jne 0x470442
test bl, bl
je 0x47040c
push 0x242040
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [esi]
call fcn.0042f9f4
mov eax, dword [ebp - 0x14]
call fcn.00404e44
push eax
lea ecx, [ebp - 0x18]
mov dl, 0x90
mov eax, dword [esi]
call fcn.0042f9f4
mov eax, dword [ebp - 0x18]
call fcn.00404e44
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x470442
push 0x242010
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [esi]
call fcn.0042f9f4
mov eax, dword [ebp - 0x1c]
call fcn.00404e44
push eax
lea ecx, [ebp - 0x20]
mov dl, 0x91
mov eax, dword [esi]
call fcn.0042f9f4
mov eax, dword [ebp - 0x20]
call fcn.00404e44
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [esi]
test byte [eax + 0x335], 0x20
je 0x470493
test bl, bl
jne 0x470493
lea eax, [ebp - 0x24]
call fcn.0046f274
mov eax, dword [ebp - 0x24]
call fcn.00404e44
push eax
lea eax, [ebp - 0x28]
call fcn.0045fc20
mov eax, dword [ebp - 0x28]
call fcn.00404e44
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x30]
call fcn.0046f274
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040c794
mov eax, dword [ebp - 0x2c]
call fcn.0046f2fc
lea eax, [ebp - 0x34]
call fcn.0045fc20
mov eax, dword [ebp - 0x34]
call fcn.0045c2b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4704c8
lea eax, [ebp - 0x38]
call fcn.0045fe10
mov eax, dword [ebp - 0x38]
call fcn.0045c2b8
ret
Function at 0x471eb4
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push 0x471f58
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
test ebx, ebx
je 0x471f1d
push 0x471f68
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x471f1d
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 4]
test eax, eax
je 0x471f1d
mov eax, dword [ebp - 0x3c]
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
jmp 0x471f4f
mov dword [ebp - 0x64], 0x20
lea eax, [ebp - 0x64]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fistp qword [edi]
wait
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fistp qword [esi]
wait
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472c84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472de2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404968
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404e44
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x472dc7
mov eax, dword [ebp - 4]
call fcn.004027a0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x472dc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x472da7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x472df0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472da7
push 0x472e14
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.0040bf70
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040bf70
push dword [ebp - 0x20]
push 0x472e30
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404d0c
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404e44
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472da7
cmp dword [ebp - 0xc], 1
jbe 0x472da7
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0040cd7c
mov ecx, eax
mov eax, esi
mov edx, ebx
call fcn.00404a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472dc7
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004027c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472de9
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040498c
ret
Function at 0x472e78
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404e34
xor eax, eax
push ebp
push 0x472f50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404968
cmp dword [ebp - 4], 0
je 0x472ec8
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x472ec8
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404ee4
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404e44
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x472f3a
mov eax, ebx
mov edx, 0x400
call fcn.00404fd0
mov eax, dword [ebx]
call fcn.00404c4c
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.00404e44
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x472f2a
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00404fd0
jmp 0x472f31
mov eax, ebx
call fcn.00404968
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472f57
lea eax, [ebp - 4]
call fcn.00404968
ret

Function at 0x472f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e34
mov eax, dword [ebp - 8]
call fcn.00404e34
xor eax, eax
push ebp
push 0x473036
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x472fb2
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x472fb2
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404ee4
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404e44
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47301b
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404e44
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x473012
cmp dword [ebp - 0x14], 4
jne 0x473012
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47303d
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040498c
ret
Function at 0x4738cc
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x473a75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404968
lea eax, [ebp - 8]
push eax
push 8
call fcn.004577ac
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x473a5a
xor eax, eax
push ebp
push 0x473a53
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [ebp - 0xc]
call fcn.004027a0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x473a35
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x473a1f
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x473a1f
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x14], ecx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404fd0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404e44
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404fd0
push dword [esi]
lea ecx, [ebp - 0x20]
mov edx, 0x1f
mov eax, dword [ebp - 0x1c]
call fcn.0047388c
push dword [ebp - 0x20]
push ebp
lea eax, [ebp - 0x24]
call fcn.00473838
pop ecx
push dword [ebp - 0x24]
push 0x473a8c
mov eax, esi
mov edx, 4
call fcn.00404d0c
inc ebx
dec edi
jne 0x47397a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473a3c
mov eax, dword [ebp - 0x10]
call fcn.004027c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473a7c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040498c
ret
Function at 0x477d00
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x477e22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5cbf80]
mov eax, dword [eax]
call fcn.0045b8cc
mov ebx, eax
test ebx, ebx
je 0x477d6e
lea edx, [ebp - 4]
mov eax, dword [ebx + 4]
call fcn.0040c8d0
mov eax, dword [ebp - 4]
call fcn.00404e44
push eax
push 0x477e30
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404e44
push eax
push 0x477e40
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404e44
push eax
push 0x477e50
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.0045b988
mov ebx, eax
test ebx, ebx
je 0x477dc3
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.0040c8d0
mov eax, dword [ebp - 8]
call fcn.00404e44
push eax
push 0x477e60
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404e44
push eax
push 0x477e74
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404e44
push eax
push 0x477e88
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
call fcn.00471de0
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.00404e44
push eax
push 0x477e9c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x5d096c]
call fcn.00404e44
push eax
push 0x477ea8
call sub.kernel32.dll_SetEnvironmentVariableA
push 0x477eb4
push 0x477eb8
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477e29
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040498c
ret
Function at 0x4792e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x479455
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404968
call sub.user32.dll_GetFocus
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x47942f
lea eax, [ebp - 0x10c]
call fcn.0047928c
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040b61c
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.0040ba44
mov edx, dword [ebp - 4]
mov eax, 0x47946c
call fcn.00404f88
test eax, eax
jg 0x479389
mov edx, dword [ebp - 4]
mov eax, 0x47947c
call fcn.00404f88
test eax, eax
jle 0x47939d
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test eax, 4
jg 0x47942f
mov esi, pe_nt_image_headers32
push esi
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x47942f
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404be0
lea eax, [ebp - 0x114]
call fcn.0047928c
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040b61c
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 4]
call fcn.0040ba44
mov edx, dword [ebp - 4]
mov eax, 0x47946c
call fcn.00404f88
test eax, eax
jle 0x47942f
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x47942f
mov eax, dword [edi]
call fcn.00404c4c
mov ebx, eax
test ebx, ebx
jbe 0x47942f
mov esi, 1
mov eax, edi
call fcn.00404e9c
mov byte [eax + esi - 1], 0x2a
inc esi
dec ebx
jne 0x47941f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47945c
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.0040498c
lea eax, [ebp - 4]
call fcn.00404968
ret
Function at 0x479484
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
test dl, dl
je 0x479499
add esp, 0xfffffff0
call fcn.00403ddc
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 0x22]
push ecx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop ecx
movsb byte es:[edi], byte [esi]
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 0x22]
mov edx, dword [0x456e7c]
call fcn.004058c8
xor eax, eax
push ebp
push 0x4795b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.00429818
mov byte [ebx + 0x31], 0
mov dword [ebx + 0x34], esi
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x38], eax
mov al, byte [ebp + 0x18]
mov byte [ebx + 0x3c], al
mov al, byte [ebp - 0x22]
mov byte [ebx + 0x3d], al
mov eax, dword [ebp - 0x19]
mov dword [ebx + 0x46], eax
mov eax, dword [ebp - 0x15]
test eax, eax
jne 0x479507
call fcn.00459644
mov dword [ebx + 0x4a], eax
jmp 0x47950a
mov dword [ebx + 0x4a], eax
mov eax, dword [ebp - 0x11]
test eax, eax
jne 0x479521
call fcn.0040721c
mov eax, dword [eax + 0x58]
mov dword [ebx + 0x4e], eax
jmp 0x479524
mov dword [ebx + 0x4e], eax
mov eax, dword [ebp - 0xd]
mov dword [ebx + 0x52], eax
lea eax, [ebx + 0x56]
mov edx, dword [ebp - 9]
call fcn.004049bc
lea eax, [ebx + 0x5a]
mov edx, dword [ebp - 5]
call fcn.004049bc
mov eax, dword [ebp - 0x21]
test eax, eax
jne 0x479557
call fcn.0040721c
lea eax, [eax + 0x64]
mov dword [ebx + 0x3e], eax
jmp 0x47955a
mov dword [ebx + 0x3e], eax
mov eax, dword [ebp - 0x1d]
test eax, eax
jne 0x479571
call fcn.0040721c
lea eax, [eax + 0x130]
mov dword [ebx + 0x42], eax
jmp 0x479574
mov dword [ebx + 0x42], eax
mov al, byte [ebp + 0x10]
mov byte [ebx + 0x5e], al
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x60], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x64], al
mov byte [ebx + 0x30], 1
mov dl, 5
mov eax, ebx
call fcn.00429a18
mov eax, ebx
call fcn.00429b80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4795bd
lea eax, [ebp - 0x22]
mov edx, dword [0x456e7c]
call fcn.0040579c
ret

Function at 0x47c8b0
Capabilities:
Terminate thread

Disassembly:
call fcn.0042ee5c
test al, al
jne 0x47c90d
cmp dword [0x5d0940], 0
je 0x47c90d
mov eax, dword [0x5d0940]
call fcn.00429ba8
mov eax, dword [0x5cd718]
call fcn.0045b99c
test al, al
jne 0x47c8ec
push 0xffffffffffffffff
mov eax, dword [0x5d0940]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x47c8fc
push 1
mov eax, dword [0x5d0940]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x5d0940]
call fcn.00403a78
xor eax, eax
mov dword [0x5d0940], eax
ret
Function at 0x47d8f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0045d23c
mov edi, eax
mov dl, 1
mov eax, dword [0x41e4bc]
call fcn.00403a48
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47da0e
push dword fs:[edx]
mov dword fs:[edx], esp
mov al, 0x10
call fcn.0045edd8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47d93e
mov dword [ebp - 0x14], 1
jmp 0x47d949
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00420c9c
mov al, 0x13
call fcn.0045edd8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x47d962
mov dword [ebp - 0xc], 1
jmp 0x47d96d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00420c9c
mov al, 0x11
call fcn.0045edd8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47d986
mov dword [ebp - 0x10], 1
jmp 0x47d991
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00420c9c
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x47d9bf
inc esi
xor ebx, ebx
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*8 + 4]
cmp eax, dword [ebp - 0x10]
je 0x47d9bb
cmp eax, dword [ebp - 0xc]
je 0x47d9bb
cmp eax, dword [ebp - 0x14]
je 0x47d9bb
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00420c9c
inc ebx
dec esi
jne 0x47d99b
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x47d9f8
inc esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [edi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.0047d794
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00420df8
mov edx, dword [edi + 4]
mov dword [edx + ebx*8 + 4], eax
inc ebx
dec esi
jne 0x47d9c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47da15
mov eax, dword [ebp - 8]
call fcn.00403a78
ret

Function at 0x47dab4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
call fcn.0045d23c
mov esi, eax
mov ebx, dword [esi]
dec ebx
jmp 0x47dac7
dec ebx
test ebx, ebx
jl 0x47dad4
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8], 0
je 0x47dac6
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x47db1c
mov edx, dword [esi + 4]
mov dword [0x5d08c0], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.0047d794
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.0047d794
mov dword [0x5d090c], eax
mov eax, 0x47da1c
mov edx, dword [0x5d090c]
mov dword [edx], eax
mov ebx, dword [esi]
dec ebx
jmp 0x47db22
dec ebx
test ebx, ebx
jl 0x47db30
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x47db21
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x47db69
mov edx, dword [esi + 4]
mov dword [0x5d08c4], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.0047d794
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x47daa4
mov edx, dword [esi + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4803f8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4803fe
ret

Function at 0x482e84
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x482ed5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x482ebc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x482eac
jmp 0x482ed5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x482ebd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2b94
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404e34
xor eax, eax
push ebp
push 0x4a2cc2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4a2c95
xor eax, eax
push ebp
push 0x4a2c8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c4c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a2c63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4a2c52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c4c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404e44
mov edx, ebx
pop ecx
call fcn.00402b04
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2c59
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5cbddc]
mov dl, 1
mov eax, dword [0x40a9b0]
call fcn.00410a3c
call fcn.00404308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2cc9
lea eax, [ebp - 4]
call fcn.00404968
ret