joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4767b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x8018
call fcn.00491920
push ebx
push ebp
mov ebp, dword [esp + 0x8028]
push esi
push edi
mov edi, dword [esp + 0x802c]
mov esi, ecx
test edi, edi
je 0x4767d9
mov ecx, edi
call fcn.00412bb0
cmp dword [esp + 0x8038], 0
jne 0x4767ee
mov dword [esp + 0x8038], 0x1f4
cmp dword [esp + 0x803c], 1
jge 0x476803
mov dword [esp + 0x803c], 0x32
cmp ebp, 1
jge 0x47680d
mov ebp, 1
test esi, esi
je 0x4769da
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x4769da
cmp ebp, dword [esp + 0x20]
jg 0x4769da
push 0x8000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x1c]
call fcn.004737d0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4769d3
dec ebp
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
jmp 0x476880
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push ebp
push 0x403
push esi
call ebx
test eax, eax
je 0x4768f7
mov edx, 0x7fff
cmp word [esp + 0x14], dx
ja 0x47694e
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push edi
push ebp
push 0x402
push esi
call ebx
test eax, eax
je 0x4768f7
movzx ecx, word [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
inc ecx
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x476949
mov edx, dword [esp + 0x8034]
lea eax, [esp + 0x28]
call fcn.00475d30
test al, al
jne 0x476974
cmp dword [esp + 0x802c], 0
jne 0x476958
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4769a7
mov edi, dword [esp + 0x8038]
test edi, edi
js 0x47692e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x47698c
mov edx, dword [esp + 0x803c]
push 1
push edx
call fcn.00401350
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x476880
mov byte [esp + 0x28], 0
cmp dword [esp + 0x802c], 0
je 0x4769a7
mov eax, dword [esp + 0x802c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push eax
call fcn.00475030
mov esi, eax
jmp 0x4769ac
mov eax, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x49889c
push eax
call fcn.00475030
jmp 0x47694e
mov ecx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f00
push ecx
call fcn.00475030
mov edi, dword [esp + 0x1c]
mov esi, 1
push 0x8000
push 0
push edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov edi, dword [esp + 0x802c]
mov eax, 0x499f00
test edi, edi
jne 0x4769e8
mov eax, 0x49a07c
mov ecx, dword [0x4a6920]
cmp byte [ecx + 0xe8], 0
jne 0x476a15
mov edx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.00475030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov ecx, dword [0x4ac600]
push 0x498811
push 0
push eax
call fcn.0042d1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
Function at 0x477480
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0xc50]
test ecx, ecx
je 0x477537
mov eax, dword [esi]
test eax, eax
je 0x477537
push edi
test al, 1
jne 0x4774a9
mov eax, dword [esi + 0x80c]
cmp byte [eax], 0
je 0x4774c2
push 0x7fff
lea edi, [esi + 0xc58]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x4774c2
mov byte [edi], al
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x4774dd
mov edx, dword [esi + 0xc50]
lea ecx, [esi + 0xc54]
push ecx
push edx
call edi
test byte [esi], 0x20
je 0x477518
mov ecx, dword [esi + 0xc50]
lea eax, [esp + 4]
push eax
push ecx
call edi
test eax, eax
je 0x477518
movzx edx, byte [esi + 0xc28]
mov ecx, dword [esp + 4]
push edx
lea eax, [esi + 0x8d58]
call fcn.0044e2c0
add esp, 4
test eax, eax
jne 0x477518
mov byte [esi + 0x8d58], al
test byte [esi], 8
pop edi
je 0x477537
mov ecx, dword [esi + 0xc50]
push 0x101
lea eax, [esi + 0x8c57]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
pop ecx
ret

Function at 0x477c60
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e5c
call fcn.00491920
mov eax, dword [esp + 0x8e60]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x477d0d
mov dword [esp + 0xc44], eax
lea eax, [esp + 4]
push eax
push 0x4783a0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x818], 0x498811
mov byte [esp + 0xc35], bl
mov dword [esp + 0xc38], ebx
mov dword [esp + 0xc3c], ebx
mov dword [esp + 0xc40], ebx
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc58], ebx
mov dword [esp + 0xc5c], ebx
mov byte [esp + 0xc50], cl
mov dword [esp + 0xc54], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc34], ebx
je 0x477d0d
mov ecx, dword [0x4a6920]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x477d0d
push 1
push eax
call fcn.00401350
add esp, 8
mov eax, 1
pop ebx
add esp, 0x8e5c
ret 4
Function at 0x477d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x477d3c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4a6920]
push eax
push esi
mov ecx, edi
call fcn.004781e0
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x477d73
test eax, eax
jne 0x477d77
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00477e30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x477df6
test esi, esi
je 0x477df6
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.00401350
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x477dd5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x477dd5
push 1
push 0x8000012f
call fcn.00401350
add esp, 8
push esi
call edi
test eax, eax
jne 0x477db0
mov edx, dword [0x4a6920]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x477dee
push 1
push eax
call fcn.00401350
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x477e10
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00477e30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00477fb0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x477fb0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e68
call fcn.00491920
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x478130
xor cl, cl
mov eax, edi
call fcn.00478150
test eax, eax
jne 0x477fe5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4a6920]
push eax
push ebp
mov ecx, edi
call fcn.004781e0
test eax, eax
je 0x478008
xor eax, eax
mov dword [0x4ac230], eax
jmp 0x47800d
mov eax, dword [0x4ac230]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x824], 0x498811
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc64], ebx
mov dword [esp + 0xc68], ebx
cmp byte [esp + 0x8e7c], bl
je 0x478053
mov byte [esp + 0xc41], bl
cmp eax, ebx
je 0x47805b
mov byte [esp + 0xc41], 1
mov ecx, dword [0x4ac22c]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0xc54], eax
lea eax, [esp + 0x18]
push eax
push 0x4782b0
mov dword [esp + 0xc58], ecx
mov dword [esp + 0xc60], edx
call esi
mov eax, dword [esp + 0xc48]
cmp eax, ebx
je 0x478108
lea ecx, [esp + 0x10]
push ecx
push 0x476e50
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4780c5
mov edx, dword [esp + 0xc48]
call fcn.00477970
mov dword [esp + 0xc48], esi
mov eax, dword [esp + 0xc48]
call fcn.00475ed0
mov edx, dword [esp + 0xc48]
call fcn.00477970
mov edx, dword [0x4a6920]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x478130
push 1
push eax
call fcn.00401350
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
mov eax, dword [0x4ac230]
cmp eax, ebx
je 0x478130
cmp eax, 1
setg al
mov dword [0x4ac230], ebx
cmp al, bl
je 0x478130
mov edx, ebp
call fcn.00477970
push ebx
mov ecx, edi
call fcn.00477fb0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8e68
ret 4
Function at 0x48c234
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a5d90]
jne 0x48c23e
repz ret
jmp fcn.00490b67

