joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aab0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x4c0
push ebx
push ebp
mov ebp, dword [esp + 0x4d0]
push esi
mov esi, dword [esp + 0x4dc]
push edi
xor edi, edi
cmp esi, 0xffffffff
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x40ab2a
lea eax, [esp + 0x1c]
push eax
call fcn.0040b12b
lea ecx, [esp + 0x20]
push ecx
call fcn.0040c0a2
add esp, 8
push ebp
push eax
call fcn.0040bfb0
add esp, 4
lea edx, [esp + 0x24]
push eax
push str._24.24s:__s_r_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x28]
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [esp + 0x4d4]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x18b
push esi
call edi
mov ebx, dword [esp + 0x4dc]
cmp eax, ebx
jbe 0x40ab68
push 0
push 0
push 0x182
push esi
call edi
push 0
push 0
push 0x18b
push esi
call edi
cmp eax, ebx
ja 0x40ab4c
push ebp
push 0
push 0x180
push esi
call edi
push esi
mov dword [esp + 0x14], eax
xor ebp, ebp
call dword [sym.imp.USER32.dll_GetDC]
push ebp
push ebp
push 0x18b
push esi
mov ebx, eax
call edi
test eax, eax
mov dword [esp + 0x10], eax
jl 0x40abe3
lea ecx, [esp + 0x20]
dec eax
push ecx
push eax
push 0x189
push esi
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0x14]
push 1
push edx
push ebx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jle 0x40abd8
mov ebp, eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jns 0x40ab94
lea ebp, [ebp + ebp*8]
mov eax, 0x66666667
imul ebp
sar edx, 2
mov eax, edx
push 0
shr eax, 0x1f
add edx, eax
push edx
push 0x194
push esi
call edi
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c0
ret
Function at 0x4100bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41a150
cmp edx, dword [eax]
je 0x4100df
add eax, 8
inc ecx
cmp eax, 0x41a1e0
jl 0x4100d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41a150]
jne 0x41020d
mov eax, dword [0x4243ec]
cmp eax, 1
je 0x4101e7
test eax, eax
jne 0x410110
cmp dword [0x417b94], 1
je 0x4101e7
cmp edx, 0xfc
je 0x41020d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x410147
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040ef80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040e9d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41018a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040e9d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x413df0
push edi
call fcn.004110a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040ef80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040ef90
lea eax, [ebp - 0xa0]
push 0x413dd0
push eax
call fcn.0040ef90
push dword [esi + 0x41a154]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040ef90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041125c
add esp, 0x2c
pop edi
jmp 0x41020d
lea eax, [ebp + 8]
lea esi, [esi + 0x41a154]
push 0
push eax
push dword [esi]
call fcn.0040e9d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x140
push esi
push edi
lea eax, [esp + 0xb0]
push eax
mov dword [esp + 0xb4], 0x94
call dword [0x40601c]
test eax, eax
je 0x4010c5
cmp dword [esp + 0xc0], 2
jne 0x4010c5
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push eax
mov word [esp + 0x40], 0x9c
call dword [0x4060e4]
mov esi, dword [0x4060e0]
push 0
push 2
push 0
lea edx, [esp + 0x1c]
push edx
push 0
mov dword [esp + 0x4c], 0x5c0020
call esi
test eax, eax
jne 0x4010c5
push eax
push 1
push eax
lea eax, [esp + 0x1c]
push eax
push 0
call esi
test eax, eax
jne 0x4010c5
lea ecx, [esp + 0xc]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [section..rdata]
test eax, eax
jne 0x4010c5
mov edx, dword [esp + 0xc]
push str.ATIModeChange
push edx
call dword [0x406004]
mov eax, dword [esp + 0xc]
push eax
call dword [0x406008]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403ae5
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x403b16
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x403b1d
cmp ebx, dword [ebp + 8]
jae 0x403b1d
xor eax, eax
jmp 0x403d0d
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x403b2e
xor eax, eax
inc eax
jmp 0x403d0c
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x403b44
cmp ecx, edx
jae 0x403c89
cmp dword [eax + 4], 0
je 0x403b4d
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x403b35
cmp dword [ebp + 8], 0
je 0x403b6f
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x403c89
cmp eax, esi
jae 0x403c89
mov eax, dword [0x408728]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x403b94
cmp dword [esi*4 + 0x408730], edi
je 0x403c8d
inc esi
cmp esi, eax
jl 0x403b82
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4060a4]
test eax, eax
je 0x403d09
cmp dword [ebp - 8], 0x1000000
jne 0x403d09
test byte [ebp - 0xc], 0xcc
je 0x403c12
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x403d09
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403d09
cmp word [eax + 0x18], 0x10b
jne 0x403d09
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x403d09
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x403c12
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x403c12
test byte [ecx + 0x27], 0x80
jne 0x403c89
push 1
push 0x408770
call dword [0x4060a0]
test eax, eax
jne 0x403b26
mov ecx, dword [0x408728]
test ecx, ecx
mov edx, ecx
jle 0x403c46
lea eax, [ecx*4 + 0x40872c]
cmp dword [eax], edi
je 0x403c46
dec edx
sub eax, 4
test edx, edx
jg 0x403c3a
test edx, edx
jne 0x403c77
push 0xf
pop ebx
cmp ecx, ebx
jg 0x403c53
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x403c6b
lea eax, [edx*4 + 0x408730]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x403c59
cmp ecx, 0x10
jge 0x403c77
inc ecx
mov dword [0x408728], ecx
push 0
push 0x408770
call dword [0x4060a0]
jmp 0x403b26
xor eax, eax
jmp 0x403d0c
test esi, esi
jle 0x403b26
mov ebx, dword [0x4060a0]
push 1
push 0x408770
call ebx
test eax, eax
jne 0x403b26
cmp dword [esi*4 + 0x408730], edi
je 0x403ce3
mov eax, dword [0x408728]
lea esi, [eax - 1]
test esi, esi
jl 0x403cd1
cmp dword [esi*4 + 0x408730], edi
je 0x403ccd
dec esi
jns 0x403cc1
test esi, esi
jge 0x403ce1
cmp eax, 0x10
jge 0x403cdc
inc eax
mov dword [0x408728], eax
lea esi, [eax - 1]
jmp 0x403ce3
je 0x403cfb
xor ecx, ecx
test esi, esi
jl 0x403cfb
lea eax, [ecx*4 + 0x408730]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x403ce9
push 0
push 0x408770
call ebx
jmp 0x403b26
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403310
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404bd4
test esi, esi
jne 0x403346
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404cc4
jmp 0x403364
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403214
mov edi, eax
test esi, esi
je 0x403364
cmp dword [ebx], 0
je 0x403364
dec esi
jmp 0x40334d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403b40
Capabilities:
Query or enumerate registry value

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

