joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418100
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x425044]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00405a30
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx edx, word [esp + 8]
sub edx, 0x41
lea ebx, [esp + 4]
call fcn.00414a90
mov ebx, dword [esp + 4]
call fcn.00414b90
cmp eax, 0xffffffff
jne 0x41817f
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040113c
add esp, 0x218
ret
push esi
call fcn.00417ed0
mov ecx, dword [esp + 0x218]
add esp, 4
pop ebx
xor ecx, esp
call fcn.0040113c
add esp, 0x218
ret

Function at 0x401440
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43601c
push 0x80000002
call dword [0x43882c]
test eax, eax
jne 0x40146c
mov eax, 0xd903
jmp 0x401516
mov dword [0x438824], 0x24e1
mov ecx, dword [0x438824]
sub ecx, 0x24e1
mov dword [0x438824], ecx
mov edx, 1
test edx, edx
je 0x401516
mov eax, dword [0x438824]
cmp eax, dword [ebp + 0xc]
jb 0x4014a1
jmp 0x401516
jmp 0x45cad8
mov esp, ebp
pop ebp
ret

Function at 0x401a60
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebp
pop dword [0x438810]
push dword [0x438810]
push 0x401a7b
jmp loc.0045bd6c
Function at 0x405a50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 1
sete al
movzx eax, al
ret
Function at 0x405c54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ecx, 4
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x4c]
mov esi, 0x416010
push ebx
mov ebx, 0x2223
sub esp, 0x7c
mov eax, dword [0x4290b0]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x42e560
and eax, 0x60511d8a
movsx edx, byte [ecx]
inc ecx
test dl, dl
je 0x405cad
add ebx, edx
cmp ebx, 0x24d1
jbe 0x405c80
or eax, 0xeb7a5fa2
mov dword [0x4290b0], eax
call fcn.00412ae4
mov eax, dword [0x4290b0]
xor eax, 0x5f90c5db
jmp 0x405cb7
or eax, 0xe97a5da0
xor eax, 0xeb0d0205
and eax, 0x864e4142
xor edx, edx
mov ecx, 0x38
imul eax, eax, 0xccf84b25
sub ecx, dword [ebp + edx*4 - 0x4c]
xor eax, 0xe57b04f4
inc edx
mov dword [ebp - 0x5c], ecx
and eax, 0xe4a25172
cmp edx, 4
jne 0x405cc9
imul eax, eax, 0x1f14048d
xor edx, edx
mov dword [0x4290b0], eax
cmp word [edx + edx + str.Specified_display_adapter_and_all_of_its_state_has_been_reset.], 0
je 0x405d0d
inc edx
cmp edx, 0x1a07
jne 0x405ced
or eax, 0x6b3e4a93
mov dword [0x4290b0], eax
jmp 0x405d15
cmp edx, 0x6f1
jle 0x405d1a
call fcn.0041188c
mov eax, dword [0x4290b0]
lea edi, [ebp - 0x3c]
mov esi, 0x416020
xor eax, 0xacf40b34
imul eax, eax, 0x41f32f8a
mov dword [0x4290b0], eax
call fcn.0040f81c
mov eax, dword [0x4290b0]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edi, 0x28
xor eax, 0x8ac6dcd3
imul eax, eax, 0xd4a980
mov dword [0x4290b0], eax
call fcn.004152ac
mov eax, dword [0x4290b0]
mov ebx, dword [ebp + esi*4 - 0x3c]
inc esi
xor eax, 0x63631d91
add ebx, edi
and eax, 0xcaefe692
mov edi, ebx
or eax, 0x82e94612
add eax, 0x28571a58
mov dword [0x4290b0], eax
cmp esi, 4
jne 0x405d5f
or eax, 0xc918a62d
lea edi, [ebp - 0x2c]
mov esi, str.DcV_n
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov dword [0x4290b0], eax
xor esi, esi
xor edi, edi
mov eax, dword [0x4290b0]
mov edx, str.The_cloud_operation_is_not_supported_on_a_read_only_volume.
mov ecx, 0x71
xor eax, 0xe0865e37
or eax, 0xddfdbbf1
mov dword [ebp - 0x60], eax
movzx eax, byte [edx]
inc edx
test al, al
je 0x405df9
add ecx, eax
cmp ecx, 0x105b
jbe 0x405dc9
mov eax, dword [ebp - 0x60]
sub eax, 0x3018802d
mov dword [0x4290b0], eax
call fcn.004116e0
imul eax, dword [0x4290b0], 0x712e8142
jmp 0x405e01
mov eax, dword [ebp - 0x60]
xor eax, 0x538bf72d
and eax, 0x36273f05
mov dword [0x4290b0], eax
call fcn.004102f0
sub edi, dword [ebp + esi*4 - 0x2c]
inc esi
cmp esi, 5
jne 0x405dad
xor eax, eax
mov dword [esp + 0x10], ebx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0xc], 4
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
add dword [0x4290b0], 0xd6841cf
call fcn.00401083
cmp eax, edi
jne 0x405ea0
mov eax, dword [0x4290b0]
mov edx, 1
and eax, 0xe58363c0
or eax, 0xf16b3add
sub eax, 0x2ef46325
cmp dword [ebp - 0x50], 0
mov dword [0x4290b0], eax
jne 0x405eac
or eax, 0xdcb9a5c
sub eax, 0x3eae4e87
mov dword [0x4290b0], eax
call dword [sym.imp.USER32.dll_GetMessageTime]
imul eax, eax, 0x807e6700
add eax, 0x1127f6d5
mov dword [0x4290b0], eax
xor edx, edx
jmp 0x405eac
xor dword [0x4290b0], 0xddde1064
jmp 0x405e9c
add esp, 0x7c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40bd40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, 0xe
push ebx
xor ebx, ebx
sub esp, 0x3c
mov dword [ebp - 0x24], 0x1a
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 0xffffffeb
mov eax, dword [0x429338]
mov edi, esi
add eax, 0x4a6326a4
xor eax, 0x4d2d9f73
and eax, 0x21f74c
mov dword [0x429338], eax
mov dword [esp + 8], str.SwitchedRtlGetVersion_Win8
mov dword [esp + 4], str.SwitchedRtlGetVersion_Win8
mov dword [esp], str.SwitchedRtlGetVersion_Win8
call fcn.0040ee10
mov eax, dword [0x429338]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsIconic]
push eax
sub edi, dword [ebp + ebx*4 - 0x24]
inc ebx
mov esi, edi
cmp ebx, 3
jne 0x40bd65
mov eax, dword [0x429338]
add eax, 0x67802ac1
xor eax, 0xdc55a0b2
mov dword [0x429338], eax
mov dword [esp + 0xc], str.DLL_search_path_passed_in_externally:__ws
mov dword [esp + 8], str.Device_will_not_start_without_a_reboot.
mov dword [esp + 4], str.SwitchedRtlGetVersion_Win8
mov dword [esp], str.SwitchedRtlGetVersion_Win8
call fcn.0041164c
mov edx, str.SwitchedRtlGetVersion_Win8
mov ecx, 0xdf8
movzx eax, byte [edx]
inc edx
test al, al
je 0x40be15
add ecx, eax
cmp ecx, 0x2104
jbe 0x40bdf9
or dword [0x429338], 0x2396a9e
mov eax, dword [0x429338]
xor esi, esi
and eax, 0xbcd0198f
sub eax, 0x21adcd
mov dword [0x429338], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call fcn.00412bf4
cmp dword [ebp + 8], 0
je 0x40bf05
mov eax, dword [ebp + 8]
mov esi, 0x16f8
cmp dword [ebp + 0xc], 0
mov bl, byte [eax]
jne 0x40be59
test bl, bl
jne 0x40be7e
jmp 0x40bf05
mov edx, eax
sub edx, dword [ebp + 8]
cmp edx, dword [ebp + 0xc]
jae 0x40bf05
test bl, bl
jne 0x40be7e
imul edx, dword [0x429338], 0x855c223c
inc eax
mov dword [0x429338], edx
jmp 0x40bed6
cmp bl, 0x60
jbe 0x40bed6
cmp dword [ebp + 0x10], 0
je 0x40bed6
mov ecx, str.SwitchedRtlGetVersion_Win8
mov dl, byte [ecx]
test dl, dl
je 0x40beab
sub edx, 0x30
cmp dl, 9
jbe 0x40bea8
and dword [0x429338], 0xdf28e48d
jmp 0x40beab
inc ecx
jmp 0x40be8e
mov dword [ebp - 0x2c], eax
mov eax, dword [0x429338]
sub ebx, 0x20
lea edx, [eax - 0xcaae695]
or edx, 0x99760111
sub edx, 0x509a73c4
mov dword [0x429338], edx
call fcn.00412bf4
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x429338]
imul esi, esi, 0x21
movzx ebx, bl
inc eax
xor edx, 0xdc17b860
and edx, 0xd702ecee
add esi, ebx
sub edx, 0xacd179e
mov dword [0x429338], edx
test edi, edi
jne 0x40be48
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40cc80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ecx, 5
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x84]
mov esi, 0x4160e0
push ebx
sub esp, 0xac
rep movsd dword es:[edi], dword [esi]
xor esi, esi
xor edi, edi
mov edx, str.No_more_unswizzling_aperture_are_currently_available.
mov al, byte [edx]
test al, al
je 0x40ccc8
sub eax, 0x30
cmp al, 9
jbe 0x40ccc5
mov eax, dword [0x429490]
add eax, 0x2a5c013b
mov dword [0x428f00], eax
jmp 0x40ccc8
inc edx
jmp 0x40cca7
sub dword [0x429490], 0x5e1595cd
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
imul eax, eax, 0x50a5300
mov dword [0x428f00], eax
call fcn.00410450
mov eax, dword [0x42917c]
sub edi, dword [ebp + esi*4 - 0x84]
inc esi
mov dword [ebp - 0x9c], edi
xor eax, 0x975b82dc
mov dword [0x429490], eax
cmp esi, 5
jne 0x40cca2
xor edx, edx
cmp word [edx + str.Secure_Boot_is_not_enabled_on_this_machine.], 0
je 0x40cd31
add edx, 2
cmp edx, 0x2b08
jne 0x40cd0c
imul eax, eax, 0xd8457913
and eax, 0x1104fdf1
mov dword [0x429490], eax
mov eax, dword [0x429490]
mov dword [esp], str.Secure_Boot_is_not_enabled_on_this_machine.
sub eax, 0x7fe60ce7
mov dword [0x428f00], eax
or eax, 0xa949cccb
mov dword [0x429490], eax
call fcn.004145cc
xor eax, eax
cmp byte [eax + str.No_more_unswizzling_aperture_are_currently_available.], 0
je 0x40cd7d
inc eax
cmp eax, 0x1f0e
jne 0x40cd58
call fcn.0040ed58
mov eax, dword [0x429490]
add eax, 0x61b14286
mov dword [0x42917c], eax
mov eax, dword [0x428f00]
lea edi, [ebp - 0x94]
mov esi, 0x4160f4
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ebx, 0x54
xor esi, esi
xor eax, 0x18712733
mov dword [0x429490], eax
imul eax, eax, 0x9e76a43f
mov dword [0x428f00], eax
call dword [sym.imp.USER32.dll_GetShellWindow]
add ebx, dword [ebp + esi*4 - 0x94]
inc esi
xor eax, 0xada28cfd
mov dword [0x428f00], eax
cmp esi, 4
jne 0x40cdb0
xor eax, eax
lea edi, [ebp - 0x6c]
mov ecx, 0x15
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
mov dword [0x416104], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [0x416104]
cmp dword [eax], ebx
je 0x40ce09
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040ce14
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40ce14
Capabilities:
Encode data using xor
Identify system language via api

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0x14
cmp byte [eax + str.The_cluster_node_is_not_paused.], 0
je 0x40ce33
inc eax
cmp eax, 0x2ad
jne 0x40ce1d
call fcn.0040ed58
mov eax, dword [0x429060]
mov ebx, 0x100
or eax, 0xfdfbbfb5
mov dword [0x429060], eax
sub eax, 0x161ee5d7
mov dword [0x429420], eax
sub dword [0x429060], 0x18e231d4
call dword [sym.imp.KERNEL32.dll_GetLargePageMinimum]
add eax, 0x3b17a15d
mov dword [0x429420], eax
dec ebx
jne 0x40ce51
mov ebx, 0x2a
mov eax, dword [0x429060]
or eax, 0x8c785cde
mov dword [0x429420], eax
call fcn.004109d0
mov dword [esp + 4], str.The_cluster_node_is_not_paused.
mov dword [esp], 0x429e40
and dword [0x429420], 0xee25750e
call fcn.004137fc
mov eax, dword [0x429060]
and dword [0x429420], 0xb80b1f7b
add eax, 0x2aa7188
and eax, 0x4944cddd
mov dword [0x429060], eax
call fcn.00410450
dec ebx
jne 0x40ce73
mov dword [esp], 0x100000
mov ebx, dword [0x416104]
call fcn.0040c7e4
or dword [0x429060], 0xa30f514f
mov dword [ebx + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
xor edx, edx
or eax, 0x1d03ae90
mov dword [0x429420], eax
add eax, 0x2cda1573
mov dword [0x429060], eax
mov eax, dword [0x416104]
mov dword [eax + 0x50], edx
call fcn.0040a324
add esp, 0x14
pop ebx
pop ebp
jmp fcn.0040a41c

Function at 0x40cf20
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x200
mov ebx, dword [ebp + 0x10]
mov eax, ecx
mov byte [ebp + ecx - 0x10c], cl
cdq
idiv dword [ebp + 0x14]
mov al, byte [ebx + edx]
mov byte [ebp + ecx - 0x20c], al
inc ecx
cmp ecx, 0x100
jne 0x40cf31
xor ebx, ebx
xor edx, edx
mov esi, 0x100
movzx eax, byte [ebp + ebx - 0x10c]
mov ecx, eax
add eax, edx
movzx edx, byte [ebp + ebx - 0x20c]
add eax, edx
cdq
idiv esi
mov al, byte [ebp + edx - 0x10c]
mov byte [ebp + edx - 0x10c], cl
mov byte [ebp + ebx - 0x10c], al
inc ebx
cmp ebx, 0x100
jne 0x40cf5a
xor esi, esi
xor ebx, ebx
xor ecx, ecx
mov edi, 0x100
cmp esi, dword [ebp + 0xc]
jge 0x40cff4
lea eax, [ebx + 1]
cdq
idiv edi
movzx eax, byte [ebp + edx - 0x10c]
mov ebx, edx
add eax, ecx
cdq
idiv edi
mov al, byte [ebp + edx - 0x10c]
mov ecx, edx
mov dl, byte [ebp + ebx - 0x10c]
mov byte [ebp + ecx - 0x10c], dl
mov edx, dword [ebp + 8]
mov byte [ebp + ebx - 0x10c], al
add al, byte [ebp + ecx - 0x10c]
movzx eax, al
mov al, byte [ebp + eax - 0x10c]
xor al, byte [edx + esi]
mov edx, dword [ebp + 0x18]
mov byte [edx + esi], al
inc esi
jmp 0x40cf9c
add esp, 0x200
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40e55c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLargePageMinimum]
mov eax, dword [ebp + 8]
or eax, 0x2bebadcb
mov dword [0x429034], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, str.The_TPM_key_usage_policy_is_not_supported.
mov ecx, 0xc7b
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x40e59a
add ecx, eax
cmp ecx, 0x24d7
jbe 0x40e585
mov edx, str.Specified_video_present_target_mode_is_invalid.
mov ecx, 0x8b1
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x40e5b9
add ecx, eax
cmp ecx, 0x1bf6
jbe 0x40e5a4
mov eax, dword [ebp + 0xc]
mov edx, str.Invalid_Lock_Sequence
mov ecx, 0x2bb
sub eax, 0x977f300
mov dword [0x429034], eax
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x40e5e5
add ecx, eax
cmp ecx, 0xee3
jbe 0x40e5d0
mov edx, str.Specified_display_adapter_handle_is_invalid.
mov ecx, 0x146a
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x40e616
add ecx, eax
cmp ecx, 0x1664
jbe 0x40e5ef
mov eax, dword [ebp + 8]
xor eax, 0xa6a2e6a6
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsIconic]
push eax
mov eax, dword [ebp + 0x10]
xor eax, 0x53816a3e
mov dword [0x429034], eax
leave
ret

