joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437478
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4374ca
test eax, edx
je 0x4374cd
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x43748d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4374b3
add ecx, 4
js 0x4374a3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4374b0
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4374d9
test edx, edx
jne 0x437480
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4811b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4811b8
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4b185c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b18fa
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4b18be
cmp byte [ebx + 0x11], 0
jne 0x4b18be
cmp byte [ebx + 0x3c], 0
jne 0x4b18be
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b18df
lea edx, [ebp - 4]
mov eax, dword [0x515b74]
call fcn.0040dd00
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48c954]
call fcn.00426930
call fcn.004097e4
jmp 0x4b18df
lea edx, [ebp - 8]
mov eax, dword [0x515b74]
call fcn.0040dd00
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48c954]
call fcn.00426930
call fcn.004097e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1901
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a148
ret

Function at 0x4b2298
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b22e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b16dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b22ff
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b2308
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b16dc
dec esi
jne 0x4b232a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4e2f80
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
xor ebx, ebx
cmp dword [esp], 0
je 0x4e2fe5
mov eax, dword [esp]
call fcn.004e32cc
test al, al
je 0x4e2fe5
mov eax, dword [esp]
call fcn.004e30dc
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
dec esi
mov eax, dword [esp]
movzx eax, word [eax + esi*2]
mov edx, eax
mov ecx, eax
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x4e2fc8
mov edx, eax
and dx, 0xffdf
mov eax, edx
cmp ax, 0x41
jb 0x4e2fe5
cmp ax, 0x5a
ja 0x4e2fe5
sub al, 0x41
mov ecx, eax
shr edi, cl
and edi, 1
cmp edi, 1
sete bl
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4ebdc8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x5135c0
test edx, edx
jne 0x4ebde7
xor eax, eax
jmp 0x4ebf05
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4ebe04
push esi
push edx
push eax
call fcn.004ebf0c
add esp, 0xc
jmp 0x4ebf05
push esi
push edx
push eax
call fcn.004ec1cc
add esp, 0xc
jmp 0x4ebf05
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4ffd64
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xfffffeec
movzx ebx, byte [0x5156b0]
cmp byte [0x5156b0], 0
jne 0x4ffdbb
mov bl, 1
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4ffdbb
cmp dword [esp + 0x10], 2
jne 0x4ffdbb
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x4ffdb4
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x4ffdab
mov bl, 2
jmp 0x4ffdbb
cmp eax, 2
jne 0x4ffdbb
mov bl, 3
jmp 0x4ffdbb
cmp eax, 5
jbe 0x4ffdbb
mov bl, 4
mov eax, ebx
add esp, 0x114
pop ebx
ret

Function at 0x500818
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x5008c0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x5156bc]
mov dword [ebp - 0xe], eax
mov ax, word [0x5156c0]
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xe]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x5008b6
xor eax, eax
push ebp
push 0x5008af
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
je 0x500898
cmp dword [ebp - 8], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5008b6
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_FreeSid
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5008ce
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5008dc
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xfffffeec
movzx ebx, byte [0x5156c2]
cmp byte [0x5156c2], 0
jne 0x500933
mov bl, 1
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x500933
cmp dword [esp + 0x10], 2
jne 0x500933
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x50092c
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x500923
mov bl, 2
jmp 0x500933
cmp eax, 2
jne 0x500933
mov bl, 3
jmp 0x500933
cmp eax, 5
jbe 0x500933
mov bl, 4
mov eax, ebx
add esp, 0x114
pop ebx
ret

