joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465af4
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 [0x4aeef8], 0
je 0x465c43
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x49d20c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x465c43
mov eax, dword [0x4aeefc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4aeef8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x465c12
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4aeef8]
call fcn.00410248
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x465c0a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x465c0a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x465c0a
mov eax, dword [ebp - 0x14]
call fcn.0046e758
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x465c0a
push ebp
call fcn.00465ab0
pop ecx
test al, al
jne 0x465c0a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x465bc6
mov eax, dword [ebp - 0x14]
call fcn.0046d2ec
dec eax
jle 0x465c0a
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.0042b8a4
cmp byte [ebp - 1], 0
je 0x465c0a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x465c0a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4aeefc]
call fcn.00465278
inc edi
dec ebx
jne 0x465b59
mov eax, dword [0x4aeefc]
cmp dword [eax + 8], 0
jle 0x465c2a
mov eax, dword [0x4aeefc]
call fcn.00465308
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x465c43
push ebp
Function at 0x469234
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 0x469280
mov eax, esi
call fcn.004579b4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x469280
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x469280
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 0x4693bf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4692c0
cmp eax, 0x108
ja 0x4692c0
mov eax, esi
call fcn.004579b4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4693b6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4693bf
jmp 0x4693b6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x46939f
cmp eax, 0x20a
ja 0x46939f
test byte [esi + 0x50], 0x80
jne 0x4692f2
sub eax, 0x203
je 0x4692ef
sub eax, 3
je 0x4692ef
sub eax, 3
jne 0x4692f2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x469306
dec eax
je 0x46931b
dec eax
je 0x469338
dec eax
je 0x46931b
jmp 0x46933f
mov ecx, ebx
mov eax, dword [0x49d20c]
mov eax, dword [eax]
mov edx, esi
call fcn.004613a8
jmp 0x4693b6
cmp byte [esi + 0x5d], 1
jne 0x469331
mov eax, esi
mov si, 0xffed
call fcn.0042b8a4
jmp 0x4693bf
or word [esi + 0x54], 1
jmp 0x4693b6
and word [esi + 0x54], 0xfffe
jmp 0x4693b6
mov eax, dword [0x4aeeb4]
cmp byte [eax + 0x20], 0
je 0x4693b6
mov eax, dword [0x4aeeb4]
cmp dword [eax + 0x1c], 0
je 0x4693b6
mov eax, dword [ebx]
mov edx, dword [0x4aeeb4]
cmp eax, dword [edx + 0x1c]
jne 0x4693b6
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.004578f8
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.0042b8a4
jmp 0x4693bf
cmp eax, 0xb00b
jne 0x4693b6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00467b54
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 0x46c988
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 0x46c9a4
cmp dword [esi + 4], 0
je 0x46c9d1
test byte [ebx + 0x55], 1
jne 0x46c9c3
mov eax, ebx
call fcn.0046b5e0
test eax, eax
jne 0x46c9c3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x46cae1
mov edx, esi
mov eax, ebx
call fcn.0046c4a8
jmp 0x46cae1
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 0x46cada
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046e758
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.00469168
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0046c988
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.0046e758
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cae1
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 0x472fc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49d034]
cmp byte [eax + 0xc], 0
je 0x47312d
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473126
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aef08], 0
jne 0x473014
push 0x473134
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x47313c
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef08], eax
cmp dword [0x499650], 0
jne 0x47310f
push 0x47314c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x499650], eax
cmp dword [0x499650], 0
je 0x47310f
push 0x473158
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef0c], eax
push 0x473168
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef10], eax
push 0x47317c
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef14], eax
push 0x473194
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef18], eax
push 0x4731ac
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef1c], eax
push 0x4731c0
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef20], eax
push 0x4731d8
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef24], eax
push 0x4731f0
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef28], eax
push 0x47320c
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef2c], eax
push 0x473218
mov eax, dword [0x499650]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4aef30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47312d
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4774d4
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 0x4775ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aef44], 0
jne 0x477590
lea eax, [ebp - 4]
mov edx, 0x4775c4
call fcn.0042c28c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0042c6a4
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x477590
mov eax, ebx
call fcn.0042a660
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x477589
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 0x477573
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4775d4
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x477573
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4aef44], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477590
mov eax, dword [ebp - 0xc]
call fcn.0042a680
ret
mov ebx, dword [0x4aef44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4775b3
lea eax, [ebp - 4]
call fcn.0042c1f4
ret

Function at 0x48411c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4aef68], 0
jne 0x48413f
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x484090
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4aef68], eax
ret

