joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c634
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48c7e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0044d5c8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x48c7fc
call fcn.0044d22c
mov eax, ebx
call fcn.00436dd8
mov edi, eax
dec edi
test edi, edi
jl 0x48c6ec
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00436dac
mov edx, dword [0x45735c]
call fcn.0044c568
test al, al
je 0x48c6e8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00436dac
lea edx, [ebp - 0x14]
call fcn.004928c8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0044d5c8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0044d2a0
inc esi
dec edi
jne 0x48c69a
mov al, byte [0x48c800]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x48c80c
mov eax, dword [ebp - 0xc]
call fcn.00440134
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0044cfc0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004928c8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x48c7fc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.004928c8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x48c7fc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x48c7fc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x48c818
call fcn.0043c5dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c7ec
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0044cf4c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0044cf4c
lea eax, [ebp - 0x14]
call fcn.0044cf28
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0044cf4c
ret
Function at 0x490408
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4d0ad0], 0
je 0x490557
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4cf294]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x490557
mov eax, dword [0x4d0ad4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d0ad0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x490526
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d0ad0]
call fcn.0042e9cc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x49051e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x49051e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x49051e
mov eax, dword [ebp - 0x14]
call fcn.00498f58
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x49051e
push ebp
call fcn.004903c4
pop ecx
test al, al
jne 0x49051e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4904da
mov eax, dword [ebp - 0x14]
call fcn.00497aec
dec eax
jle 0x49051e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0044c5d8
cmp byte [ebp - 1], 0
je 0x49051e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x49051e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d0ad4]
call fcn.0048fb8c
inc edi
dec ebx
jne 0x49046d
mov eax, dword [0x4d0ad4]
cmp dword [eax + 8], 0
jle 0x49053e
mov eax, dword [0x4d0ad4]
call fcn.0048fc1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x490557
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0049022c
pop ecx
test al, al
jne 0x490557
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493b48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x493b94
mov eax, esi
call fcn.0047c34c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x493b94
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x493b94
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x493cd3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x493bd4
cmp eax, 0x108
ja 0x493bd4
mov eax, esi
call fcn.0047c34c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x493cca
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x493cd3
jmp 0x493cca
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x493cb3
cmp eax, 0x20a
ja 0x493cb3
test byte [esi + 0x50], 0x80
jne 0x493c06
sub eax, 0x203
je 0x493c03
sub eax, 3
je 0x493c03
sub eax, 3
jne 0x493c06
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x493c1a
dec eax
je 0x493c2f
dec eax
je 0x493c4c
dec eax
je 0x493c2f
jmp 0x493c53
mov ecx, ebx
mov eax, dword [0x4cf294]
mov eax, dword [eax]
mov edx, esi
call fcn.00485dd8
jmp 0x493cca
cmp byte [esi + 0x5d], 1
jne 0x493c45
mov eax, esi
mov si, 0xffed
call fcn.0044c5d8
jmp 0x493cd3
or word [esi + 0x54], 1
jmp 0x493cca
and word [esi + 0x54], 0xfffe
jmp 0x493cca
mov eax, dword [0x4d0a8c]
cmp byte [eax + 0x20], 0
je 0x493cca
mov eax, dword [0x4d0a8c]
cmp dword [eax + 0x1c], 0
je 0x493cca
mov eax, dword [ebx]
mov edx, dword [0x4d0a8c]
cmp eax, dword [edx + 0x1c]
jne 0x493cca
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0047c290
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0044c5d8
jmp 0x493cd3
cmp eax, 0xb00b
jne 0x493cca
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00492468
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x497188
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4971a4
cmp dword [esi + 4], 0
je 0x4971d1
test byte [ebx + 0x55], 1
jne 0x4971c3
mov eax, ebx
call fcn.00495de0
test eax, eax
jne 0x4971c3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4972e1
mov edx, esi
mov eax, ebx
call fcn.00496ca8
jmp 0x4972e1
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4972da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00498f58
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00493a7c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00497188
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00498f58
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4972e1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d804
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cf0b8]
cmp byte [eax + 0xc], 0
je 0x49d971
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49d96a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d0ae0], 0
jne 0x49d858
push 0x49d978
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x49d980
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0ae0], eax
cmp dword [0x4cb578], 0
jne 0x49d953
push 0x49d990
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4cb578], eax
cmp dword [0x4cb578], 0
je 0x49d953
push 0x49d99c
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0ae4], eax
push 0x49d9ac
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0ae8], eax
push 0x49d9c0
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0aec], eax
push 0x49d9d8
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0af0], eax
push 0x49d9f0
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0af4], eax
push 0x49da04
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0af8], eax
push 0x49da1c
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0afc], eax
push 0x49da34
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0b00], eax
push 0x49da50
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0b04], eax
push 0x49da5c
mov eax, dword [0x4cb578]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d0b08], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d971
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a1f94
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a206c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d0b1c], 0
jne 0x4a2050
lea eax, [ebp - 4]
mov edx, 0x4a2084
call fcn.0044cfc0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0044d3d8
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4a2050
mov eax, ebx
call fcn.0044b480
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a2049
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x4a2033
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a2094
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4a2033
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4d0b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2050
mov eax, dword [ebp - 0xc]
call fcn.0044b4a0
ret
mov ebx, dword [0x4d0b1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2073
lea eax, [ebp - 4]
call fcn.0044cf28
ret

Function at 0x4b1ca4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b1d16
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4b1cea
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0044d118
jmp 0x4b1cf1
mov eax, ebx
call fcn.0044cf28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1d1d
cmp dword [ebp - 8], 0
je 0x4b1d0d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4b1d24
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4b1dc6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4b1d99
mov edx, ebx
mov eax, dword [0x470250]
call fcn.00474a5c
test al, al
je 0x4b1d89
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0047496c
call fcn.0044cc34
jmp 0x4b1dcd
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4b1d54
mov ecx, dword [0x4cf488]
mov dl, 1
mov eax, dword [0x43a5e8]
call fcn.0043edac
call fcn.0044cb88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1dcd
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b1dd4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b1e2c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1e33
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4b1e3c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4b1e91
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1e98
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4b1f08
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b1f7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b1be0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00474a30
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4b1f67
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1f84
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4b1f8c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b2001
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b1be0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4b1feb
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2008
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4b7600
call fcn.004b8c6c
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x4b761c
test bl, 1
je 0x4b761c
call fcn.004bc990
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4b7800
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.004b8808
test byte [ebp + 0xd], 0xc0
jne 0x4b7824
mov eax, dword [0x4cc560]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x4b7831
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x4b785e
je 0x4b7870
sub ecx, 0x100
je 0x4b787e
sub ecx, 0x100
je 0x4b7885
sub ecx, 0x100
je 0x4b7877
jmp 0x4b788c
sub ecx, 0x600
je 0x4b7885
sub ecx, 0x100
je 0x4b7870
jmp 0x4b788c
mov edi, 1
jmp 0x4b7891
mov edi, 2
jmp 0x4b7891
mov edi, 4
jmp 0x4b7891
mov edi, 5
jmp 0x4b7891
mov edi, 3
test byte [ebp + 0xd], 1
je 0x4b78b8
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4cbfd8]
test al, 0x80
je 0x4b78b1
mov ebx, 0x80
jmp 0x4b78ca
mov ebx, 1
jmp 0x4b78ca
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4b78ca
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4b78dc
je 0x4b78e5
dec eax
je 0x4b78ee
jmp 0x4b78f7
mov dword [ebp - 4], connect
jmp 0x4b7906
mov dword [ebp - 4], 0x40000000
jmp 0x4b7906
mov dword [ebp - 4], 0xc0000000
jmp 0x4b7906
push 1
call fcn.004b8c00
pop ecx
mov ebx, eax
jmp 0x4b79f6
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4b7922
sub eax, 0x10
je 0x4b7929
sub eax, 0x10
je 0x4b7932
sub eax, 0x10
je 0x4b793b
jmp 0x4b793b
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4b7942
mov dword [ebp - 8], 1
jmp 0x4b7942
mov dword [ebp - 8], 2
jmp 0x4b7942
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x4b79af
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x4b79a4
test byte [ebp + 0xd], 1
je 0x4b799f
mov ebx, 0x50
jmp 0x4b79a4
mov ebx, 2
push ebx
call fcn.004b8c00
pop ecx
mov ebx, eax
jmp 0x4b79f6
mov edi, esi
push edi
call fcn.004b7764
pop ecx
test eax, eax
je 0x4b79c3
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4b79cf
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004b8928
add esp, 8
mov ebx, eax
inc eax
jne 0x4b79f6
push 4
call fcn.004b8c00
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.004b883c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b7e94
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x4b7eb0
call fcn.004b8c6c
jmp 0x4b7f1f
lea edx, [ebp - 0x108]
push edx
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
jne 0x4b7ecc
call fcn.004b8c6c
jmp 0x4b7f1f
cmp dword [0x4d13c4], 1
je 0x4b7f1d
movsx ecx, byte [ebp - 0x108]
push ecx
call fcn.004bc810
pop ecx
cmp al, 0x41
jl 0x4b7f1d
cmp al, 0x5a
jg 0x4b7f1d
cmp byte [ebp - 0x107], 0x3a
jne 0x4b7f1d
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], al
lea eax, [ebp - 0x108]
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push eax
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x4b7f1d
call fcn.004b8c6c
jmp 0x4b7f1f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4b7f24
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [ebp - 0x104], 0x61
jl 0x4b7f53
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffa0
jmp 0x4b7f5d
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x4b7f68
Capabilities:
Get disk information
Query environment variable
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
lea ecx, [ebp - 4]
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x108]
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
mov dl, byte [ebp + 8]
add dl, 0x40
mov byte [ebp - 3], dl
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push 0x104
push edi
push ecx
call sub.KERNEL32.DLL_GetEnvironmentVariableA
test eax, eax
jne 0x4b7fce
mov al, byte [ebp - 3]
mov byte [edi], al
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
push edi
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x4b7fce
call fcn.004b8c6c
jmp 0x4b8009
push edi
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x4b7fde
call fcn.004b8c6c
jmp 0x4b8009
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
mov byte [edi], 0x41
jmp 0x4b8004
push edi
call sub.KERNEL32.DLL_GetDriveTypeA
mov ebx, eax
test eax, eax
je 0x4b8002
cmp ebx, 1
je 0x4b8002
inc dword [esi]
inc byte [edi]
cmp byte [edi], 0x5a
jle 0x4b7fef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret