joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d95
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x19000
push 4
call fcn.004064e1
push dword [ebp + 0xc]
mov edi, eax
push ebx
push str._Streamer__Downloading_from__s_into__s_n
call fcn.004094f4
add esp, 0x14
push 0xc
push 1
call fcn.0041b8e4
mov esi, eax
push 0xc
push 1
mov dword [esi], ebx
mov dword [esi + 4], edi
call fcn.0041b8e4
push 0x43dec0
push dword [ebp + 0xc]
mov ebx, eax
mov dword [ebx + 4], edi
call fcn.004193f6
add esp, 0x18
xor edi, edi
push edi
push edi
push esi
push 0x407bd3
push edi
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push ebx
push 0x407c76
push edi
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 8], edi
jne 0x407e3b
cmp dword [ebx + 8], edi
jne 0x407e3b
xor eax, eax
inc eax
jmp 0x407e3d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407e42
Capabilities:
Create thread

Disassembly:
push esi
push 0x32000
push 3
call fcn.004064e1
push 0xc
push 1
mov esi, eax
call fcn.0041b8e4
mov ecx, dword [esp + 0x18]
add esp, 0x10
mov dword [eax], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x407cfc
push ecx
push ecx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
pop esi
ret

Function at 0x407e7c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xc
call fcn.00418160
mov esi, 0x19000
push esi
push 1
mov dword [ebp - 4], eax
call fcn.004064e1
mov edi, eax
push esi
push 2
mov dword [ebp - 0xc], edi
call fcn.004064e1
push 0xc
push 1
mov dword [ebp - 8], eax
call fcn.0041b8e4
mov esi, eax
mov eax, dword [ebp + 8]
push 0x10
push 1
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], edi
call fcn.0041b8e4
mov ebx, eax
mov eax, dword [ebp - 8]
add esp, 0x24
mov dword [ebx], edi
xor edi, edi
push edi
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x407bd3
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
push edi
push edi
mov dword [ebx + 8], eax
call esi
mov ecx, dword [ebp - 4]
push edi
push edi
push ebx
push 0x407c0d
push edi
push edi
mov dword [ecx], eax
call esi
mov ecx, dword [ebp - 4]
push edi
push edi
push ebx
push 0x407c42
push edi
push edi
mov dword [ecx + 8], eax
call esi
mov ecx, dword [ebp - 4]
push 0xffffffffffffffff
push eax
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0xc]
call fcn.0040653f
mov esi, dword [ebp - 8]
call fcn.0040653f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edi
jne 0x407f46
cmp dword [ebx + 0xc], edi
jne 0x407f46
xor eax, eax
inc eax
jmp 0x407f48
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407f4d
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push 0xc
call fcn.00418160
mov dword [esp], 0x19000
push 5
mov edi, eax
call fcn.004064e1
push 0x10
push 1
mov ebx, eax
call fcn.0041b8e4
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
xor eax, eax
push eax
push eax
push esi
push 0x407c0d
push eax
mov dword [esi + 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call ebx
mov dword [edi + 8], eax
xor eax, eax
push eax
push eax
push esi
push 0x407c42
push eax
push eax
call ebx
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x4088bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x7d4
mov eax, dword [0x445504]
xor eax, esp
mov dword [esp + 0x7d0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push str._Unarchiver___START__Extracting_archive__s_n
mov dword [esp + 0x2c], eax
call fcn.004094f4
call fcn.0041b923
add eax, 0x20
push eax
call fcn.00419296
or dword [esp + 0x34], 0xffffffff
xor ebx, ebx
push 0x436700
mov dword [esp + 0x30], ebx
call fcn.0040c970
add esp, 0x10
cmp eax, 0xffffffff
mov esi, str.mixed
je 0x408955
push 0x436350
call fcn.0040c970
cmp eax, 0xffffffff
pop ecx
je 0x408955
push 0x436618
call fcn.0040c970
cmp eax, 0xffffffff
pop ecx
je 0x408955
push esi
call fcn.0040ca80
imul eax, eax, 0x68
lea ecx, [esp + 0x44]
push ecx
call dword [eax + 0x446dbc]
pop ecx
jmp 0x40895f
push str.WARNING:_Error_registering_mixed_hash
call fcn.00418223
pop ecx
push 0x100000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
call fcn.00418160
pop ecx
mov ebx, eax
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x38]
push edi
call fcn.0040833d
add esp, 0x1c
test eax, eax
je 0x40897d
cmp dword [esp + 0x28], 0xffffffff
je 0x408a27
push str._Unarchiver__Verifying_signature_n
call fcn.004094f4
push esi
call fcn.0040ca80
push 0x40
mov esi, eax
call fcn.00418160
imul esi, esi, 0x68
mov edi, eax
lea eax, [esp + 0x4c]
push edi
push eax
call dword [esi + 0x446dc4]
push dword [esp + 0x34]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, edi
call fcn.004182f0
mov edi, eax
shr edi, 1
inc edi
inc edi
push edi
call fcn.00418160
push dword [esp + 0x3c]
mov ebx, eax
push edi
push ebx
call fcn.00408f18
mov edi, eax
push edi
push str._Unarchiver__Produced_a_signature_of_length__d_n
call fcn.004094f4
push esi
push edi
push ebx
call fcn.00401029
add esp, 0x3c
test al, al
je 0x408a4e
push str._Unarchiver__Archive_signature_verified._n
call fcn.004094f4
pop ecx
push dword [esp + 0x24]
push str._Unarchiver___END__Extracting_archive__s_n
call fcn.004094f4
pop ecx
pop ecx
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00418074
mov esp, ebp
pop ebp
ret
mov esi, 0x442d28
push esi
call fcn.004094f4
mov dword [esp], str._Unarchiver__ERROR___unable_to_verify_signature_of_hash_of_archive._n
call fcn.004094f4
mov dword [esp], str._Unarchiver__JWrapper_will_disregard_this_update._n
call fcn.004094f4
push dword [esp + 0x28]
call fcn.00408f6b
push esi
call fcn.004094f4
add esp, 0xc
push 1
call fcn.00418fce
int3
Function at 0x4090f2
Capabilities:
Encode data using xor
Get session user name
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x445504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ALLUSERSPROFILE
call fcn.0041ad0d
mov dword [ebp - 0xdc], eax
pop ecx
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0xe0], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x70]
push eax
call fcn.004182f0
mov ebx, eax
xor edi, edi
test ebx, ebx
pop ecx
mov esi, 0x811c9dc5
jle 0x409174
mov al, byte [ebp + edi - 0x70]
movzx ecx, al
xor ecx, esi
imul ecx, ecx, 0x1000193
mov esi, ecx
movsx eax, al
push esi
push eax
push edi
push str.__d___d__d_n
call fcn.004094f4
add esp, 0x10
inc edi
cmp edi, ebx
jl 0x40914b
test esi, esi
jge 0x40917a
neg esi
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.00419590
add esp, 0xc
push esi
lea eax, [ebp - 0xd8]
push 0x43ecb0
push eax
call fcn.00418c53
lea eax, [ebp - 0x70]
add esp, 0xc
push eax
xor esi, esi
call fcn.004182f0
test eax, eax
pop ecx
jbe 0x4091cd
lea eax, [ebp + esi - 0x70]
cmp byte [eax], 0x80
jb 0x4091be
mov byte [eax], 0x5f
lea eax, [ebp - 0x70]
push eax
inc esi
call fcn.004182f0
cmp esi, eax
pop ecx
jb 0x4091b2
push 0x1388
call fcn.00418160
pop ecx
push dword [ebp - 0xdc]
mov esi, eax
push esi
mov byte [esi], 0
call fcn.00418390
push str.JWUser_
call fcn.00409417
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.00418390
push 0x43e0fc
push esi
call fcn.00418390
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00418390
push esi
call fcn.004093f8
mov ecx, dword [ebp - 4]
add esp, 0x1c
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418074
leave
ret
Function at 0x409232
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x445504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.APPDATA
mov dword [ebp - 0xa0], 0x94
call fcn.0041ad0d
mov esi, eax
test esi, esi
pop ecx
mov ebx, 0x1388
je 0x4092bf
push esi
call fcn.004182f0
cmp eax, 2
pop ecx
jbe 0x4092bf
cmp byte [esi], 0x5c
jne 0x4092bf
cmp byte [esi + 1], 0x5c
jne 0x4092bf
push str._Extractor__Roaming_AppData_directory_detected_n
call fcn.004094f4
pop ecx
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x409303
cmp dword [ebp - 0x9c], 5
jbe 0x4092cb
push str.LOCALAPPDATA
call fcn.0041ad0d
pop ecx
mov esi, eax
push esi
push str._Extractor__Local_AppData_directory_resolved_to__s_n
call fcn.004094f4
pop ecx
jmp 0x409302
push str._Extractor__Local_AppData_directory_detected_n
call fcn.004094f4
jmp 0x409302
push str.USERPROFILE
call fcn.0041ad0d
pop ecx
push ebx
mov edi, eax
call fcn.00418160
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00418390
push str.Local_Settings
call fcn.00409417
add esp, 0xc
push str.Application_Data
call fcn.00409417
pop ecx
push str.Validating_directory..._n
call fcn.004094f4
pop ecx
push esi
push str.Shared_dir_detected_is__s_n
call fcn.004094f4
push esi
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x40938b
push esi
push str.Checking_if_string_is_cAscii__s_n
call fcn.004094f4
push esi
xor edi, edi
call fcn.004182f0
add esp, 0xc
test eax, eax
jbe 0x409352
cmp byte [edi + esi], 0x80
jae 0x40938b
push esi
inc edi
call fcn.004182f0
cmp edi, eax
pop ecx
jb 0x409340
push esi
push str.Checking_if__s_contains_a___n
call fcn.004094f4
push esi
xor edi, edi
call fcn.004182f0
add esp, 0xc
test eax, eax
jbe 0x40937e
cmp byte [edi + esi], 0x21
je 0x40938b
push esi
inc edi
call fcn.004182f0
cmp edi, eax
pop ecx
jb 0x40936c
push str.Shared_directory_appears_valid._n
call fcn.004094f4
pop ecx
jmp 0x4093e7
push esi
push str.The_directory__s_appears_invalid._n
call fcn.004094f4
push esi
push str.Trying_the_short_path_instead._n
call fcn.004094f4
push ebx
call fcn.00418160
add esp, 0x14
push 0x400
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4093d9
push edi
push str.Got_short_path_of__s_n
call fcn.004094f4
push esi
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x4093d9
mov eax, edi
jmp 0x4093e9
push edi
call fcn.00418083
pop ecx
call fcn.004090f2
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418074
leave
ret
Function at 0x409717
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
push edi
push str._Windows_Subsystem__Fixing__s_n
call fcn.004094f4
push 0x4432f0
push edi
call fcn.004193f6
add esp, 0x10
mov esi, eax
test esi, esi
mov byte [ebp - 4], 0x50
mov byte [ebp - 3], 0x45
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
push edi
jne 0x409765
push str._Windows_Subsystem__Could_not_open_file__s_n
call fcn.004094f4
pop ecx
pop ecx
push 1
call fcn.00418fce
push str._Windows_Subsystem__Opened__s_n
call fcn.004094f4
pop ecx
xor ebx, ebx
pop ecx
xor edi, edi
push esi
call fcn.0041ae7f
pop ecx
push esi
mov dword [ebp - 8], eax
inc ebx
call fcn.0041ba9e
test eax, eax
pop ecx
jne 0x409838
mov al, byte [ebp - 8]
cmp al, byte [ebp + edi - 4]
jne 0x40979b
inc edi
jmp 0x40979d
xor edi, edi
cmp edi, 4
jne 0x409775
cmp ebx, 0xffffffff
mov dword [0x454e54], ebx
je 0x40975e
lea edi, [ebx + 0x58]
push edi
push 0x58
push ebx
push str._Windows_Subsystem__Found_marker_OK_at__d___d___d__n
call fcn.004094f4
xor ebx, ebx
push ebx
push edi
push esi
call fcn.0041c410
add esp, 0x1c
push edi
push str._Windows_Subsystem__Skipped_to_relevant_spot__d_n
call fcn.004094f4
push esi
call fcn.0041ae7f
add esp, 0xc
push eax
push str._Windows_Subsystem__Was__02X_n
call fcn.004094f4
push ebx
push edi
push esi
call fcn.0041c410
add esp, 0x14
push esi
push 2
call fcn.0041bf47
push esi
call fcn.00419296
add esp, 0xc
push ebx
push edi
push esi
call fcn.0041c410
add esp, 0xc
push esi
call fcn.0041ae7f
pop ecx
push eax
push str._Windows_Subsystem__Now__02X_n
call fcn.004094f4
push esi
call fcn.00419296
add esp, 0xc
push esi
call fcn.0041ae03
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.SS_edit___PE_sig
push str.Could_not_find_marker:__s_n
jmp 0x409757