Function at 0x485ee8
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 0x485f5a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x485f2e
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0042c3e4
jmp 0x485f35
mov eax, ebx
call fcn.0042c1f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485f61
cmp dword [ebp - 8], 0
je 0x485f51
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 0x485f68
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 0x48600a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x485fdd
mov edx, ebx
mov eax, dword [0x44c36c]
call fcn.004503d4
test al, al
je 0x485fcd
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.004502e4
call fcn.0042bf00
jmp 0x486011
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x485f98
mov ecx, dword [0x49d350]
mov dl, 1
mov eax, dword [0x41ae7c]
call fcn.0041e438
call fcn.0042be54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486011
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 0x486018
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 0x486070
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 0x486077
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x486080
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 0x4860d5
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 0x4860dc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x48614c
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 0x4861c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00485e24
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.004503a8
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 0x4861ab
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 0x4861c8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4861d0
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 0x486245
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00485e24
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 0x48622f
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 0x48624c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x48a8a4
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 0x48a8c0
call fcn.0048bd4c
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x48a8dc
test bl, 1
je 0x48a8dc
call fcn.0048fac0
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x48aac0
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.0048b8e8
test byte [ebp + 0xd], 0xc0
jne 0x48aae4
mov eax, dword [0x49a5d4]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x48aaf1
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x48ab1e
je 0x48ab30
sub ecx, 0x100
je 0x48ab3e
sub ecx, 0x100
je 0x48ab45
sub ecx, 0x100
je 0x48ab37
jmp 0x48ab4c
sub ecx, 0x600
je 0x48ab45
sub ecx, 0x100
je 0x48ab30
jmp 0x48ab4c
mov edi, 1
jmp 0x48ab51
mov edi, 2
jmp 0x48ab51
mov edi, 4
jmp 0x48ab51
mov edi, 5
jmp 0x48ab51
mov edi, 3
test byte [ebp + 0xd], 1
je 0x48ab78
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x49a04c]
test al, 0x80
je 0x48ab71
mov ebx, 0x80
jmp 0x48ab8a
mov ebx, 1
jmp 0x48ab8a
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x48ab8a
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x48ab9c
je 0x48aba5
dec eax
je 0x48abae
jmp 0x48abb7
mov dword [ebp - 4], Ordinal_2
jmp 0x48abc6
mov dword [ebp - 4], 0x40000000
jmp 0x48abc6
mov dword [ebp - 4], 0xc0000000
jmp 0x48abc6
push 1
call fcn.0048bce0
pop ecx
mov ebx, eax
jmp 0x48acb6
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x48abe2
sub eax, 0x10
je 0x48abe9
sub eax, 0x10
je 0x48abf2
sub eax, 0x10
je 0x48abfb
jmp 0x48abfb
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x48ac02
mov dword [ebp - 8], 1
jmp 0x48ac02
mov dword [ebp - 8], 2
jmp 0x48ac02
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 0x48ac6f
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x48ac64
test byte [ebp + 0xd], 1
je 0x48ac5f
mov ebx, 0x50
jmp 0x48ac64
mov ebx, 2
push ebx
call fcn.0048bce0
pop ecx
mov ebx, eax
jmp 0x48acb6
mov edi, esi
push edi
call fcn.0048aa24
pop ecx
test eax, eax
je 0x48ac83
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x48ac8f
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0048ba08
add esp, 8
mov ebx, eax
inc eax
jne 0x48acb6
push 4
call fcn.0048bce0
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.0048b91c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48fa58
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x48faba
call fcn.0048fa08
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00489728
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00489728
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x48fb38
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x49b574], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x48fc12
cmp dword [0x49b570], 0
jne 0x48fc12
cmp dword [0x49b754], 0
je 0x48fbcc
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0048f908
add esp, 8
mov ebx, eax
test eax, eax
jne 0x48fbb2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0048f908
add esp, 8
mov ebx, eax
test eax, eax
jne 0x48fbb2
lea ebx, [ebp - 0x84]
jmp 0x48fbb3
inc ebx
call fcn.0048faf4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x48fc4d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x49b578
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00489728
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x49b57b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x48fc4d
cmp dword [0x49b570], 0
je 0x48fc2c
cmp dword [0x49b570], 0xffffffff
je 0x48fc4d
push esi
call dword [0x49b570]
pop ecx
mov eax, dword [0x49b574]
test eax, eax
je 0x48fc4d
cmp dword [0x49b574], 0xffffffff
je 0x48fc4d
cmp byte [eax], 0
je 0x48fc4d
push esi
push eax
call fcn.0048fa58
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490448
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4af800], 0
jne 0x4904c9
cmp dword [0x4af820], 0
jne 0x490478
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4af820], eax
test eax, eax
jne 0x490478
push str.GetEnvironmentStrings_failed
call fcn.0048fc64
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4af820]
jmp 0x49048c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00489728
pop ecx
mov edi, eax
test eax, eax
jne 0x490484
lea edi, [ebp + 1]
push edi
call fcn.00488fdc
pop ecx
mov ebx, eax
mov dword [0x4af804], ebx
test ebx, ebx
jne 0x4904b6
xor eax, eax
jmp 0x49058c
push edi
mov edx, dword [0x4af820]
push edx
push ebx
call fcn.004895a8
add esp, 0xc
jmp 0x4904e9
xor esi, esi
mov ebx, dword [0x4af800]
jmp 0x4904e3
push eax
call fcn.00489728
pop ecx
test eax, eax
jne 0x4904df
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4904d3
lea ebx, [esi + 4]
push 4
mov dword [0x4af808], ebx
inc ebx
push ebx
call fcn.00488ab4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x49050c
xor eax, eax
jmp 0x49058c
cmp dword [0x4af800], 0
jne 0x49053d
xor esi, esi
mov ebx, dword [0x4af804]
mov eax, dword [esp]
mov ebp, eax
jmp 0x49052e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00489728
pop ecx
mov edi, eax
test eax, eax
jne 0x490524
jmp 0x49056e
xor esi, esi
mov ebx, dword [0x4af800]
mov eax, dword [esp]
mov edi, eax
jmp 0x490568
push eax
call fcn.00489728
pop ecx
test eax, eax
je 0x49055d
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x490561
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x49054c
mov eax, dword [0x4af800]
test eax, eax
je 0x49057e
push eax
call fcn.00488fec
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4af800], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4314b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov eax, dword [0x42a278]
mov dword [ebp - 0x28], eax
mov ecx, dword [0x42a27c]
mov dword [ebp - 0x24], ecx
mov edx, dword [0x42a280]
mov dword [ebp - 0x20], edx
mov al, byte [0x42a284]
mov byte [ebp - 0x1c], al
mov dword [ebp - 8], 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], 0
jmp 0x40105a
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jge 0x4010ff
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 8]
jl 0x401075
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov cl, byte [ebp + eax - 0x28]
mov byte [ebp - 0x10], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 3], al
movzx eax, byte [ebp - 3]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 3]
and ecx, 0x8000000f
jns 0x4010ab
dec ecx
or ecx, 0xfffffff0
inc ecx
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 0x10]
movzx eax, byte [ebp - 1]
xor edx, eax
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 0xe]
and ecx, 0x8000000f
jns 0x4010dc
dec ecx
or ecx, 0xfffffff0
inc ecx
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0xd]
shl edx, 4
movzx eax, byte [ebp - 0x11]
add edx, eax
mov byte [ebp - 0xf], dl
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0xf]
mov byte [ecx], dl
jmp 0x401048
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00417e4f
mov esp, ebp
pop ebp
ret