Function at 0x50094c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 3
push 0x800
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x50099c
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040ad1c
mov eax, dword [ebx]
test eax, eax
je 0x500988
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
je 0x5009a9
mov eax, ebx
mov edx, dword [0x51b664]
call fcn.0040a4c8
jmp 0x5009a9
mov eax, ebx
mov edx, dword [0x51b664]
call fcn.0040a4c8
add esp, 0x200
pop ebx
ret
Function at 0x500b58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x500c22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040a0e8
lea eax, [ebp - 0x20a]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
test eax, eax
je 0x500c09
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.0040ad1c
mov eax, dword [ebx]
mov dl, 1
call fcn.00421014
test al, al
je 0x500c02
test esi, esi
je 0x500c09
lea edx, [ebp - 0x210]
mov eax, dword [ebx]
call fcn.00428018
mov edx, dword [ebp - 0x210]
mov eax, ebx
mov ecx, esi
call fcn.0040aecc
mov eax, dword [ebx]
mov dl, 1
call fcn.00421014
test al, al
jne 0x500c09
mov eax, dword [ebx]
call fcn.004210f4
mov eax, dword [ebx]
mov dl, 1
call fcn.00421014
test al, al
jne 0x500c09
mov eax, ebx
call fcn.0040a0e8
jmp 0x500c09
mov eax, ebx
call fcn.0040a0e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500c29
lea eax, [ebp - 0x210]
call fcn.0040a0e8
ret

Function at 0x500d8c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push 0x105
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.0040ad1c
add esp, 0x20c
pop ebx
ret
Function at 0x501d98
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, esi
call fcn.0040ac78
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x501ef9
xor edx, edx
push ebp
push 0x501ef2
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSizeEx
test eax, eax
je 0x501edb
cmp dword [ebp - 0x1c], 0
jne 0x501edb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jbe 0x501e73
test ebx, ebx
jbe 0x501e3d
mov eax, dword [ebp - 0x14]
xor edx, edx
div ebx
test edx, edx
je 0x501e3d
mov eax, dword [ebp - 0x14]
xor edx, edx
div ebx
sub ebx, edx
add dword [ebp - 0x14], ebx
xor eax, eax
push ebp
push 0x501e62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00406a18
mov edx, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x501e73
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x501edb
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x501eca
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jne 0x501eca
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jbe 0x501ec2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x10]
xor ecx, ecx
call fcn.00407820
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
jmp 0x501edb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00406a34
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501ef9
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x501f08
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
jbe 0x501f96
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, esi
call fcn.0040ac78
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x501f96
xor eax, eax
push ebp
push 0x501f8f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x501f78
cmp ebx, dword [ebp - 0xc]
jne 0x501f78
mov dword [ebp - 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501f96
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x501fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax], ebx
push edx
push ecx
push esi
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
je 0x5020f6
push ebx
push esi
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x5020f6
push ebx
push esi
call sub.kernel32.dll_LoadResource
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5020f6
xor edx, edx
push ebp
push 0x5020ef
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5020d8
xor edx, edx
push ebp
push 0x5020d1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp byte [ebp + 8], 0
jbe 0x502052
movzx eax, byte [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
pop edx
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
je 0x502052
movzx ecx, byte [ebp + 8]
mov eax, dword [ebp - 0x14]
xor edx, edx
div ecx
sub ecx, edx
add dword [ebp - 0x14], ecx
xor eax, eax
push ebp
push 0x502077
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00406a18
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x502088
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x5020c3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
call fcn.00406c38
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jbe 0x5020bd
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x10]
xor ecx, ecx
call fcn.00407820
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5020d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5020f6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeResource
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x503fd8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 4], 0
je 0x50407e
test dl, dl
je 0x503ff0
xor cl, 1
mov byte [esi + 0x11], cl
cmp dword [esi + 0x18], 0
je 0x504004
mov dl, 1
mov eax, dword [esi + 0x18]
call fcn.00420f7c
test al, al
jne 0x504008
xor ebx, ebx
jmp 0x50400a
mov bl, 1
cmp dword [esi + 0x1c], 0
je 0x50401e
mov dl, 1
mov eax, dword [esi + 0x1c]
call fcn.00420f7c
test al, al
jne 0x504022
xor eax, eax
jmp 0x504024
mov al, 1
or bl, byte [esi + 0x11]
jne 0x50402d
test al, al
je 0x504060
test al, al
je 0x504049
mov eax, dword [esi + 0x1c]
call fcn.00501038
mov eax, dword [esi + 4]
push eax
call sub.user32.dll_DestroyWindow
xor eax, eax
mov dword [esi + 4], eax
jmp 0x50407e
cmp byte [esi + 0x12], 0
jne 0x50407e
mov byte [esi + 0x12], 1
push 0
mov eax, dword [esi + 4]
push eax
call sub.user32.dll_ShowWindow
jmp 0x50407e
cmp byte [esi + 0x12], 0
je 0x50407e
mov byte [esi + 0x12], 0
push 5
mov eax, dword [esi + 4]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi + 4]
push eax
call sub.user32.dll_SetForegroundWindow
pop esi
pop ebx
ret
Function at 0x5041d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x41]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407820
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x504207
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00503fd8
mov dword [ebp - 0x41], 0x3c
mov dword [ebp - 0x3d], 0x540
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x39], eax
cmp byte [ebp + 8], 0
je 0x504234
call fcn.00500940
test al, al
je 0x504234
mov eax, 0x504340
mov dword [ebp - 0x35], eax
jmp 0x50423c
mov eax, 0x50434c
mov dword [ebp - 0x35], eax
mov eax, ebx
call fcn.0040ac78
mov dword [ebp - 0x31], eax
mov eax, esi
call fcn.0040ac78
mov dword [ebp - 0x2d], eax
mov eax, dword [ebp + 0x18]
call fcn.0040ac78
mov dword [ebp - 0x29], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x25], eax
lea eax, [ebp - 0x41]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x504303
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc], edx
xor eax, eax
push ebp
push 0x5042fc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x14], 0
je 0x5042e5
jmp 0x5042b7
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x5042b0
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00503fd8
push 0x64
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 4]
call fcn.00503ef8
test al, al
je 0x5042d5
push 0
mov eax, dword [ebp - 9]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x50429b
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov eax, dword [ebp - 9]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50430e
mov eax, dword [ebp - 9]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
call sub.kernel32.dll_GetLastError_2
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x504323
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00503fd8
lea eax, [ebp - 0x41]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407820
movzx eax, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5010f4
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5011dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [0x515834], al
mov ecx, dword [ebx + 0x398]
mov dl, 1
mov eax, dword [0x4ee878]
call fcn.004eeb60
mov esi, eax
mov dword [ebx + 0x3d0], esi
mov byte [esi + 0x10], 1
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x13], 0
lea eax, [ebp - 0x10]
mov edx, 2
mov cl, 1
call fcn.00425534
lea ecx, [ebp - 0x10]
mov edx, 0x5011f0
mov eax, dword [esi + 4]
call fcn.004d589c
mov ecx, dword [ebx + 0x39c]
mov dl, 1
mov eax, dword [0x4ee878]
call fcn.004eeb60
mov esi, eax
mov dword [ebx + 0x3d4], esi
mov ebx, esi
mov byte [ebx + 0x10], 1
mov byte [ebx + 0x12], 0
mov byte [ebx + 0x11], 0
mov byte [ebx + 0x13], 0
lea eax, [ebp - 0x20]
mov edx, 2
mov cl, 1
call fcn.00425534
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 4]
mov edx, 0x501234
call fcn.004d589c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5011e3
lea eax, [ebp - 0x20]
mov edx, dword [0x401288]
mov ecx, 2
call fcn.004078f8
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6bee1de2
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x69a27ea4
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402200
Capabilities:
Log keystrokes via polling