Function at 0x48ebb4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a5d90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00489222
and dword [ebp - 0x14], 0
cmp dword [0x4a8a54], 0
mov dword [ebp - 0x18], eax
jne 0x48ec67
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x48ed0f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x48ed0f
mov esi, dword [fcn.00484d90]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a8a54], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a8a58], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a8a5c], eax
call edi
push eax
call esi
mov dword [0x4a8a64], eax
test eax, eax
je 0x48ec67
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a8a60], eax
mov eax, dword [0x4a8a60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00484d94]
cmp eax, ecx
je 0x48ecc0
cmp dword [0x4a8a64], ecx
je 0x48ecc0
push eax
call esi
push dword [0x4a8a64]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48ecc0
test ebx, ebx
je 0x48ecc0
call edi
test eax, eax
je 0x48ecb7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48ecb7
test byte [ebp - 8], 1
jne 0x48ecc0
or dword [ebp + 0x10], 0x200000
jmp 0x48ecf3
mov eax, dword [0x4a8a58]
cmp eax, dword [ebp - 0x18]
je 0x48ecf3
push eax
call esi
test eax, eax
je 0x48ecf3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48ecf3
mov eax, dword [0x4a8a5c]
cmp eax, dword [ebp - 0x18]
je 0x48ecf3
push eax
call esi
test eax, eax
je 0x48ecf3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a8a54]
call esi
test eax, eax
je 0x48ed0f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x48ed11
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c234
leave
ret
Function at 0x40325c
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.00404a90
test esi, esi
jne 0x403292
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.00404b80
jmp 0x4032b0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403160
mov edi, eax
test esi, esi
je 0x4032b0
cmp dword [ebx], 0
je 0x4032b0
dec esi
jmp 0x403299
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4032e4
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403a20
Capabilities:
Query or enumerate registry value

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

