joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b60c8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, eax
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
mov ebx, eax
shl ebx, 0x10
test ebx, ebx
je 0x6b6108
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextA
test eax, eax
jle 0x6b6108
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404ef4
jmp 0x6b6114
mov eax, esi
mov edx, 0x6b6128
call fcn.00404cd0
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x6c6bcc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0045f868
test al, al
je 0x6c6d21
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0045f564
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetUpdateRect
test eax, eax
je 0x6c6c38
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x6c6c38
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.006c3f40
jmp 0x6c6d21
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6c6d0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x14]
push edi
mov esi, dword [ebp - 0x18]
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
push 0
push 0
push 0x85
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0
mov ebx, dword [ebp - 0xc]
push ebx
push 0x14
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0
push ebx
push 0xf
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push edi
push esi
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c6d16
cmp dword [ebp - 0xc], 0
je 0x6c6cf2
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
cmp dword [ebp - 0x10], 0
je 0x6c6d01
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ReleaseDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6cfc00
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
lea edi, [ebp - 0x1d]
xor edx, edx
push ebp
push 0x6cfe42
push dword fs:[edx]
mov dword fs:[edx], esp
mov bl, 1
jmp 0x6cfe07
test bl, bl
jne 0x6cfc2a
call sub.user32.dll_WaitMessage
xor ebx, ebx
jmp 0x6cfde6
mov eax, dword [edi + 4]
cmp eax, 0x105
jg 0x6cfc60
je 0x6cfcee
sub eax, 0xa0
je 0x6cfd31
dec eax
sub eax, 9
jb 0x6cfd11
sub eax, 0x5a
je 0x6cfc7a
jmp 0x6cfdad
sub eax, 0x200
je 0x6cfd31
dec eax
sub eax, 9
jb 0x6cfd11
jmp 0x6cfdad
mov eax, dword [edi + 8]
cmp eax, 0x12
je 0x6cfdad
cmp eax, 0x10
je 0x6cfdad
cmp eax, 0x19
je 0x6cfdad
mov byte [ebp - 1], 0
test byte [edi + 0xe], 0xff
je 0x6cfccb
mov esi, 0x60
push 0
push esi
call sub.user32.dll_MapVirtualKeyA
mov dx, word [edi + 0xe]
and dx, 0xff
movzx edx, dx
cmp eax, edx
jne 0x6cfcc5
mov byte [ebp - 1], 1
jmp 0x6cfccb
inc esi
cmp esi, 0x6a
jne 0x6cfca7
cmp byte [ebp - 1], 0
jne 0x6cfdad
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, byte [0x6cfe50]
mov byte [eax + 0x34], dl
call fcn.004046a4
jmp 0x6cfe49
cmp dword [edi + 8], 0x12
jne 0x6cfdad
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, byte [0x6cfe50]
mov byte [eax + 0x34], dl
call fcn.004046a4
jmp 0x6cfe49
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.0045f564
cmp eax, dword [edi]
je 0x6cfdad
call fcn.004046a4
jmp 0x6cfe49
call sub.user32.dll_GetCapture
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 8]
jne 0x6cfd5f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.0045f564
lea edx, [edi + 0x14]
call fcn.006cfb84
test al, al
je 0x6cfd8e
call sub.user32.dll_ReleaseCapture
jmp 0x6cfd8e
call sub.user32.dll_GetCapture
test eax, eax
jne 0x6cfd8e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.0045f564
lea edx, [edi + 0x14]
call fcn.006cfb84
test al, al
jne 0x6cfd8e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.user32.dll_SetCapture
call sub.user32.dll_GetCapture
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 8]
jne 0x6cfdad
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
push 3
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x6cfde6
mov eax, dword [edi + 4]
cmp eax, 0x200
jb 0x6cfdda
cmp eax, 0x20a
ja 0x6cfdda
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp eax, dword [edi]
je 0x6cfde6
push edi
call sub.user32.dll_TranslateMessage
push edi
call sub.user32.dll_DispatchMessageA
push ebp
call fcn.006cfbb8
pop ecx
test al, al
je 0x6cfe07
push 0
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x6cfc31
push ebp
call fcn.006cfbb8
pop ecx
test al, al
jne 0x6cfc21
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cfe49
mov edx, 0x103
mov eax, 0x102
call fcn.006ad440
mov edx, 0x107
mov eax, 0x106
call fcn.006ad440
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6eea18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6eec78
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x6eea7b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.006ee4e0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.00410bd4
cmp al, 1
jne 0x6eea7b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.006ee7f8
test al, al
je 0x6eec07
cmp dword [ebp - 8], 0
jge 0x6eea99
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.006ee4e0
mov eax, dword [ebp - 0x210]
call fcn.00404f44
cmp ebx, eax
jge 0x6eeae3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.006ee4e0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x98ab1c]
and eax, 0xff
bt dword [edx], eax
jae 0x6eeae3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x6eeaf7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006ee9f4
cmp ebx, dword [ebp - 8]
je 0x6eebf9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x6eeb23
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404028
and eax, 0x7f
movzx eax, word [eax*2 + 0x987540]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x6eebe6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404028
and eax, 0x7f
movzx eax, word [eax*2 + 0x987540]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045f564
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404028
and eax, 0x7f
movzx eax, word [eax*2 + 0x987540]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045f564
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eebed
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x6eec5a
cmp dword [ebp - 8], 0
jge 0x6eec12
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.006ee4e0
mov eax, dword [ebp - 0x218]
call fcn.00404f44
cmp eax, dword [ebp - 8]
jg 0x6eec4c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.006ee4e0
mov eax, dword [ebp - 0x21c]
call fcn.00404f44
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006ee9f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eec7f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404ca0
ret
Function at 0x6fed4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, edx
mov esi, eax
mov ebx, esi
lea eax, [esp + 4]
push eax
push 0x40
push 5
mov edi, ebx
push edi
call sub.kernel32.dll_VirtualProtect
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x6fed79
call fcn.00411854
mov byte [ebx], 0xe9
mov eax, ebp
sub eax, esi
sub eax, 5
mov edx, eax
and dl, 0xff
mov byte [ebx + 1], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov byte [ebx + 2], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov byte [ebx + 3], dl
shr eax, 0x18
and al, 0xff
mov byte [ebx + 4], al
push esp
mov eax, dword [esp + 8]
push eax
push 5
push edi
call sub.kernel32.dll_VirtualProtect
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x6fedc6
call fcn.00411854
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x71cec8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0045f564
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x265], 0
xor edx, edx
mov eax, ebx
call fcn.00458bcc
pop ebx
ret
Function at 0x71f190
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x71f22e
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x987b7c]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x987b7c]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x987b7c]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x987b7c]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x71f1af
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x71f244
dec edx
je 0x71f279
jmp 0x71f2ca
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x987b7c]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x987b7c]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x71f2ca
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x987b7c]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x987b7c]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x987b7c]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x720094
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x7200b4
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x7200a2
pop edi
pop esi
pop ebx
ret
Function at 0x781edc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x781f8a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x781f65
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x781f17
lea eax, [ebp - 4]
mov edx, 0x781fa0
call fcn.00404d14
jmp 0x781f24
lea eax, [ebp - 4]
mov edx, 0x781fbc
call fcn.00404d14
push 5
push 0
mov eax, dword [ebp - 4]
call fcn.0040513c
push eax
lea edx, [ebp - 8]
mov eax, dword [0x98a420]
mov eax, dword [eax]
call fcn.0047b584
mov eax, dword [ebp - 8]
call fcn.0040513c
push eax
push 0x781fd4
mov eax, ebx
call fcn.0045f564
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x781f6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x781f91
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ca0
ret
Function at 0x79dfa8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040512c
mov eax, dword [ebp - 8]
call fcn.0040512c
xor eax, eax
push ebp
push 0x79e099
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x79e06c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x79e0b0
call fcn.00404d14
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404d14
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00405594
mov eax, dword [ebp - 0x14]
call fcn.008b4aa0
test al, al
je 0x79e062
cmp dword [ebp - 8], 0
je 0x79e037
push dword [ebp - 0x10]
push 0x79e0c0
push dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405004
push 3
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040513c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040513c
push eax
push 0x79e0c4
mov eax, dword [0x99b264]
call fcn.0079b278
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x79e076
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79e0a0
lea eax, [ebp - 0x14]
call fcn.004053b0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404ca0
ret
Function at 0x7db140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
push ebp
push 0x7db1b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc]
mov ax, word [eax*2 + 0x988fc0]
mov edx, dword [ebp + 8]
movzx edx, byte [edx + 0x14]
or ax, word [edx*2 + 0x988fbc]
or ax, 1
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
sete dl
and edx, 0x7f
or ax, word [edx*2 + 0x988fc4]
movzx eax, ax
push eax
push 0
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x38]
mov eax, dword [0x98a420]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
xor eax, eax
call fcn.0048a7f4
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7db1be
ret
Function at 0x805454
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, eax
cmp byte [ebx + 0x42a], 0
je 0x80566c
xor edx, edx
push ebp
push 0x805662
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x468], 0
xor eax, eax
mov dword [ebx + 0x460], eax
mov dword [ebx + 0x464], 0xbff00000
cmp byte [ebx + 0x42a], 0
je 0x8054d7
mov eax, dword [ebx + 0x328]
cmp byte [eax + 0x57], 0
je 0x8054d7
mov eax, 0xa
call fcn.008ae474
mov edx, dword [ebx + 0x2fc]
mov edx, dword [edx + 0x4c]
mov ecx, dword [ebx + 0x328]
sub edx, dword [ecx + 0x4c]
sub edx, eax
cmp edx, dword [ebp + 8]
jg 0x8054d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x80566c
cmp byte [ebx + 0x42a], 0
je 0x805658
cmp si, 1
je 0x8054f4
cmp si, 2
jne 0x805658
mov eax, dword [ebx + 0x438]
mov edx, dword [ebx + 0x43c]
push edx
push eax
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test edx, edx
jge 0x80551d
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x80552f
cmp eax, 0x1f4
jbe 0x805658
jmp 0x805535
jle 0x805658
mov eax, dword [0x98a548]
mov eax, dword [eax]
mov eax, dword [eax + 0x7d8]
call fcn.008db6a4
cmp eax, 1
jne 0x80558b
cmp byte [ebx + 0x40f], 0
jne 0x80558b
mov eax, dword [0x98a548]
mov eax, dword [eax]
mov eax, dword [eax + 0x7d8]
cmp byte [eax + 0xa54], 0
je 0x805578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x80566c
mov eax, ebx
call fcn.00800244
mov eax, ebx
call fcn.00800050
jmp 0x805658
cmp eax, 3
jne 0x8055d3
call sub.kernel32.dll_GetTickCount
xor edx, edx
mov dword [ebx + 0x438], eax
mov dword [ebx + 0x43c], edx
mov eax, ebx
call fcn.00809088
mov eax, dword [ebx + 0x324]
mov dword [eax + 0xc], 1
mov edx, 0xfa
call fcn.0044b198
mov eax, dword [ebx + 0x324]
mov dl, 1
call fcn.0044b188
jmp 0x805658
cmp eax, 2
je 0x8055dd
cmp eax, 1
jne 0x80561e
mov dword [ebx + 0x438], 0
mov dword [ebx + 0x43c], 0
mov eax, ebx
call fcn.00809088
mov eax, dword [ebx + 0x324]
mov dword [eax + 0xc], 2
mov edx, 0xfa
call fcn.0044b198
mov eax, dword [ebx + 0x324]
mov dl, 1
call fcn.0044b188
jmp 0x805658
mov dword [ebx + 0x438], 0
mov dword [ebx + 0x43c], 0
mov eax, ebx
call fcn.00809088
mov eax, dword [ebx + 0x324]
xor edx, edx
mov dword [eax + 0xc], edx
xor edx, edx
call fcn.0044b198
mov eax, dword [ebx + 0x324]
xor edx, edx
call fcn.0044b188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x80566c
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x813814
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x813877
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x813837
mov ebx, 1
jmp 0x81385c
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0040bf88
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.008137d0
mov eax, dword [ebp - 4]
call fcn.0040513c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x81387e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ca0
ret