Disassembly:
test byte [esp + 0xc], 0xc
push ebx
push esi
push edi
push ebp
je 0x402244
push 0xd
xor esi, esi
call fcn.00404bdb
add esp, 4
mov dword [0x411314], esi
mov dword [0x4173d4], 1
call fcn.004011a0
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, 1
pop ebp
pop edi
mov dword [0x417414], esi
pop esi
pop ebx
ret
cmp dword [0x411314], 0
jne 0x402265
mov dword [0x411314], 1
push 1
push 0
push 0xd
call fcn.00404da4
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp ecx, 0x7f00
jne 0x40227d
cmp edx, 0x7f00
je 0x40228d
mov eax, dword [0x41464c]
mov dword [eax + 4], ecx
mov eax, dword [0x41464c]
mov dword [eax + 8], edx
mov ecx, 1
cmp dword [0x414648], ecx
jbe 0x402304
mov edx, 0x28
xor esi, esi
mov eax, dword [0x41464c]
add eax, edx
cmp dword [eax], esi
je 0x4022f8
dec dword [eax + 0x1c]
mov eax, dword [0x41464c]
add eax, edx
cmp dword [eax + 0x1c], esi
jne 0x4022f8
inc dword [eax + 0x18]
mov edi, dword [0x41464c]
add edi, edx
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 0x18]
cmp dword [eax + 4], ebx
ja 0x4022ec
mov dword [edi + 0x18], esi
xor edi, edi
mov ebx, dword [0x41464c]
add ebx, edx
mov ebp, dword [ebx + 0x14]
mov eax, dword [ebp + 0xc]
mov di, word [eax]
mov dword [ebx + 0x1c], edi
jmp 0x4022f8
mov eax, dword [eax + 0xc]
xor ebp, ebp
mov bp, word [eax + ebx*2]
mov dword [edi + 0x1c], ebp
add edx, 0x28
inc ecx
cmp ecx, dword [0x414648]
jb 0x4022a1
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402ac0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10c
cmp byte [0x4108f0], 0
push esi
push edi
jne 0x402c74
call fcn.004073c0
test al, al
je 0x402ae3
call fcn.00407643
mov esi, 1
call fcn.004060e1
cmp dword [0x4108f4], 0
je 0x402b20
push 0
mov eax, dword [0x4173e4]
push 0x402770
mov ecx, dword [0x417424]
push eax
push 0x8a
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, esi
jne 0x402b20
call fcn.00402c90
mov esi, eax
test esi, esi
je 0x402c74
lea eax, [esp + 0x10]
push eax
push 0x410fd0
push 0x4144b8
call fcn.00402a20
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
add esp, 0xc
push eax
push 0x4144b8
push 0x104
push ecx
push str.Load_Air_Guitar_File
call fcn.004027b0
add esp, 0x14
test eax, eax
je 0x402c74
cmp dword [esp + 8], 0
jne 0x402c74
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
push 0x4144b8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov esi, eax
je 0x402c62
lea eax, [esp + 0xc]
push 0
push eax
push 0x1804
push 0x412ca0
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402bc9
push 0x4144b8
push str.Unable_to_load__s
call fcn.00405fe6
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x412ca0], 0x47524941
je 0x402beb
push 0x4144b8
push str._s_is_not_a_valid_Air_Guitar_file
jmp 0x402c6c
mov esi, 0x412ca0
mov edi, 0x414650
mov ecx, 0x601
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, 0xff
mov word [0x410f64], ax
cmp byte [0x414654], cl
mov word [0x410f70], ax
je 0x402c46
xor eax, eax
mov ax, word [0x410f64]
mov ax, word [eax + eax*2 + 0x414655]
add word [0x410f70], ax
xor eax, eax
inc word [0x410f64]
mov ax, word [0x410f64]
cmp byte [eax + eax*2 + 0x414654], cl
jne 0x402c17
mov ax, word [0x410f70]
mov word [0x410f6c], ax
xor eax, eax
mov word [0x410f68], ax
mov word [0x410f80], ax
jmp 0x402c74
push 0x4144b8
push str.Unable_to_open__s
call fcn.00405fe6
add esp, 8
mov eax, dword [0x41464c]
mov dword [eax + 0x28], 0
call fcn.004061d9
pop edi
pop esi
add esp, 0x10c
ret

Function at 0x402c90
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
push edi
xor esi, esi
cmp byte [0x4108f0], 0
jne 0x402d60
call fcn.004073c0
test al, al
je 0x402cb2
call fcn.00407643
call fcn.004060e1
lea eax, [esp + 8]
push eax
push 0x104
push 0x4144b8
push str.Save_Air_Guitar_File
call fcn.004028e0
add esp, 0x10
test eax, eax
je 0x402d60
cmp dword [esp + 8], 0
jne 0x402d60
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0xc0000000
push 0x4144b8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov edi, eax
je 0x402d4e
lea eax, [esp + 0xc]
push 0
push eax
push 0x1804
push 0x414650
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402d36
push 0x4144b8
push str.Unable_to_save__s
call fcn.00405fe6
add esp, 8
jmp 0x402d45
mov dword [0x4108f4], 0
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402d60
push 0x4144b8
push str.Unable_to_save__s
call fcn.00405fe6
add esp, 8
mov eax, dword [0x41464c]
mov dword [eax + 0x50], 0
call fcn.004061d9
mov eax, esi
pop edi
pop esi
add esp, 8
ret