joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012e0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401360
mov cl, byte [esi + 1]
mov edx, esi
inc esi
test cl, cl
je 0x401304
cmp cl, 0x22
jne 0x4012f5
xor eax, eax
cmp cl, 0x22
sete al
lea esi, [eax + 1]
mov al, byte [esi + edx]
add esi, edx
test al, al
jle 0x401324
cmp al, 0x20
ja 0x401324
mov al, byte [esi + 1]
inc esi
test al, al
jg 0x401318
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
movzx eax, word [ebp - 0x14]
jne 0x401344
mov eax, 0xa
push eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov ecx, eax
call fcn.00402ec0
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test al, al
js 0x401368
cmp al, 0x20
jle 0x401314
mov al, byte [esi + 1]
inc esi
jmp 0x401360
Function at 0x401fa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0xc], eax
push edi
mov edi, edx
mov dword [ebp - 4], edi
test eax, eax
jne 0x401fc1
lea eax, [ecx - 0x2b]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test esi, esi
jle 0x401fe4
nop dword [eax + eax]
mov eax, dword [ecx + 8]
lea ebx, [ecx + 4]
add eax, dword [ebx]
cmp edi, eax
jb 0x401ff7
dec esi
add ecx, 0x14
test esi, esi
jg 0x401fd0
mov edx, dword [ebp + 8]
xor eax, eax
cmp eax, edx
sbb eax, eax
and eax, 0xffffffd9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
nop dword [eax]
test edx, edx
je 0x4020ee
mov eax, dword [ebx]
mov ecx, edi
sub ecx, dword [ebx + 4]
mov edi, edx
sub eax, ecx
cmp eax, edx
cmovbe edi, eax
add ecx, dword [ebx + 8]
cmp dword [ebx - 4], 0
je 0x402035
mov eax, dword [ebx + 0xc]
push edi
add eax, ecx
push eax
push dword [ebp + 0xc]
call fcn.00404630
add esp, 0xc
jmp 0x402089
cmp dword [ebp + 0xc], 0
je 0x4020e2
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x10]
push 0
push edx
push ecx
mov eax, dword [eax]
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40206b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4020ab
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x4020b7
cmp eax, edi
jne 0x4020b7
mov edx, dword [ebp - 8]
dec esi
add dword [ebp - 4], edi
sub edx, edi
add dword [ebp + 0xc], edi
add ebx, 0x14
mov dword [ebp - 8], edx
test esi, esi
jle 0x401fe7
mov edi, dword [ebp - 4]
jmp 0x402000
mov eax, 0xffffffd8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4020d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4020d6
cmp eax, 0x26
je 0x4020d6
mov eax, 0xffffffdc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffd9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4026e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
jne 0x402797
mov esi, dword [ebp + 8]
test esi, esi
jne 0x40270a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
test eax, eax
jne 0x402738
push 0x4000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 4], eax
test eax, eax
jne 0x402738
mov eax, 0xffffff94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4000
push 0
push eax
call fcn.00404660
add esp, 0xc
cmp esi, 0x4000
jbe 0x402780
push dword [ebx + 4]
mov edx, edi
mov ecx, ebx
push 0x4000
call fcn.004026e0
add esp, 8
test eax, eax
jne 0x4027f3
sub esi, 0x4000
add edi, 0x4000
cmp esi, 0x4000
ja 0x402750
push dword [ebx + 4]
mov edx, edi
mov ecx, ebx
push esi
call fcn.004026e0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4027cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4027cb
mov eax, 0xffffffd8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
lea eax, [esp + 0x14]
push 0
push eax
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4027ee
cmp dword [esp + 0x14], esi
je 0x402701
mov eax, 0xffffffdc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404410
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push 0
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
sub esp, 8
lea ecx, [ebp - 0xc]
mov ebx, eax
mov edx, edi
mov dword [ebp - 4], ebx
call fcn.00401440
add esp, 8
test eax, eax
jne 0x4044ec
mov edi, dword [ebp - 0xc]
lea edx, [ebp - 0x128]
push ecx
mov ecx, edi
call fcn.00401ae0
add esp, 4
test eax, eax
jne 0x404480
cmp dword [ebp - 0xb4], 4
jle 0x404480
cmp dword [ebp - 0x8c], eax
jbe 0x404480
mov eax, dword [ebp - 0x90]
test eax, eax
cmovne ebx, eax
mov dword [ebp - 4], ebx
test edi, edi
je 0x4044e9
mov ecx, edi
call fcn.00401810
mov ebx, dword [edi]
test ebx, ebx
je 0x4044d6
mov ecx, ebx
call fcn.00401cd0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4044af
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4044c6
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
push 0
push 0
lea eax, [ebx - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x10]
push eax
push 0x20
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40451c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 0x4b536d6b
jne 0x40456a
mov edx, dword [ebp - 0x18]
test esi, esi
je 0x404561
cmp edx, 2
jne 0x40454e
movups xmm0, xmmword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov dword [esi], eax
mov eax, edx
mov dword [esi + 4], 0
movups xmmword [esi + 8], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 4], ecx
mov dword [esi], eax
movups xmmword [esi + 8], xmm0
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404580
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x10000
push 0
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x40461d
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
test ebx, ebx
je 0x404603
mov edx, 0x10000
push esi
mov esi, ebx
lea ecx, [ebp - 0xc]
sub esi, edi
push 0
cmp esi, 0x10000
push ecx
cmova esi, edx
push esi
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4045ff
push 0
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4045ff
mov eax, dword [ebp - 4]
add edi, esi
mov edx, 0x10000
cmp edi, ebx
jb 0x4045b8
mov eax, dword [ebp - 4]
pop esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp edi, ebx
pop edi
sbb eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x403824
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x465020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40389c
xor eax, eax
push ebp
push 0x403895
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4038d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40389c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x465020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x465020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046d0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x467048], 0
je 0x404731
cmp word [0x46721c], 0xd7b2
jne 0x4046f9
cmp dword [0x467224], 0
jbe 0x4046f9
mov eax, 0x467218
call dword [0x467234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404758
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46502c], 0
jne 0x40474d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405c10
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e40
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c93
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e40
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c93
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e5c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405d1c
xor eax, eax
push ebp
push 0x405d15
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405a4c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405cfa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405e7c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405cfa
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d1c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405e36
cmp byte [ebp - 0xd], 0
jne 0x405d63
cmp byte [ebp - 0x12], 0
je 0x405e36
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405d7c
dec ebx
cmp byte [ebx], 0x2e
je 0x405d8b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405d7b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405e36
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405dc8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405e36
cmp byte [ebp - 0xd], 0
je 0x405e36
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405e36
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4083d2
test eax, edx
je 0x4083d5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408395
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4083bb
add ecx, 4
js 0x4083ab
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4083b8
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4083e1
test edx, edx
jne 0x408388
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b7d8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b811
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404940
jmp 0x40b81a
mov eax, ebx
mov edx, esi
call fcn.004048a4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b824
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b846
movzx eax, byte [esp]
jmp 0x40b848
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bed8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bd50
mov eax, dword [0x466b1c]
cmp byte [eax], 0
je 0x40bf54
mov eax, dword [0x466938]
call fcn.004031ec
call fcn.00402fac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408f58
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bf9c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bf8a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4668e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4697f4]
call fcn.004059f4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c814
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c8ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048e8
lea eax, [ebp - 4]
call fcn.00404d38
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ce0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c8d4
mov eax, ebx
call fcn.00402e50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c8cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ce0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c8b7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c8fc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c8b7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8d4
mov eax, dword [ebp - 0x10]
call fcn.00402e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8f1
lea eax, [ebp - 4]
call fcn.00404850
ret