Function at 0x813984
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040512c
mov eax, dword [ebp - 8]
test eax, eax
je 0x8139b0
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x813a4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 4]
call fcn.008137d0
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
call fcn.00404d14
push 1
call sub.kernel32.dll_SetErrorMode
mov esi, eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
call fcn.0040513c
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x813a28
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404ef4
push esi
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x813a56
lea eax, [ebp - 0x114]
call fcn.00404c7c
lea eax, [ebp - 4]
call fcn.00404c7c
ret

Function at 0x81534c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x815407
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00813900
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040513c
mov ebx, eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0040513c
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
push ebp
push 0x8153ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00815418
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6a], 0
je 0x8153c7
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0040513c
push eax
push ebx
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8153f1
mov eax, dword [ebp - 4]
add eax, 0xa4
call fcn.00404c7c
mov eax, dword [ebp - 0xc]
call fcn.0040bdb4
ret
Function at 0x81ddac
Capabilities:
Find taskbar

Disassembly:
push ebx
mov ebx, eax
push 0xffffffffffffffff
push ebx
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041fa04
push 0
push 0x81dddc
call sub.user32.dll_FindWindowA
test eax, eax
je 0x81ddd7
push ebx
push eax
call sub.user32.dll_GetWindowRect
pop ebx
ret