Function at 0x409975
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x445504]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str.perm_all
push esi
call fcn.00419890
test eax, eax
pop ecx
pop ecx
jne 0x409a14
push str.Permanent_install_for_all_users_n
call fcn.004094f4
pop ecx
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4099d9
cmp dword [ebp - 0x9c], 5
jbe 0x4099d9
push str.PROGRAMDATA
call fcn.0041ad0d
pop ecx
jmp 0x409a3c
push str.ALLUSERSPROFILE
call fcn.0041ad0d
mov edi, eax
mov dword [esp], 0x1388
call fcn.00418160
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00418390
push str.Application_Data
call fcn.00409417
add esp, 0xc
push esi
call fcn.004093f8
pop ecx
jmp 0x409a3e
push str.perm_user
push esi
call fcn.00419890
test eax, eax
pop ecx
pop ecx
jne 0x409a2c
push str.Permanent_install_for_current_user_n
jmp 0x409a31
push str.Temporary_install_n
call fcn.004094f4
pop ecx
call fcn.00409232
mov esi, eax
test esi, esi
jne 0x409a54
push str.ERROR:_Unable_to_get_shared_dir_
call fcn.004094f4
pop ecx
push 1
call fcn.00418fce
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00418074
leave
ret
Function at 0x40b8d0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40b8f0
push 0xd0
push str.._srchashes_sha2_sha256.c
push 0x4364a8
call fcn.0040da50
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0x6a09e667
mov dword [esi + 0x284], 0xbb67ae85
mov dword [esi + 0x288], 0x3c6ef372
mov dword [esi + 0x28c], 0xa54ff53a
mov dword [esi + 0x290], 0x510e527f
mov dword [esi + 0x294], 0x9b05688c
mov dword [esi + 0x298], 0x1f83d9ab
mov dword [esi + 0x29c], 0x5be0cd19
xor eax, eax
pop esi
ret