Function at 0x40eabc
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [esp], 0x1f7d
call dword [sym.imp.USER32.dll_IsZoomed]
push ecx
cmp byte [esi], 0
je 0x40eaec
lea eax, [ebx + 0x30950e1f]
mov dword [0x4294c4], eax
lea eax, [ebx + 0x42182d9d]
mov dword [0x428fe8], eax
mov eax, dword [0x4294c4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push edx
mov ax, word [edi]
test ax, ax
je 0x40eb2a
sub eax, 0x30
cmp ax, 9
jbe 0x40eb25
mov eax, ebx
xor eax, 0x77490370
mov dword [0x428fe8], eax
jmp 0x40eb2a
add edi, 2
jmp 0x40eb06
lea eax, [ebx - 0x610bff3e]
mov dword [0x4294c4], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov eax, ebx
mov edx, esi
and eax, 0xd3a43a00
mov dword [0x4294c4], eax
mov al, byte [edx]
sub eax, 0x30
cmp al, 9
ja 0x40eb56
inc edx
jmp 0x40eb49
inc esi
mov al, byte [esi]
test al, al
je 0x40eb6e
sub eax, 0x30
cmp al, 9
jbe 0x40eb55
lea eax, [ebx - 0x26d67736]
mov dword [0x4294c4], eax
imul ebx, ebx, 0x90890a04
mov eax, dword [0x4294c4]
mov dword [0x428fe8], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
push eax
mov eax, dword [0x428fe8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40f55c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 0x8d5
mov eax, dword [ebp + 8]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
mov esi, eax
movzx edx, byte [esi]
inc esi
test dl, dl
je 0x40f581
add edi, edx
cmp edi, 0x1f60
jbe 0x40f56f
mov edx, eax
movzx edi, byte [edx]
lea esi, [edi - 0x30]
mov ecx, esi
cmp cl, 9
ja 0x40f593
inc edx
jmp 0x40f583
mov esi, eax
movzx edi, byte [esi]
lea edx, [edi - 0x30]
cmp dl, 9
ja 0x40f5a3
inc esi
jmp 0x40f595
mov ecx, dword [ebp + 0xc]
mov esi, eax
or ecx, 0xcb5ff7ba
mov dword [0x429128], ecx
mov cl, byte [esi]
lea edx, [ecx - 0x30]
cmp dl, 9
ja 0x40f5c1
inc esi
jmp 0x40f5b4
mov esi, eax
movzx edi, byte [esi]
lea edx, [edi - 0x30]
cmp dl, 9
ja 0x40f5d1
inc esi
jmp 0x40f5c3
mov esi, 0x846
movzx edx, word [ebx]
add ebx, 2
test dx, dx
je 0x40f5fa
add esi, edx
cmp esi, 0x433
jbe 0x40f5d6
mov ecx, dword [ebp + 0xc]
xor ecx, 0x90bff66d
mov dword [0x429128], ecx
mov bl, byte [eax]
lea edx, [ebx - 0x30]
cmp dl, 9
ja 0x40f607
inc eax
jmp 0x40f5fa
pop ebx
mov eax, dword [0x429128]
pop esi
pop edi
pop ebp
ret

Function at 0x40feac
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov edx, esi
mov al, byte [edx]
test al, al
je 0x40fed8
sub eax, 0x30
cmp al, 9
jbe 0x40fed5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x40fed8
inc edx
jmp 0x40fec0
mov eax, ebx
mov edx, esi
mov ecx, 0x862
or eax, 0x151f3f9f
mov dword [0x4292f8], eax
movsx eax, byte [edx]
inc edx
test al, al
je 0x40ff16
add ecx, eax
cmp ecx, 0x1ad1
jbe 0x40feeb
lea eax, [ebx - 0x74f006c1]
mov dword [0x4292f8], eax
mov dword [esp], 0x2555
call dword [sym.imp.USER32.dll_GetTopWindow]
push edx
and dword [0x4292f8], 0x17af5a51
mov edx, edi
mov ecx, 0x5bc
movzx eax, byte [edx]
inc edx
test al, al
je 0x40ff39
add ecx, eax
cmp ecx, 0x20e6
jbe 0x40ff27
mov edx, esi
mov ecx, 0x38b
movsx eax, byte [edx]
inc edx
test al, al
je 0x40ff58
add ecx, eax
cmp ecx, 0x7d4
jbe 0x40ff40
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp], str.Invalid_ReserveSize_parameter____Ix
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov al, byte [edi]
sub eax, 0x30
cmp al, 9
ja 0x40ff75
inc edi
jmp 0x40ff66
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
test al, al
je 0x40ff96
sub eax, 0x30
cmp al, 9
jbe 0x40ff72
lea eax, [ebx - 0x2ca7575f]
mov dword [0x4292f8], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
imul eax, ebx, 0x18942165
mov dword [0x4292f8], eax
mov al, byte [esi]
test al, al
je 0x40ffb9
sub eax, 0x30
cmp al, 9
jbe 0x40ffb6
call dword [sym.imp.USER32.dll_GetMessageTime]
jmp 0x40ffb9
inc esi
jmp 0x40ffa1
sub ebx, 0x3f48f807
mov dword [0x4292f8], ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x410bcc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ecx, 0x13d3
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, ebx
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x410bf7
add ecx, eax
cmp ecx, 0xb4c
jbe 0x410be2
mov eax, dword [0x429300]
mov ecx, esi
mov edi, 0xec6
mov edx, eax
add eax, 0x648676e6
and edx, 0xb19193a9
mov dword [0x429300], eax
mov dword [0x429434], edx
movzx eax, word [ecx]
add ecx, 2
test ax, ax
je 0x410c42
add edi, eax
cmp edi, 0x43a
jbe 0x410c1b
imul edx, edx, 0xf3e9266c
mov dword [0x428ff8], edx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, dword [0x429434]
xor ecx, ecx
lea edi, [edx - 0x14de49b]
sub edx, 0x3fafe439
mov eax, edi
or eax, 0x38512d83
mov dword [0x428ff8], eax
mov eax, dword [0x42938c]
cmp word [ebx + ecx*2], 0
je 0x410c83
inc ecx
cmp ecx, 0x59f
jne 0x410c67
or edi, 0xfdd93dfb
mov dword [0x42938c], edi
xor ecx, ecx
cmp word [esi + ecx*2], 0
je 0x410ca9
inc ecx
cmp ecx, 0x422
jne 0x410c85
mov ecx, eax
and ecx, 0x917a22ad
or ecx, 0x989d86eb
mov dword [0x428ff8], ecx
and eax, 0x11520085
or edx, 0xa73965ee
mov dword [0x429434], eax
mov dword [0x429300], edx
xor edx, edx
cmp word [edx + str.SaferComputeTokenFromLevel], 0
je 0x410ce1
add edx, 2
cmp edx, 0x2fc4
jne 0x410cc1
imul eax, eax, 0xc908e401
mov dword [0x429434], eax
mov eax, dword [0x428ff8]
mov edi, 0xf3
and eax, 0xbb2975a9
mov dword [0x428fa4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [0x429434]
and edx, 0x4f4c9611
imul eax, edx, 0x68282bb
mov dword [0x42938c], edx
mov dword [0x428fa4], eax
inc dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
movsx ecx, byte [ecx - 1]
test cl, cl
je 0x410d30
add edi, ecx
cmp edi, 0x2217
jbe 0x410d18
or edx, 0x5c1faec0
mov ecx, ebx
mov edi, 0x1701
mov dword [0x429434], edx
movzx edx, word [ecx]
add ecx, 2
test dx, dx
je 0x410d68
add edi, edx
cmp edi, 0xa3a
jbe 0x410d43
imul edx, dword [0x429300], 0xe4d01034
mov dword [0x429434], edx
add dword [0x429434], 0x6dd4870e
mov ecx, 0x1882
add dword [ebp + 8], 2
mov edi, dword [ebp + 8]
movzx edx, word [edi - 2]
test dx, dx
je 0x410d91
add ecx, edx
cmp ecx, 0x1ea4
jbe 0x410d77
and eax, 0xcade126e
mov ecx, 0x492
sub dword [0x428ff8], 0x3d26e719
mov dword [0x429300], eax
movzx edx, word [esi]
add esi, 2
test dx, dx
je 0x410dce
add ecx, edx
cmp ecx, 0x1c00
jbe 0x410daa
xor eax, 0x32b64681
mov dword [0x428fa4], eax
jmp 0x410dce
add ebx, 2
mov ax, word [ebx]
test ax, ax
je 0x410ded
sub eax, 0x30
cmp ax, 9
jbe 0x410dcb
mov dword [esp], 0x9d9
call dword [sym.imp.USER32.dll_GetTopWindow]
push eax
mov eax, dword [0x428ff8]
or dword [0x42938c], 0x8f9b531b
lea edx, [eax - 0x78046858]
and eax, 0x41dcc07e
mov dword [0x429434], edx
mov dword [0x428fa4], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x411510
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.USER32.dll_GetShellWindow]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea eax, [esi + 0x3dcffc39]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ecx, 0x1d9c
push edx
mov edx, ebx
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x411560
add ecx, eax
cmp ecx, 0x1aca
jbe 0x41154b
mov edx, ebx
mov ax, word [edx]
test ax, ax
je 0x411594
sub eax, 0x30
cmp ax, 9
ja 0x411578
add edx, 2
jmp 0x411562
mov edx, ebx
mov ecx, 0x26ab
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x411594
add ecx, eax
cmp ecx, 0x1882
jbe 0x41157f
mov eax, ebx
mov cx, word [eax]
lea edx, [ecx - 0x30]
cmp dx, 9
ja 0x4115a7
add eax, 2
jmp 0x411596
mov edx, ebx
mov ax, word [edx]
sub eax, 0x30
cmp ax, 9
ja 0x4115ba
add edx, 2
jmp 0x4115a9
mov ax, word [edi]
sub eax, 0x30
cmp ax, 9
ja 0x4115cb
add edi, 2
jmp 0x4115ba
lea eax, [esi - 0x20604dfd]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edx, 0x4d6
push eax
movzx eax, word [ebx]
add ebx, 2
test ax, ax
je 0x4115f8
add edx, eax
cmp edx, 0x35
jbe 0x4115e0
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
lea esp, [ebp - 0xc]
lea eax, [esi + 0x559c4852]
pop ebx
pop esi
pop edi
pop ebp
ret