joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424230
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x434558]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004141a5
mov dword [ebp - 0x14], eax
cmp dword [0x436a58], esi
jne 0x424323
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4242b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x424403
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x424403
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424403
push eax
call ebx
push 0x42f8c0
push edi
mov dword [0x436a58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x436a5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x436a60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x436a68], eax
test eax, eax
je 0x424320
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x436a64], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x424348
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42433b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42435d
push 4
pop eax
jmp 0x424405
cmp dword [ebp - 0x14], esi
je 0x42435d
push dword [0x436a58]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x424342
mov eax, dword [0x436a64]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4243bb
cmp dword [0x436a68], edi
je 0x4243bb
push eax
call ebx
push dword [0x436a68]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4243bb
test eax, eax
je 0x4243bb
call ecx
test eax, eax
je 0x4243b0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4243b0
test byte [ebp - 8], 1
jne 0x4243bb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4243eb
mov eax, dword [0x436a5c]
cmp eax, edi
je 0x4243e8
push eax
call ebx
test eax, eax
je 0x4243e8
call eax
mov esi, eax
test esi, esi
je 0x4243e8
mov eax, dword [0x436a60]
cmp eax, edi
je 0x4243e8
push eax
call ebx
test eax, eax
je 0x4243e8
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x436a58]
call ebx
test eax, eax
je 0x424403
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x424405
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d946
mov esp, ebp
pop ebp
ret
Function at 0x4095ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edx, dword [ebp - 0x45c]
add edx, 1
mov dword [ebp - 0x45c], edx
add esp, 4
pop edi
mov edx, dword [ebp - 0x15ec]
mov dword [ebp - 0xae4], edx
mov dword [ebp - 0xca8], 0
mov eax, dword [ebp - 0x45c]
cmp eax, dword [ebp - 0x15ec]
jne 0x4095cf
push ebx
jmp 0x409595
pop ebx
push eax
push edi
add esp, 4
or eax, 0x1783c
add eax, 0x5439
pop eax
push ecx
push ecx
add esp, 4
call 0x4095ba
add byte [ecx + 0x42], cl
inc eax
inc esp
push eax
cmp byte [edi - 0x7d], al
les eax, [ecx + ebx*2]
mov ecx, dword [ebp - 0xca8]
mov dword [ebp - 0x15f4], ecx
jmp 0x409700
cmp dword [ebp - 0xca4], 0
jle 0x4096f4
push eax
sub eax, 0xe0a3
and eax, 0xa7bc
and eax, 0x16b65
xor eax, 0x15a80
pop eax
push esi
push ecx
add esp, 4
or esi, 0x1797b
add esi, 0xc81
and esi, 0x18492
pop esi
mov edx, dword [ebp - 0xae0]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xae4]
movzx edx, byte [ecx]
cmp eax, edx
je 0x409690
push edx
and edx, 0x5e00
xor edx, 0x1180a
xor edx, 0x149d
pop edx
push edx
push eax
add esp, 4
or edx, 0x14e1f
or edx, 0xee8b
xor edx, 0xde29
jmp 0x409655
pop edx
mov eax, dword [ebp - 0xae0]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xae4]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x409678
mov dword [ebp - 0x15f0], 1
jmp 0x409682
mov dword [ebp - 0x15f0], 0xffffffff
mov ecx, dword [ebp - 0x15f0]
mov dword [ebp - 0xca8], ecx
jmp 0x4096f4
push eax
or eax, 0x16ccf
jmp 0x40969d
or eax, 0x14230
sub eax, 0xa613
pop eax
push edx
push esi
add esp, 4
jmp 0x4096b5
sub edx, 0x808f
or edx, 0x128e3
pop edx
mov edx, dword [ebp - 0xca4]
sub edx, 1
mov dword [ebp - 0xca4], edx
mov eax, dword [ebp - 0xae0]
add eax, 1
mov dword [ebp - 0xae0], eax
mov ecx, dword [ebp - 0xae4]
add ecx, 1
mov dword [ebp - 0xae4], ecx
jmp 0x4095cf
mov edx, dword [ebp - 0xca8]
mov dword [ebp - 0x15f4], edx
cmp dword [ebp - 0x15f4], 0
jne 0x409749
push esi
push ecx
add esp, 4
and esi, 0x11dac
pop esi
push ebx
push ebx
add esp, 4
xor ebx, 0x11989
pop ebx
push esi
or esi, 0x1254b
and esi, 0x156de
add esi, 0xfc98
xor esi, 0xbc8a
pop esi
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0xae8], eax
jmp 0x40978a
jmp 0x409497
Function at 0x409a86
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edx
push edx
add esp, 4
and edx, 0x12b6c
add edx, 0x17ebe
jmp 0x409a32
pop edx
push esi
push edi
add esp, 4
sub esi, 0x10505
sub esi, 0x106f9
and esi, 0x7a3b
pop esi
lea ecx, [ebp - 0x1770]
mov dword [ebp - 0xcb0], ecx
mov edx, dword [ebp - 0x458]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xcac], eax
xor ecx, ecx
push dword [ebx]
leave
mov word [ebp - 0x1bc], cx
xor edx, edx
mov word [ebp - 0x110], dx
push ecx
call fcn.00409a86
add byte [edi], bh
dec esp
inc eax
dec ebx
inc eax
cmp al, 0x83
add esp, 4
invalid
loope 0x409a65
add esp, 4
and ecx, 0x16cd9
insb byte es:[edi], dx
add dword [eax], eax
add ecx, 0x14562
pop ecx
push edi
or edi, 0x8706
add edi, 0x15d2e
xor edi, 0xedf2
pop edi
mov eax, dword [ebp - 0xcac]
mov cx, word [eax]
mov word [ebp - 0xc40], cx
mov edx, dword [ebp - 0xcac]
add edx, 2
mov dword [ebp - 0xcac], edx
mov ax, word [ebp - 0xc40]
mov word [ebp - 0x1bc], ax
mov ecx, dword [ebp - 0xcb0]
mov dx, word [ecx]
mov word [ebp - 0xfca], dx
mov eax, dword [ebp - 0xcb0]
add eax, 2
mov dword [ebp - 0xcb0], eax
mov cx, word [ebp - 0xfca]
mov word [ebp - 0x110], cx
push ecx
sub ecx, 0x1705f
or ecx, 0x6dda
add ecx, 0x46de
pop ecx
push edi
xor edi, 0x74cd
pop edi
push edi
sub edi, 0x2025
or edi, 0xcce3
pop edi
push edx
and edx, 0x185c2
pop edx
movzx edx, word [ebp - 0x110]
test edx, edx
jne 0x409b59
movzx eax, word [ebp - 0x1bc]
movzx ecx, word [ebp - 0x110]
sub eax, ecx
mov dword [ebp - 0x1600], eax
jmp 0x409bbc
movzx edx, word [ebp - 0x1bc]
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x409a78
movzx ecx, word [ebp - 0x1bc]
xor ecx, 0x20
movzx edx, word [ebp - 0x110]
cmp ecx, edx
je 0x409a78
movzx eax, word [ebp - 0x1bc]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
jge 0x409ba6
mov dword [ebp - 0x15fc], 0xffffffff
jmp 0x409bb0
mov dword [ebp - 0x15fc], 1
mov edx, dword [ebp - 0x15fc]
mov dword [ebp - 0x1600], edx
cmp dword [ebp - 0x1600], 0
jne 0x409c05
push edx
push eax
add esp, 4
jmp 0x409bd0
xor edx, 0x1513f
and edx, 0x120ab
pop edx
push ecx
push ebx
add esp, 4
or ecx, 0x8dcd
pop ecx
push eax
and eax, 0x122be
sub eax, 0x100e7
pop eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x2f8], eax
jmp 0x409c6d
push esi
or esi, 0xe7e8
xor esi, 0x2731
sub esi, 0x77a8
pop esi
push edx
push ecx
add esp, 4
or edx, 0x98d1
sub edx, 0xc6b8
sub edx, 0xbd17
add edx, 0x10157
pop edx
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
cmp eax, dword [ebp - 0xcb4]
je 0x409c63
mov ecx, dword [ebp - 0x458]
cmp dword [ecx + 0x30], 0
jne 0x409a19
mov dword [ebp - 0x2f8], 0
Function at 0x4330dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43320c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x4331e4
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.KERNEL32.DLL_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x4331cd
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.00419e2c
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0041a2a8
test eax, eax
jle 0x4331cd
mov eax, dword [ebp - 4]
test eax, eax
je 0x433181
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x43318f
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.0041a14c
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.00419dd8
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00419fdc
jmp 0x4331e4
add ebx, 2
cmp word [ebx], 0
jne 0x4331ca
add ebx, 4
test ebx, ebx
je 0x4331de
cmp word [ebx], 0
jne 0x43312e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433213
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00419160
lea eax, [ebp - 4]
call int.00419100
pop eax
jmp eax
Function at 0x4339c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x433a21
test eax, edx
je 0x433a24
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4339df
movzx eax, word [eax]
sub eax, ecx
jmp 0x433a06
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x433a07
add ecx, 4
js 0x4339f7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x433a04
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x433a06
xor eax, eax
ret
test eax, eax
je 0x433a30
test edx, edx
jne 0x4339d0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00419d78
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x43524a
test ah, 4
je 0x435243
test bl, bl
jne 0x435208
mov al, 1
jmp 0x435271
test al, 0x10
je 0x435210
xor eax, eax
jmp 0x435271
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x435234
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x435271
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x435271
test al, 0x10
sete al
jmp 0x435271
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x43526b
cmp ebx, 3
je 0x43526b
cmp ebx, 0x7b
je 0x43526b
mov eax, esi
call fcn.004351a0
test al, al
jne 0x43526f
xor eax, eax
jmp 0x435271
mov al, 1
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00419d78
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x435316
test esi, 0x400
jne 0x4352ad
test esi, 0x10
setne bl
jmp 0x435316
cmp byte [esp], 0
je 0x4352e1
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x435316
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x435316
test esi, 0x10
je 0x4352ed
mov bl, 1
jmp 0x435316
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x435314
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x435316
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4354d8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x43557f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00419d78
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x435562
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.004335c0
test al, al
je 0x435562
mov eax, dword [ebp - 4]
call fcn.00435ba8
test al, al
je 0x435552
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004358e4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0043db30
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00419fdc
mov eax, dword [ebp - 4]
call fcn.00419d78
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435586
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00419160
pop eax
jmp eax

