joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], ecx
xor esi, esi
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
mov eax, dword [edi + ebx + 0x20]
add edi, ebx
add eax, ebx
mov dword [ebp - 0xc], eax
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x1c]
add edx, ebx
add ecx, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
cmp dword [edi + 0x18], esi
jbe 0x404522
nop dword [eax + eax]
mov ecx, dword [eax + esi*4]
movzx eax, word [edx + esi*2]
add ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*4]
xor edx, edx
add eax, ebx
mov dword [ebp - 0x14], eax
adc edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
call fcn.00404610
cmp eax, dword [ebp - 8]
je 0x40452d
mov eax, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp - 0x10]
cmp esi, dword [edi + 0x18]
jb 0x4044f0
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404540
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], ecx
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0x10], eax
mov edi, dword [eax]
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x4045bc
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404570
sub eax, edx
sar eax, 1
inc eax
mov dword [ebp - 8], eax
add eax, eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov esi, eax
test esi, esi
je 0x4045be
push 0
push 0
push dword [ebp - 4]
push esi
push dword [ebp - 8]
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4045be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
push esi
call fcn.0040d500
add esp, 4
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x5c
push esi
call fcn.00407490
add esp, 8
test eax, eax
je 0x4045e0
inc eax
jmp 0x4045e2
mov eax, esi
mov ecx, eax
call fcn.00404610
cmp dword [ebp - 0xc], eax
je 0x404604
mov edi, dword [edi]
cmp edi, dword [ebp - 0x10]
jne 0x404560
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x10]
pop edi
pop esi
cdq
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404610
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4046e5
push 0x1000
push esi
call fcn.0040be8f
mov edi, eax
add esp, 8
test edi, edi
je 0x4046e5
push ebx
mov ebx, edi
xor ecx, ecx
shr edi, 2
and ebx, 3
test edi, edi
je 0x404667
movzx eax, word [esi]
movzx edx, word [esi + 2]
add ecx, eax
mov eax, ecx
add esi, 4
shl eax, 5
xor edx, eax
shl edx, 0xb
xor ecx, edx
mov eax, ecx
shr eax, 0xb
add ecx, eax
sub edi, 1
jne 0x404643
sub ebx, 1
je 0x4046a3
sub ebx, 1
je 0x404690
sub ebx, 1
jne 0x4046b5
movzx eax, word [esi]
add ecx, eax
movzx eax, byte [esi + 2]
shl eax, 2
xor eax, ecx
shl eax, 0x10
xor ecx, eax
mov eax, ecx
shr eax, 0xb
jmp 0x4046b3
movzx eax, word [esi]
add ecx, eax
mov eax, ecx
shl eax, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0x11
jmp 0x4046b3
movzx eax, byte [esi]
add ecx, eax
mov eax, ecx
shl eax, 0xa
xor ecx, eax
mov eax, ecx
shr eax, 1
add ecx, eax
lea eax, [ecx*8]
xor ecx, eax
mov eax, ecx
shr eax, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add ecx, eax
mov eax, ecx
shl eax, 0x19
xor ecx, eax
pop ebx
mov eax, ecx
shr eax, 6
pop edi
add eax, ecx
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x40fcf1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41d7e8
push 0x41d7e0
push str.FlsAlloc
push 0x1e
call fcn.0040fc0f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40fd25
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a17c]
call esi
jmp 0x40fd2b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40fd6f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41d7f8
push 0x41d7f0
push str.FlsGetValue
push 0x20
call fcn.0040fc0f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40fda6
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a17c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x412440
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4124dd
push ebx
push esi
call fcn.00412409
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00412352
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41248a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4124dc
push edi
push eax
call fcn.004104f4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4124aa
call fcn.0040f86d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4124db
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00412352
add esp, 0x20
test eax, eax
jne 0x4124c9
push edi
call fcn.0040f86d
jmp 0x4124d1
push ebx
call fcn.0040f86d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4189d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4189fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4189fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4042e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
add ebx, 0x50
mov dword [esp + 0x30], ecx
push ebp
mov ecx, 0x4a9760
mov dword [esp + 0x3c], ebx
xor ebp, ebp
mov dword [esp + 0x18], ecx
mov eax, dword [ebx]
push esi
push edi
mov dword [esp + 0x34], ebp
cmp dword [eax + 4], ebp
jle 0x404952
xor esi, esi
mov dword [esp + 0x38], esi