Function at 0x41b67c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46b9e8
cmp dword [edi], 0
jne 0x41b6f8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46b9e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x465ad4
mov ecx, 2
call fcn.00403040
mov edx, 0x41b654
lea eax, [esi + 5]
call fcn.0041b674
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b674
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b6cd
mov dword [0x46b9e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41dd68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ce0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41ddc0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x466c34]
mov dl, 1
mov eax, dword [0x41d874]
call fcn.0040c098
call fcn.00404298
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d97c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41ef50
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ef56
ret
Function at 0x42ffa0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404cd0
xor eax, eax
push ebp
push 0x4300d5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4300a8
xor edx, edx
push ebp
push 0x4300a1
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x42ffed
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x430076
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x430065
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x43002c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404ce0
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403040
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43006c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x466890]
mov dl, 1
mov eax, dword [0x4075dc]
call fcn.0040c05c
call fcn.00404298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4300dc
lea eax, [ebp - 4]
call fcn.00404850
ret
Function at 0x4300e4
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43029f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404fd4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4302b8
call fcn.00404b68
mov eax, ebx
call fcn.0041abe8
mov edi, eax
dec edi
test edi, edi
jl 0x43019c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041abbc
mov edx, dword [0x429750]
call fcn.00403bb0
test al, al
je 0x430198
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041abbc
lea edx, [ebp - 0x14]
call fcn.0043f1cc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404fd4
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404be4
inc esi
dec edi
jne 0x43014a
movzx eax, byte [0x4302bc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4302c8
mov eax, dword [ebp - 8]
call fcn.0040d2d8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004048e8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043f1cc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4302b8
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0043f1cc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4302b8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4302b8
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4302d4
call fcn.00409674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4302a6
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404874
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404874
lea eax, [ebp - 0x14]
call fcn.00404850
lea eax, [ebp - 0x10]
call fcn.00404850
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404874
ret