Function at 0x81ddc0
Capabilities:
Find taskbar

Disassembly:
push ebx
mov ebx, eax
push 0xffffffffffffffff
push ebx
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041fa04
push 0
push 0x81dddc
call sub.user32.dll_FindWindowA
test eax, eax
je 0x81ddd7
push ebx
push eax
call sub.user32.dll_GetWindowRect
pop ebx
ret

Function at 0x834334
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 0x834385
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x83436c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x83435c
jmp 0x834385
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 0x83436d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x86798c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004059c8
lea eax, [ebp - 8]
call fcn.004059c8
xor eax, eax
push ebp
push 0x867a2c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x867a07
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x867914
mov eax, dword [ebp - 8]
call fcn.00405610
push eax
mov eax, dword [ebp - 4]
call fcn.00405610
push eax
call sub.kernel32.dll_CopyFileExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x867a11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x867a33
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053c8
ret

Function at 0x86c6e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040512c
xor eax, eax
push ebp
push 0x86c7a0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x86c76d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4600
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040513c
push eax
call sub.shell32.dll_SHGetFileInfoA
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x15c]
mov ecx, 0x104
call fcn.00404ef4
mov eax, dword [ebp - 0x16c]
mov edx, dword [ebp - 8]
call fcn.0040b254
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x86c77f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x86c7a7
lea eax, [ebp - 0x16c]
call fcn.00404c7c
lea eax, [ebp - 4]
call fcn.00404c7c
ret