Function at 0x466150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x3c]
lea edx, [esi + 4]
mov dword [esi], 0
mov ecx, dword [edi]
mov dword [edx], ecx
mov eax, dword [ecx]
test eax, eax
je 0x466176
cmp eax, 0xffffffff
je 0x466176
inc eax
mov dword [ecx], eax
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov eax, dword [ecx]
test eax, eax
je 0x46618a
cmp eax, 0xffffffff
je 0x46618a
inc eax
mov dword [ecx], eax
movzx eax, word [edi + 8]
mov word [edx + 8], ax
movzx eax, word [edi + 0xa]
mov word [edx + 0xa], ax
movzx eax, word [edi + 0xc]
lea edi, [esi + 0x18]
mov word [edx + 0xc], ax
mov eax, dword [esp + 0x40]
push edi
push edx
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x20], xmm0
call fcn.00463760
mov dword [esi + 0x48], eax
add esp, 8
mov dword [esi + 0x4c], 0x479930
mov dword [esi + 0x50], 0x479930
mov dword [esi + 0x54], 0x479930
mov dword [esi + 0x58], 0x479930
mov dword [esi + 0x5c], 0x479930
mov dword [esi + 0x60], 0x479930
mov dword [esi + 0x64], 0x479930
mov dword [esi + 0x68], 0x479930
mov dword [esi + 0x6c], 0x479930
mov dword [esi + 0x70], 0x479930
mov dword [esi + 0x74], 0x479930
mov al, byte [esi + 0x7c]
and dword [esi + 0x78], 0xc0000000
and al, 0xfe
or al, 2
mov dword [esi + 0x80], 0
mov byte [esi + 0x7c], al
mov eax, esi
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0x479930
cmp dword [esi + 0x48], 0
je 0x466294
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
movups xmm0, xmmword [esp + 8]
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x18]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x28]
movups xmmword [edi + 0x20], xmm0
pop edi
pop esi
add esp, 0x30
ret 8
Function at 0x466153
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x3c]
lea edx, [esi + 4]
mov dword [esi], 0
mov ecx, dword [edi]
mov dword [edx], ecx
mov eax, dword [ecx]
test eax, eax
je 0x466176
cmp eax, 0xffffffff
je 0x466176
inc eax
mov dword [ecx], eax
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov eax, dword [ecx]
test eax, eax
je 0x46618a
cmp eax, 0xffffffff
je 0x46618a
inc eax
mov dword [ecx], eax
movzx eax, word [edi + 8]
mov word [edx + 8], ax
movzx eax, word [edi + 0xa]
mov word [edx + 0xa], ax
movzx eax, word [edi + 0xc]
lea edi, [esi + 0x18]
mov word [edx + 0xc], ax
mov eax, dword [esp + 0x40]
push edi
push edx
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x20], xmm0
call fcn.00463760
mov dword [esi + 0x48], eax
add esp, 8
mov dword [esi + 0x4c], 0x479930
mov dword [esi + 0x50], 0x479930
mov dword [esi + 0x54], 0x479930
mov dword [esi + 0x58], 0x479930
mov dword [esi + 0x5c], 0x479930
mov dword [esi + 0x60], 0x479930
mov dword [esi + 0x64], 0x479930
mov dword [esi + 0x68], 0x479930
mov dword [esi + 0x6c], 0x479930
mov dword [esi + 0x70], 0x479930
mov dword [esi + 0x74], 0x479930
mov al, byte [esi + 0x7c]
and dword [esi + 0x78], 0xc0000000
and al, 0xfe
or al, 2
mov dword [esi + 0x80], 0
mov byte [esi + 0x7c], al
mov eax, esi
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0x479930
cmp dword [esi + 0x48], 0
je 0x466294
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
movups xmm0, xmmword [esp + 8]
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x18]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x28]
movups xmmword [edi + 0x20], xmm0
pop edi
pop esi
add esp, 0x30
ret 8
Function at 0x402fc4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x483008], 0x8088405
inc edx
mov dword [ebx + 0x483008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4036d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x483024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403768
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403748
xor eax, eax
push ebp
push 0x403741
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 0x403784
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 0x403748
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x483024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x483024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40457c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f104c], 0
je 0x4045dd
cmp word [0x4f1220], 0xd7b2
jne 0x4045a5
cmp dword [0x4f1228], 0
jbe 0x4045a5
mov eax, 0x4f121c
call dword [0x4f1238]
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 0x404604
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x483030], 0
jne 0x4045f9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4084b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408548
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408548
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4084fb
test edx, 3
jne 0x4084ea
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4084f5
jmp 0x4084fb
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4084fb
cmp dword [ecx - 8], 1
je 0x408505
mov edx, ebx
or edx, 3
call fcn.00404e48
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408517
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004046fc