Function at 0x404a34
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d004c], 0
je 0x404a95
cmp word [0x4d0220], 0xd7b2
jne 0x404a5d
cmp dword [0x4d0228], 0
jbe 0x404a5d
mov eax, 0x4d021c
call dword [0x4d0238]
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 0x404abc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cb02c], 0
jne 0x404ab1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406758
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 0x406988
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4067db
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406988
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4067db
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4069a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406864
xor eax, eax
push ebp
push 0x40685d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406594
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 0x406842
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4069c4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406842
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 0x406864
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 0x40697e
cmp byte [ebp - 0xd], 0
jne 0x4068ab
cmp byte [ebp - 0x12], 0
je 0x40697e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4068c4
dec ebx
cmp byte [ebx], 0x2e
je 0x4068d3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4068c3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40697e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406910
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 0x40697e
cmp byte [ebp - 0xd], 0
je 0x40697e
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 0x40697e
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 0x409220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409272
test eax, edx
je 0x409275
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409235
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 0x40925b
add ecx, 4
js 0x40924b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409258
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 0x409281
test edx, edx
jne 0x409228
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405064
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409fa9
test al, 0x10
je 0x409fad
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40de04
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 0x40de3d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404cc4
jmp 0x40de46
mov eax, ebx
mov edx, esi
call fcn.00404c28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40de50
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 0x40de72
movzx eax, byte [esp]
jmp 0x40de74
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e504
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e37c
mov eax, dword [0x4cf9c8]
cmp byte [eax], 0
je 0x40e580
mov eax, dword [0x4cf5dc]
call fcn.0040342c
call fcn.00403080
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.0040a16c
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 0x40e5c8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e5b6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4cf558]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d27f8]
call fcn.0040653c
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 0x40ee98
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 0x40ef6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404c6c
lea eax, [ebp - 4]
call fcn.004050bc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405064
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ef58
mov eax, ebx
call fcn.00402f24
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ef51
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.00405064
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ef3b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ef80
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ef3b
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 0x40ef58
mov eax, dword [ebp - 0x10]
call fcn.00402f40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef75
lea eax, [ebp - 4]
call fcn.00404bd4
ret

Function at 0x42822c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d49ec
cmp dword [edi], 0
jne 0x4282a8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4d49e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4cbcbc
mov ecx, 2
call fcn.00403114
mov edx, 0x428204
lea eax, [esi + 5]
call fcn.00428224
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428224
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 0x42827d
mov dword [0x4d49e8], 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 0x42ab5c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0042a5cc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405064
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42abbb
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cf82c]
mov dl, 1
mov eax, dword [0x42a4c4]
call fcn.0040e6e8
call fcn.004045fc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42abc4
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.00405064
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42ac1c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cfbdc]
mov dl, 1
mov eax, dword [0x42a4c4]
call fcn.0040e6e8
call fcn.004045fc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042a5fc
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 0x42bdac
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 0x42bdb2
ret
Function at 0x43d4e0
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.00405054
xor eax, eax
push ebp
push 0x43d615
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43d5e8
xor edx, edx
push ebp
push 0x43d5e1
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x43d52d
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 0x43d5b6
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 0x43d5a5
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x43d56c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405064
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403114
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 0x43d5ac
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4cf49c]
mov dl, 1
mov eax, dword [0x408368]
call fcn.0040e6ac
call fcn.004045fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d61c
lea eax, [ebp - 4]
call fcn.00404bd4
ret
Function at 0x43d624
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 0x43d7df
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405358
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x43d7f8
call fcn.00404eec
mov eax, ebx
call fcn.004277ac
mov edi, eax
dec edi
test edi, edi
jl 0x43d6dc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00427780
mov edx, dword [0x4367f0]
call fcn.00403ed4
test al, al
je 0x43d6d8
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00427780
lea edx, [ebp - 0x14]
call fcn.00444f34
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405358
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404f68
inc esi
dec edi
jne 0x43d68a
movzx eax, byte [0x43d7fc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43d808
mov eax, dword [ebp - 8]
call fcn.0040fa84
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404c6c
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.00444f34
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43d7f8
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.00444f34
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43d7f8
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, 0x43d7f8
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, 0x43d814
call fcn.0040ac94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d7e6
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404bf8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404bf8
lea eax, [ebp - 0x14]
call fcn.00404bd4
lea eax, [ebp - 0x10]
call fcn.00404bd4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bf8
ret