Function at 0x40be70
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40be8d
push 0x2a
push str.c:users_simplehelpworkspace_runner_nativelibtomlibtomcrypt_srchashes_sha2_sha224.c
push 0x4364a8
call fcn.0040da50
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0xc1059ed8
mov dword [esi + 0x284], 0x367cd507
mov dword [esi + 0x288], 0x3070dd17
mov dword [esi + 0x28c], 0xf70e5939
mov dword [esi + 0x290], 0xffc00b31
mov dword [esi + 0x294], 0x68581511
mov dword [esi + 0x298], 0x64f98fa7
mov dword [esi + 0x29c], 0xbefa4fa4
xor eax, eax
pop esi
ret
Function at 0x418074
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445504]
jne 0x41807e
repz ret
jmp fcn.0041d0f5

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41c15b
call fcn.0041859c
mov dword [eax], esi
call fcn.00418589
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041eeae
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41c137
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c18a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004185af
pop ecx
call fcn.00418589
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41c1b1
test al, 1
je 0x41c1b1
test byte [esp + 0xc], 2
je 0x41c1b1
call fcn.0041859c
mov dword [eax], 5
call fcn.00418589
mov dword [eax], 0xd
jmp 0x41c181
xor eax, eax
pop esi
ret
Function at 0x425dd3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041ef35
xor ebx, ebx
cmp dword [0x4489e8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x425ea8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x425e13
xor eax, eax
jmp 0x425f6c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x425e0c
push eax
call fcn.0041eed2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4489e8], eax
call esi
push eax
call fcn.0041eed2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4489ec], eax
call esi
push eax
call fcn.0041eed2
mov dword [0x4489f0], eax
lea eax, [ebp - 8]
push eax
call fcn.00418dfb
test eax, eax
pop ecx
pop ecx
je 0x425e76
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041edb2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x425ea8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041eed2
cmp eax, ebx
pop ecx
mov dword [0x4489f8], eax
je 0x425ea8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041eed2
pop ecx
mov dword [0x4489f4], eax
mov eax, dword [0x4489f4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x425f21
cmp dword [0x4489f8], esi
je 0x425f21
push eax
call fcn.0041ef3e
pop ecx
call eax
cmp eax, ebx
je 0x425eee
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4489f8]
call fcn.0041ef3e
pop ecx
call eax
test eax, eax
je 0x425eee
test byte [ebp - 0x18], 1
jne 0x425f21
lea eax, [ebp - 0xc]
push eax
call fcn.00418e32
test eax, eax
pop ecx
je 0x425f09
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041edb2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x425f18
or dword [ebp + 0x10], 0x200000
jmp 0x425f52
or dword [ebp + 0x10], 0x40000
jmp 0x425f52
mov eax, dword [0x4489ec]
cmp eax, esi
je 0x425f52
push eax
call fcn.0041ef3e
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x425f52
mov eax, dword [0x4489f0]
cmp eax, esi
je 0x425f52
push dword [ebp - 4]
push eax
call fcn.0041ef3e
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4489e8]
call fcn.0041ef3e
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4328a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
not eax
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 8
jbe 0x43296f
test bl, 7
je 0x4328d9
nop
movzx ecx, byte [ebx]
dec esi
movzx edx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x438038]
test bl, 7
jne 0x4328c0
mov edi, esi
and esi, 7
and edi, 0xfffffff8
add edi, ebx
cmp ebx, edi
jae 0x43296f
nop dword [eax + eax]
xor eax, dword [ebx]
add ebx, 4
mov dword [ebp + 0x10], ebx
add dword [ebp + 0x10], 4
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x438438]
xor edx, dword [ecx*4 + 0x438838]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x439438]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x439838]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x438038]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x439038]
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
xor edx, dword [ecx*4 + 0x438c38]
xor edx, dword [eax*4 + 0x439c38]
mov eax, edx
cmp ebx, edi
jb 0x4328f0
test esi, esi
je 0x43298d
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x438038]
sub esi, 1
jne 0x432973
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4329a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
not eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
not esi
cmp edi, 4
jbe 0x432a9a
mov dword [ebp + 0x14], ebx
test bl, 3
je 0x4329f7
nop word [eax + eax]
movzx ecx, byte [ebx]
dec edi
movzx edx, al
inc ebx
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x43a038]
xor esi, dword [edx*8 + 0x43a03c]
test bl, 3
jne 0x4329d0
mov dword [ebp + 0x14], ebx
mov edx, edi
mov dword [ebp - 8], 0
and edx, 0xfffffffc
mov dword [ebp - 4], 0
and edi, 3
mov dword [ebp + 0xc], edi
lea ecx, [edx + ebx]
add edx, 3
shr edx, 2
cmp ebx, ecx
cmova edx, dword [ebp - 8]
mov dword [ebp - 8], edx
test edx, edx
je 0x432a9a
mov edi, edx
mov ebx, dword [ebx]
xor ebx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*8 + 0x43a838]
mov edx, dword [edx*8 + 0x43a83c]
xor eax, dword [ecx*8 + 0x43b038]
xor edx, dword [ecx*8 + 0x43b03c]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*8 + 0x43a038]
xor edx, dword [ecx*8 + 0x43a03c]
movzx ecx, bl
mov ebx, dword [ebp + 0x14]
add ebx, 4
mov dword [ebp + 0x14], ebx
xor eax, dword [ecx*8 + 0x43b838]
xor edx, dword [ecx*8 + 0x43b83c]
xor eax, esi
mov ecx, dword [ebp - 4]
xor edx, 0
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
cmp ecx, edi
jb 0x432a28
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x432ac5
nop
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x43a038]
xor esi, dword [edx*8 + 0x43a03c]
sub edi, 1
jne 0x432aa0
not esi
not eax
pop edi
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401260
Capabilities:
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x402816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
push edi
push str._SystemRoot_System32_
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0xc]
push str.StormServer.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0xac], 0
call sub.MFC42.DLL_operator
push 0x4044f0
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0xac], 1
call sub.MFC42.DLL_operator
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00402600
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 0
call fcn.00402600
lea ecx, [esp + 8]
push ecx
push 0x404340
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edx, dword [esp + 8]
push 0x404334
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x18]
push 0x80
push eax
push 2
push 0
push 0x404334
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xc]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x9c
ret