Function at 0x435590
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x435665
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00419538
cmp byte [ebp - 9], 0
je 0x435621
mov eax, ebx
call fcn.00419d78
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test ah, 4
je 0x435621
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004335c0
test al, al
je 0x435621
mov eax, dword [ebp - 8]
call fcn.00435ba8
test al, al
je 0x435616
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004358e4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0043db30
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00419fdc
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00419538
push edi
mov eax, dword [ebp - 4]
call fcn.00419d78
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
jne 0x43563b
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43566c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00419160
lea eax, [ebp - 8]
mov edx, 2
call fcn.00419160
pop eax
jmp eax

Function at 0x43a5f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x43a629
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00419298
jmp 0x43a632
mov eax, ebx
mov edx, esi
call fcn.004194f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43d350
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x43d393
mov eax, dword [ebp - 0x10c]
mov dword [0x776bd8], eax
mov eax, 0x776bdc
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.00419e2c
mov eax, 0x776be0
call int.00419100
xor eax, eax
mov dword [0x776be4], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x776a9c], 0xa
jl 0x43d4e9
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x43d4f4
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x43d4e9
xor eax, eax
push ebp
push 0x43d4e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x43d550
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x43d442
cmp dword [ebp - 8], 2
jle 0x43d442
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x43d415
adc edx, 0
mov eax, 0x776be0
call fcn.00419f04
lea eax, [ebp - 8]
push eax
mov eax, dword [0x776be0]
call fcn.00419d78
push eax
push 0
push 0
push 0x43d550
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
jmp 0x43d49c
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x43d570
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x43d49c
cmp dword [ebp - 8], 2
jle 0x43d49c
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x43d471
adc edx, 0
mov eax, 0x776be0
call fcn.00419f04
lea eax, [ebp - 8]
push eax
mov eax, dword [0x776be0]
call fcn.00419d78
push eax
push 0
push 0
push 0x43d570
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x776be4
push 0
push 0
push 0x43d584
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
je 0x43d4c9
xor eax, eax
mov dword [0x776be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d4e9
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
pop eax
jmp eax
mov byte [0x765fa0], 1
mov esp, ebp
pop ebp
ret
Function at 0x441d14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x441d34
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x441d4e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x441d49
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x441d53
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x441dc1
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x441e0a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x441d7f
inc dword [ebp - 0xc]
jmp 0x441d97
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x441d97
cmp dword [ebp - 0xc], 0
jle 0x441d97
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x441db9
xor eax, eax
jmp 0x441db5
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x441db4
mov eax, esi
jmp 0x441e0d
inc eax
cmp eax, ecx
jle 0x441da1
inc esi
cmp esi, dword [ebp - 8]
jl 0x441d6b
jmp 0x441e0a
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x441e0a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x441de2
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x441e04
xor eax, eax
jmp 0x441e00
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x441dff
mov eax, esi
jmp 0x441e0d
inc eax
cmp eax, ecx
jle 0x441dec
inc esi
cmp esi, dword [ebp - 8]
jl 0x441dca
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x442240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x44225f
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x44226f
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x442391
test ebx, ebx
jl 0x442391
test esi, esi
jle 0x442391
mov eax, dword [ebp - 8]
call fcn.00419d78
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00419d78
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x44232e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x442391
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x442313
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x4422e2
inc dword [ebp - 0x14]
jmp 0x4422f2
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x4422f2
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x4422fd
or eax, 0xffffffff
jmp 0x442313
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x442310
inc eax
jmp 0x442313
or eax, 0xffffffff
test eax, eax
jl 0x44231b
cmp esi, eax
jg 0x4422d0
cmp esi, eax
jg 0x442326
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x442394
inc edx
dec dword [ebp - 0x1c]
jne 0x4422cc
jmp 0x442391
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x442391
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x442378
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x442357
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x442362
or eax, 0xffffffff
jmp 0x442378
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x442375
inc eax
jmp 0x442378
or eax, 0xffffffff
test eax, eax
jl 0x442380
cmp esi, eax
jg 0x442340
cmp esi, eax
jg 0x44238b
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x442394
inc edx
dec dword [ebp - 0x1c]
jne 0x44233c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x452c1c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x452c24
mov eax, edx
pop esi
pop ebx
ret

Function at 0x455870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x455887
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x455877
mov eax, ecx
pop ebx
ret
Function at 0x4d7464
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4d74b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004d6948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d74cb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4da254
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x779bd8
cmp dword [edi], 0
jne 0x4da2d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x779bd4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x767330
mov ecx, 2
call fcn.00416044
mov edx, 0x4da22c
lea eax, [esi + 5]
call fcn.004da24c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004da24c
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 0x4da2a5
mov dword [0x779bd4], 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 0x550758
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x769df8]
cmp edx, 4
mov eax, ecx
jl 0x550760
pop ebp
ret

Function at 0x55077c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x76a1f8]
cmp edx, 4
mov eax, ecx
jl 0x550784
pop ebp
ret