Function at 0x4048f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x496048], 0
je 0x404951
cmp word [0x49621c], 0xd7b2
jne 0x404919
cmp dword [0x496224], 0
jbe 0x404919
mov eax, 0x496218
call dword [0x496234]
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 0x404978
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x491030], 0
jne 0x40496d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408738
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40878a
test eax, edx
je 0x40878d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40874d
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 0x408773
add ecx, 4
js 0x408763
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408770
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 0x408799
test edx, edx
jne 0x408740
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

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

Function at 0x40bc4c
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 0x40bc85
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b80
jmp 0x40bc8e
mov eax, ebx
mov edx, esi
call fcn.00404ae4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c34c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c1c4
mov eax, dword [0x49554c]
cmp byte [eax], 0
je 0x40c3c8
mov eax, dword [0x495330]
call fcn.004033e8
call fcn.00402fcc
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.00409284
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 0x40c410
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c3fe
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4952d0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4987f4]
call fcn.00405c34
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 0x40cc74
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 0x40cd4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b28
lea eax, [ebp - 4]
call fcn.00404f78
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cd34
mov eax, ebx
call fcn.00402e70
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cd2d
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.00404f20
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cd17
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cd5c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cd17
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 0x40cd34
mov eax, dword [ebp - 0x10]
call fcn.00402e8c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd51
lea eax, [ebp - 4]
call fcn.00404a90
ret

Function at 0x41bdb8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49a9e8
cmp dword [edi], 0
jne 0x41be34
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49a9e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x491b58
mov ecx, 2
call fcn.00403060
mov edx, 0x41bd90
lea eax, [esi + 5]
call fcn.0041bdb0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041bdb0
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 0x41be09
mov dword [0x49a9e4], 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 0x4201f0
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.00404f20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x420248
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x495680]
mov dl, 1
mov eax, dword [0x41fb2c]
call fcn.0040c50c
call fcn.00404494
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041fca0
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 0x4215e0
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 0x4215e6
ret
Function at 0x42f510
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.00404f10
xor eax, eax
push ebp
push 0x42f645
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f618
xor edx, edx
push ebp
push 0x42f611
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x42f55d
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 0x42f5e6
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 0x42f5d5
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x42f59c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404f20
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403060
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 0x42f5dc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x495268]
mov dl, 1
mov eax, dword [0x407994]
call fcn.0040c4d0
call fcn.00404494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f64c
lea eax, [ebp - 4]
call fcn.00404a90
ret
Function at 0x42f654
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 0x42f80f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405214
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x42f828
call fcn.00404da8
mov eax, ebx
call fcn.0041b338
mov edi, eax
dec edi
test edi, edi
jl 0x42f70c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b30c
mov edx, dword [0x42b820]
call fcn.00403dac
test al, al
je 0x42f708
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041b30c
lea edx, [ebp - 0x14]
call fcn.0043e1f4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405214
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404e24
inc esi
dec edi
jne 0x42f6ba
movzx eax, byte [0x42f82c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42f838
mov eax, dword [ebp - 8]
call fcn.0040d738
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404b28
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.0043e1f4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42f828
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.0043e1f4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42f828
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, 0x42f828
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, 0x42f844
call fcn.004099a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f816
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ab4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ab4
lea eax, [ebp - 0x14]
call fcn.00404a90
lea eax, [ebp - 0x10]
call fcn.00404a90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ab4
ret