joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46edec
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46ef97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46ef78
mov dl, 1
mov eax, dword [0x41b224]
call fcn.004033ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040424c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46ef67
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045c844
test al, al
je 0x46ef5a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46efa8
lea eax, [ebp - 0x254]
call fcn.00409a70
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46ef5a
xor eax, eax
push ebp
push 0x46ef53
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46efe0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46ef3c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46ef3c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ef5a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46ee5d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f508
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ef9e
lea eax, [ebp - 0x260]
call fcn.0040424c
ret

Function at 0x46f994
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d2be8]
cmp byte [eax + 0xa5], 0
jne 0x46fa05
cmp dword [0x4d2c00], 0
jne 0x46f9c6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46f950
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d2c00], eax
cmp dword [0x4d2bfc], 0
jne 0x46f9e1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d2bfc], eax
cmp dword [0x4d2c04], 0
jne 0x46fa05
push esp
push 0
push 0
push 0x46f8f4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d2c04], eax
pop edx
ret
Function at 0x46fafc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46fb13
add esp, 0xfffffff0
call fcn.00403740
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423368
mov eax, dword [0x4d11c4]
cmp word [eax + 2], 0
jne 0x46fb3b
mov eax, dword [0x4d11c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047127c
mov eax, dword [0x4d12f4]
cmp word [eax + 2], 0
jne 0x46fb55
mov eax, dword [0x4d12f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00471474
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41abc0]
call fcn.004033ec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41abc0]
call fcn.004033ec
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42592c]
call fcn.0042d80c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46fcdc
mov eax, dword [0x4d105c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042dbdc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x471a24
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d105c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d868
test eax, eax
je 0x46fc4a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409450
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d890
test eax, eax
je 0x46fc5e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004044bc
mov eax, dword [0x4d0e6c]
cmp byte [eax], 0
jne 0x46fc92
mov eax, ebx
call fcn.0046fe04
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00471c00
mov eax, ebx
call fcn.004725c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46fcd2
call fcn.00403798
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470084
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d2be8]
cmp dword [eax + 0x30], 0
je 0x47012e
cmp dword [ebx + 0x94], 0
jne 0x470128
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x470014
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x470128
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4700ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x470128
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d170
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4700fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x470c90
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x470cc5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040433c
jmp 0x470cd2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x471ddc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x471e1d
mov eax, esi
call fcn.00457de8
test al, al
je 0x471e1d
mov eax, dword [ebx + 0x84]
call fcn.00457ae4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x471e1d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00457ae4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x48f264
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x48f289
cmp dword [esp + 4], 5
jb 0x48f289
mov al, 1
jmp 0x48f28b
xor eax, eax
add esp, 0x94
ret
Function at 0x4a01e0
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 0x4a0440
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a0243
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049fcf8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d3dc
cmp al, 1
jne 0x4a0243
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049ffc0
test al, al
je 0x4a03cf
cmp dword [ebp - 8], 0
jge 0x4a0261
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.0049fcf8
mov eax, dword [ebp - 0x210]
call fcn.0040450c
cmp ebx, eax
jge 0x4a02ab
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049fcf8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4d14f0]
and eax, 0xff
bt dword [edx], eax
jae 0x4a02ab
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4a02bf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a01bc
cmp ebx, dword [ebp - 8]
je 0x4a03c1
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 0x4a02eb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403618
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d0844]
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 0x4a03ae
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403618
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d0844]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00457ae4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403618
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d0844]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00457ae4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a03b5
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 0x4a0422
cmp dword [ebp - 8], 0
jge 0x4a03da
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049fcf8
mov eax, dword [ebp - 0x218]
call fcn.0040450c
cmp eax, dword [ebp - 8]
jg 0x4a0414
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049fcf8
mov eax, dword [ebp - 0x21c]
call fcn.0040450c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a01bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0447
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404270
ret
Function at 0x4a623c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4a6254
push 5
mov eax, ebx
call fcn.00457ae4
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.00457ae4
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4acc6c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, dword [esp]
call fcn.0040450c
mov edx, eax
mov eax, ebp
call fcn.00404898
mov eax, dword [esp]
call fcn.0040450c
mov edi, eax
test edi, edi
jle 0x4accd0
mov ebx, 1
mov eax, ebp
call fcn.00404764
mov edx, dword [esp]
mov dl, byte [edx + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x4acc9c
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4accd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.0040450c
mov edx, eax
mov eax, dword [esp]
call fcn.00404898
mov eax, edi
call fcn.0040450c
mov ebp, eax
test ebp, ebp
jle 0x4acd37
mov ebx, 1
mov eax, dword [esp]
call fcn.00404764
mov dl, byte [edi + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [edi + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x4acd07
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4b4168
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov ebx, eax
mov al, byte [0x4d2dbb]
or al, byte [0x4d2dbe]
je 0x4b41ce
push 0x4b423c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4b41c7
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebx], 0x40
push 0x4b424c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
push ebx
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4234
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4440
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b4518
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [ebp - 0xc]
mov eax, esi
cmp eax, 0x7d0
jg 0x4b4487
je 0x4b44c8
sub eax, 0x182
je 0x4b449e
sub eax, 0x64
je 0x4b44ac
sub eax, 0x64
je 0x4b44ba
jmp 0x4b44f5
sub eax, 0xbb8
je 0x4b44c8
sub eax, 0x3e8
je 0x4b44c8
sub eax, 0x42a8
je 0x4b44e7
jmp 0x4b44f5
mov eax, ebx
mov edx, 0x4b4530
call fcn.004042a0
jmp 0x4b4502
mov eax, ebx
mov edx, 0x4b4544
call fcn.004042a0
jmp 0x4b4502
mov eax, ebx
mov edx, 0x4b4558
call fcn.004042a0
jmp 0x4b4502
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00408de8
mov ecx, dword [ebp - 0x28]
mov eax, ebx
mov edx, 0x4b4570
call fcn.00404558
jmp 0x4b4502
mov eax, ebx
mov edx, 0x4b4580
call fcn.004042a0
jmp 0x4b4502
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.00408de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b451f
lea eax, [ebp - 0x28]
call fcn.0040424c
ret

Function at 0x4b4708
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4b477f
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4b4769
xor edi, edi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
call sub.kernel32.dll_GetEnvironmentStringsA
mov ebx, eax
test ebx, ebx
je 0x4b475f
mov edi, ebx
jmp 0x4b475a
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00409600
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.00409414
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4b473c
test edi, edi
je 0x4b4769
push edi
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4786
lea eax, [ebp - 4]
call fcn.0040424c
ret

Function at 0x4bb93c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004276e4
cmp ebx, dword [ebp - 8]
jge 0x4bb99f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427b1c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427b1c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427b48
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4bb965
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4bb9a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004276e4
cmp ebx, dword [ebp - 8]
jge 0x4bba0b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427b1c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427b1c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427b48
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4bb9d1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x54d09b
Capabilities:
Encode data using xor

Disassembly:
clc
add dl, dl
call fcn.0050d990
fcomp dword [ebp - 0x5226a1f2]
mov dword [0x613d02ed], eax
nop
mov dword [0x7ab70fea], eax
adc dh, byte [ebx - 0x79]
dec eax
or dword [eax], esi
dec esp
mov byte [0x85024692], al
lahf
ror byte [edi + 0x19250c24], cl
inc edx
pushal
mov al, byte [0xf17fc9a7]
mov edx, 0xa6d4843a
inc esp
call [ebx - 0x47fb01c0]
rcl dword [ecx]
sub dword [ebx], ecx
dec esi
inc esi
xor eax, 0xd36e4991
fild word [ebx - 0x6b]
invalid
Function at 0x1002323
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1005020]
and word [ebp - 0x20c], 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x104
push edi
mov esi, 0x1005048
push esi
push 0
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
push dword [ebp + 0xc]
mov ebx, eax
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp ebx, 5
jb 0x10023a2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x1001258
push esi
call ebx
lea eax, [eax*2 + 0x1005040]
push eax
call fcn.01001e04
test eax, eax
jne 0x10023bb
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10023f8
and word [0x1005048], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01004128
leave
ret 8
push 0x100124c
push esi
call ebx
lea eax, [eax*2 + 0x1005040]
push eax
call fcn.01001e04
test eax, eax
jne 0x10023a2
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.01001bfa
test eax, eax
je 0x10023a2
lea eax, [ebp - 0x20c]
push eax
push edi
push esi
call fcn.01001a40
test eax, eax
jl 0x10023a2
xor eax, eax
inc eax
jmp 0x10023ac
Function at 0x1002af5
Capabilities:
Identify system language via api

Disassembly:
push ebp
lea ebp, [esp - 0x184]
sub esp, 0x204
mov eax, dword [0x1005020]
and word [ebp + 0x80], 0
and word [ebp - 0x80], 0
push edi
mov dword [ebp + 0x180], eax
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp + 0x82]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp - 0x7e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push 0x10013a4
mov edi, 0x80
lea eax, [ebp + 0x80]
push edi
push eax
call fcn.01001e1f
add esp, 0x10
test eax, eax
jge 0x1002b63
xor eax, eax
jmp 0x1002b98
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp + 0x80]
push eax
call esi
test eax, eax
jne 0x1002b97
push 0x1001388
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.01001e1f
add esp, 0xc
test eax, eax
jge 0x1002b91
xor eax, eax
jmp 0x1002b97
lea eax, [ebp - 0x80]
push eax
call esi
pop esi
mov ecx, dword [ebp + 0x180]
pop edi
call fcn.01004128
add ebp, 0x184
leave
ret

Function at 0x1002bac
Capabilities:
Check if file exists
Get file attributes
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1005020]
push edi
push 0x1005048
mov dword [ebp - 4], eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01001a40
test eax, eax
jl 0x1002c80
push esi
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x1002c7f
inc esi
inc esi
push esi
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.01001a40
test eax, eax
jl 0x1002c7f
and word [esi], 0
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push 0x10013ec
lea eax, [ebp - 0x414]
push eax
call fcn.01001e04
test eax, eax
jne 0x1002c7e
mov eax, edi
sub eax, ebx
cmp eax, 0x7fffffff
ja 0x1002c7e
push 0x10013d8
push eax
push esi
call fcn.01001a40
test eax, eax
jl 0x1002c7e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002c7e
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov edi, 0x10013d4
push edi
push 0x10011f8
call esi
push edi
push 0x10013bc
call esi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.01004128
leave
ret