Function at 0x408554
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4085e4
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4085e4
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408597
test edx, 3
jne 0x408586
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408591
jmp 0x408597
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408597
cmp dword [ecx - 8], 1
je 0x4085a1
mov edx, ebx
or edx, 3
call fcn.00404e48
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4085b3
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004046fc

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404bc0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408f7d
test al, 0x10
je 0x408f81
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bab4
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 0x40baed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047ec
jmp 0x40baf6
mov eax, ebx
mov edx, esi
call fcn.00404750
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bb00
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 0x40bb22
movzx eax, byte [esp]
jmp 0x40bb24
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c1b4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c02c
mov eax, dword [0x4eff50]
cmp byte [eax], 0
je 0x40c230
mov eax, dword [0x4efd28]
call fcn.00403098
call fcn.00402e08
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.00409140
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 0x40c278
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c266
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4efccc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f37f8]
call fcn.00405b30
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 0x40cb0c
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 0x40cbe2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404794
lea eax, [ebp - 4]
call fcn.00404c10
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404bc0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cbcc
mov eax, ebx
call fcn.00402cac
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cbc5
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.00404bc0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cbaf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cbf4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cbaf
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 0x40cbcc
mov eax, dword [ebp - 0x10]
call fcn.00402cc8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbe9
lea eax, [ebp - 4]
call fcn.004046fc
ret
Function at 0x41ed24
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f4304
cmp dword [edi], 0
jne 0x41eda0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f4300]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x483ae8
mov ecx, 2
call fcn.00402e9c
mov edx, 0x41ecfc
lea eax, [esi + 5]
call fcn.0041ed1c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ed1c
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 0x41ed75
mov dword [0x4f4300], 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 0x421354
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.00404bc0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4213ac
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f0090]
mov dl, 1
mov eax, dword [0x420e78]
call fcn.0040c374
call fcn.00404144
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00420f80
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 0x42253c
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 0x422542
ret
Function at 0x4338ac
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.00404bb0
xor eax, eax
push ebp
push 0x4339e1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4339b4
xor edx, edx
push ebp
push 0x4339ad
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x4338f9
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 0x433982
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 0x433971
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x433938
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404bc0
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402e9c
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 0x433978
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4efc60]
mov dl, 1
mov eax, dword [0x40780c]
call fcn.0040c338
call fcn.00404144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4339e8
lea eax, [ebp - 4]
call fcn.004046fc
ret
Function at 0x4339f0
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 0x433bab
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404eac
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x433bc4
call fcn.00404a0c
mov eax, ebx
call fcn.0041e2a4
mov edi, eax
dec edi
test edi, edi
jl 0x433aa8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041e278
mov edx, dword [0x42ced8]
call fcn.00403a5c
test al, al
je 0x433aa4
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041e278
lea edx, [ebp - 0x14]
call fcn.0044230c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404eac
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404a80
inc esi
dec edi
jne 0x433a56
movzx eax, byte [0x433bc8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x433bd4
mov eax, dword [ebp - 8]
call fcn.0040d674
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404794
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.0044230c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x433bc4
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.0044230c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x433bc4
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, 0x433bc4
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, 0x433be0
call fcn.00409858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433bb2
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404720
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404720
lea eax, [ebp - 0x14]
call fcn.004046fc
lea eax, [ebp - 0x10]
call fcn.004046fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404720
ret