joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b21a7
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x5b21a0
cmp ecx, 0x62e6d0
je 0x5b21a0
xor eax, eax
inc eax
lock xadd dword [ecx + 0xb0], eax
inc eax
pop ebp
ret
mov eax, closesocket
dec ecx
sub eax, 0x86e5a454
call 0x8740c600
mov eax, ecx
ror edx, 0xf
call fcn.004a1782
neg esi
cmp ebp, 0x3c40735
jp 0x5b21c2
not eax
sub eax, 0xf6aa8c5f
and esi, 0xe1c466ea
mov esi, 0x5836329f
mov ecx, 0x656e8257
invalid

Function at 0x5b2200
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
inc eax
cmp dword [0x6b5494], edx
je 0x5b21e7
mov ebx, dword [0x6b442d]
test eax, ebp
jnp 0x5b21ee
ror edi, 2
call fcn.004c3ad3
neg eax
inc esi
test edi, eax
jns 0x5b21fd
shl edi, 0x1c
or edx, 0x796a886b
mov byte [edx + 0x79], ch
shl edi, 2
xor esi, 0x6a60a99d
inc edi
xor edi, edi
dec ecx
jne 0x5b21d8
mov ecx, 0x6c56c76d
add dword [0x6bffe6], edx
cmp ebp, esi
jg 0x5b2223
dec esi
test dword [0x6b4204], 0xdb16c603
js 0x5b2230
inc edi
dec esi
or edx, dword [0x6b2ee8]
shr esi, 0x15
and edi, esp
inc esi
neg eax
not eax
dec ecx
jne 0x5b2218
mov ecx, 0x3b064f69

Function at 0x5b2281
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
xor edi, esp
and eax, 0x244c7516
mov esi, ebp
or edx, ebp
and eax, 0x3dd9bf1f
or ebx, ebx
add dword [0x6bffdc], 0x9b5ccb90
call fcn.004cc479
neg esi
rol eax, 0x17
or edx, ebx
not edi
rol eax, 6
neg esi
mov dword [0x6bff99], edi
add edi, eax
not edx
and edi, 0x724b4dff
shr eax, 0x1a
dec ecx
jne 0x5b224a
sub eax, edx
mov eax, 0x38720a16
not ecx
sub eax, 0x49e0ac06
mov dword [0x6bff92], ebx
dec esi
xor ebx, 0x5590b80
sub ecx, ebx
rol edx, 0xd
and dword [0x6bffdb], esi
sub dword [0x6bffee], 0xbe3beaa0
call fcn.00436c5d
call fcn.004685f5
add dword [0x6bffa5], 0x4a77d9aa
add dword [0x6bff90], edi
ror edx, 0xd
add ecx, ebx
xor ebx, 0x5590b80
inc esi
add eax, 0x49e0ac06
not ecx
sub eax, 0x4b8241f0
invalid
Function at 0x5ba590
Capabilities:
Write file on windows

Disassembly:
push dword [ecx + 0x30]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.005967e0
add esp, 0x10
cmp eax, dword [esp + 8]
sete al
ret 8
Function at 0x5bee70
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x6bbb9c]
cmp eax, 1
jne 0x5bee7d
mov al, al
ret
cmp eax, 2
jne 0x5bee85
xor al, al
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
push 0x6a0330
mov dword [0x6bbb9c], 2
call ebx
mov esi, eax
test esi, esi
je 0x5bef60
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MFStartup
push esi
call edi
mov dword [0x6bbbb4], eax
test eax, eax
je 0x5bef60
push str.MFShutdown
push esi
call edi
mov dword [0x6bbbb0], eax
test eax, eax
je 0x5bef60
push str.MFCreateAttributes
push esi
call edi
mov dword [0x6bbbac], eax
test eax, eax
je 0x5bef60
push str.MFCreateMediaType
push esi
call edi
mov dword [0x6bbba8], eax
test eax, eax
je 0x5bef60
push str.mfreadwrite.dll
call ebx
test eax, eax
je 0x5bef60
push str.MFCreateSourceReaderFromURL
push eax
call edi
mov dword [0x6bbba4], eax
test eax, eax
je 0x5bef60
push str.propsys.dll
call ebx
test eax, eax
je 0x5bef60
push str.PropVariantToUInt32
push eax
call edi
mov dword [0x6bbba0], eax
test eax, eax
je 0x5bef60
mov eax, dword [0x6bbbb4]
push 0
push 0x20070
call eax
mov ecx, dword [0x6bbb9c]
test eax, eax
mov edx, 1
cmovns ecx, edx
pop edi
cmp ecx, edx
mov dword [0x6bbb9c], ecx
pop esi
sete al
pop ebx
ret
mov ecx, dword [0x6bbb9c]
cmp ecx, 1
pop edi
pop esi
sete al
pop ebx
ret
Function at 0x5c2810
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x54
push ebx
push esi
push edi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x5c2938
call fcn.005bee70
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
push 0
movaps xmmword [esp + 0x44], xmm0
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x38], 0x5c26a0
call esi
push 0x7f00
push 0
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], str.BitComet_Video_Snapshot___Window_Class
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x5c2938
push 0
push 0
call esi
push eax
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xcf0000
push str.BitComet_Video_Snapshot
push str.BitComet_Video_Snapshot___Window_Class
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x5c2938
push 0xa
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
xorps xmm0, xmm0
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
movaps xmmword [esp + 0x10], xmm0
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
je 0x5c292a
lea eax, [esp + 0x10]
push eax
call ebx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esp + 0x14], 0x12
jne 0x5c2905
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.005bee70
test al, al
je 0x5c2947
call dword [0x6bbbb0]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1044a108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1044a258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1044a12e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1044a11a
add dl, dl
jne 0x1044a139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1044a18c
xor eax, eax
add dl, dl
jne 0x1044a146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1044a22d
add dl, dl
jne 0x1044a155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1044a160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1044a16b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1044a176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1044a182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1044a125
mov eax, 1
add dl, dl
jne 0x1044a19a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1044a1a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1044a191
sub eax, ebx
mov ebx, 1
jne 0x1044a1d8
mov ecx, 1
add dl, dl
jne 0x1044a1be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1044a1c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1044a1b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1044a125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1044a1ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1044a1fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1044a1e6
cmp eax, 0x7d00
jae 0x1044a21d
cmp eax, 0x500
jb 0x1044a218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1044a125
cmp eax, 0x7f
ja 0x1044a220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1044a125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1044a24e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1044a125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405890
Capabilities:
Encode data using xor

Disassembly:
mov edi, esi
xor ebx, 0xffffffff
aas
int1
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
pop eax
jge 0x40585e
xor eax, dword [edi]
jge 0x405872
test edi, edi
je 0x4058c7
lea edx, [ecx - 0x36aff4]
xor eax, eax
repne scasb al, byte es:[edi]
push eax
leave
push dword [ebx]
sal dl, 0xae
not ecx
dec ecx
xor bh, byte [eax]
push es
cmp dword [0xdc9d4c89], eax
inc ebx
mov edi, dword [esi + 4]
sub esp, 4
add edx, ecx
test edi, edi
jne 0x4058a7
mov esi, ebp
or byte [edx + 0x52], al
call fcn.00404a60
mov edi, edi
or al, 0x33
leave
movsb byte es:[edi], byte [esi]
test byte [ecx - 0x2f740bbb], 0x89
invalid

Function at 0x401e1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4a4fec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x4800b8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov eax, 0x47fd28
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebp + 8]
push eax
push 0x4a93b8
push 0x47fce4
lea eax, [ebp - 0xcc]
push 0x18
push eax
mov dword [ebp - 0xcc], 0x4800ac
mov dword [ebp - 0xc8], 0x480094
mov dword [ebp - 0xc4], 0x48008c
mov dword [ebp - 0xc0], 0x480078
mov dword [ebp - 0xbc], 0x480070
mov dword [ebp - 0xb8], 0x48005c
mov dword [ebp - 0xb4], 0x480054
mov dword [ebp - 0xb0], 0x48003c
mov dword [ebp - 0xac], 0x480038
mov dword [ebp - 0xa8], 0x480028
mov dword [ebp - 0xa4], 0x48001c
mov dword [ebp - 0xa0], 0x480004
mov dword [ebp - 0x9c], 0x47fff8
mov dword [ebp - 0x98], 0x47ffe0
mov dword [ebp - 0x94], 0x47ffd4
mov dword [ebp - 0x90], 0x47ffb8
mov dword [ebp - 0x8c], 0x47ffac
mov dword [ebp - 0x88], 0x47ff94
mov dword [ebp - 0x84], 0x47ff84
mov dword [ebp - 0x80], 0x47ff68
mov dword [ebp - 0x7c], 0x47ff54
mov dword [ebp - 0x78], 0x47ff3c
mov dword [ebp - 0x74], 0x47ff2c
mov dword [ebp - 0x70], 0x47ff10
mov dword [ebp - 0x6c], 0x47ff00
mov dword [ebp - 0x68], 0x47fee4
mov dword [ebp - 0x64], 0x47fed0
mov dword [ebp - 0x60], 0x47feb0
mov dword [ebp - 0x5c], 0x47fea4
mov dword [ebp - 0x58], 0x47fe8c
mov dword [ebp - 0x54], 0x47fe74
mov dword [ebp - 0x50], 0x47fe50
mov dword [ebp - 0x4c], 0x47fe40
mov dword [ebp - 0x44], 0x47fe2c
mov dword [ebp - 0x3c], 0x47fe20
mov dword [ebp - 0x38], 0x47fe08
mov dword [ebp - 0x34], 0x47fdf8
mov dword [ebp - 0x30], 0x47fddc
mov dword [ebp - 0x2c], 0x47fdcc
mov dword [ebp - 0x28], 0x47fdb0
mov dword [ebp - 0x24], 0x47fda4
mov dword [ebp - 0x20], 0x47fd8c
mov dword [ebp - 0x1c], 0x47fd80
mov dword [ebp - 0x18], 0x47fd68
mov dword [ebp - 0x14], 0x47fd5c
mov dword [ebp - 0x10], 0x47fd44
call fcn.00401da4
mov ecx, dword [ebp - 4]
add esp, 0x14
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0043cac0
leave
ret
Function at 0x4236c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
jmp 0x4236da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4236e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4236d0
mov eax, 1
add ebx, ebx
jne 0x4236f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4236e8
jne 0x423704
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4236e8
xor ecx, ecx
sub eax, 3
jb 0x423718
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42378a
mov ebp, eax
add ebx, ebx
jne 0x423723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423730
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x423754
inc ecx
add ebx, ebx
jne 0x423740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x423735
jne 0x423751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423735
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423774
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x423765
jmp 0x4236d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423774
add edi, ecx
jmp 0x4236d6
pop esi
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x4237d3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423791
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23030]
or eax, eax
je 0x4237cd
mov dword [ebx], eax
add ebx, 4
jmp 0x4237ae
call dword [esi + 0x2302c]
mov ebp, dword [esi + 0x23034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x423807
sub esp, 0xffffff80
jmp 0x4038fc
Function at 0x43b65f
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edx
sub edi, eax
dec eax
sub eax, eax
call fcn.0043b6a4
add eax, 0xa87ef2fc
xor dword [ecx], edx
add eax, eax
inc ecx
sub edi, 0xc1abcf87
or eax, eax
sub edi, 0x696e0f23
cmp ecx, esi
jne fcn.0043b65f
add edi, eax
add eax, 0x3433fc00
or edi, edi
ret
Function at 0x401b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401b89
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x401b9d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401bbe
cmp esi, eax
jae 0x401b97
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401bb0
cmp esi, eax
jae 0x401b97
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x407310
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x443908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x45569c]
mov eax, 0x59da2e6b
imul ecx
mov ecx, dword [0x455690]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebx
push esi
mov esi, eax
mov eax, 0x9cbd99d5
imul ecx
mov eax, dword [0x4556a8]
sar edx, 0xb
imul eax, eax, 0xaef
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45568c]
imul edx, edx, 0x140f
push edi
mov edi, ecx
mov ecx, dword [0x455694]
sub edi, esi
add edi, edx
add edi, eax
mov eax, 0x4700d503
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add edi, edx
mov edx, dword [0x56bcbc]
add ecx, edi
mov dword [str._r_____r____], ecx
mov ecx, 0x56bcbc
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [0x45569c]
mov esi, dword [0x4556a8]
mov eax, 0x6342662b
imul esi, esi, 0x14a2
imul ecx
mov ecx, dword [0x455688]
sar edx, 0xb
imul ecx, ecx, 0x12b9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x455690]
mov eax, 0x1cb32649
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
sub esi, eax
mov eax, dword [0x4556a0]
lea ecx, [esp + 0x24]
sub esi, eax
push ecx
sub esi, 0x5cc
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
mov dword [0x455690], esi
call fcn.00407080
mov esi, dword [0x45568c]
mov edi, dword [0x455690]
mov ecx, dword [0x455694]
imul edi, edi, 0x16cb
mov eax, esi
imul eax, eax, 0x15c4
add edi, eax
mov eax, 0x6342662b
imul ecx
imul ecx, ecx, 0x5cc
sar edx, 0xb
mov ebx, edx
add edi, edx
mov eax, 0x6d62dd3b
imul esi
mov esi, dword [esp + 0xc]
sar edx, 0xb
mov eax, edx
shr ebx, 0x1f
shr eax, 0x1f
add ebx, edi
add eax, edx
sub ebx, eax
add ebx, ecx
push esi
mov dword [0x45569c], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebx
jg 0x4074ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x416300
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x456fc0]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x416422
lea ecx, [esp + 8]
call fcn.004161e0
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x416426
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x4163d0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.00416300
mov edi, eax
test edi, edi
jne 0x41644a
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x416392
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4163e9
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x416408
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0042904d
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x416431
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0042904d
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x416459
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.0042904d
add esp, 0x118
ret 4
Function at 0x416930
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x416942
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x41a2b0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [0x45569c]
mov eax, 0x59da2e6b
imul ebp
sar edx, 0xb
mov ecx, dword [0x4556a8]
mov eax, edx
shr eax, 0x1f
add eax, edx
push esi
mov esi, eax
mov eax, 0x9cbd99d5
imul dword [0x455690]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
push edi
mov edi, eax
mov eax, dword [0x45568c]
imul eax, eax, 0x140f
mov ebx, ecx
imul ebx, ebx, 0xaef
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, 0x4700d503
imul dword [0x455694]
mov eax, dword [esp + 0x10]
sub edi, esi
sar edx, 9
mov esi, edx
shr esi, 0x1f
add eax, edi
add esi, edx
add esi, eax
cmp dword [esp + 0x18], 0x132b600
mov dword [str._r_____r____], esi
je 0x41a352
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x64
mov edi, edi
push 0x3e8
call edi
dec esi
jne 0x41a340
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [0x4556a0]
mov eax, edi
imul eax, eax, 0x16cb
mov dword [esp + 0x18], eax
mov eax, 0x5e17e411
imul ebp
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [0x4556a4]
mov ebp, dword [0x455690]
mov dword [esp + 0x18], eax
mov eax, 0x6d62dd3b
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
sub edx, eax
mov eax, ebp
imul eax, eax, 0x5cc
sub edx, eax
mov eax, dword [0x56977c]
add edx, esi
mov esi, dword [0x455688]
add esi, edx
mov edx, eax
inc eax
test edx, edx
mov dword [0x455688], esi
mov dword [0x56977c], eax
jle 0x41a420
mov ecx, dword [0x45568c]
imul edi, edi, 0x140f
mov eax, 0x903bb8bb
imul ecx
add edx, ecx
sar edx, 0xb
add edi, edx
mov ecx, edx
mov eax, 0x4700d503
imul ebp
sar edx, 9
shr ecx, 0x1f
add ecx, edi
mov eax, edx
shr eax, 0x1f
add ecx, edx
mov edx, dword [0x455694]
add eax, ecx
sub eax, ebx
pop edi
sub eax, edx
pop esi
add eax, 0x11d7
pop ebp
mov dword [0x45568c], eax
mov eax, 1
pop ebx
pop ecx
ret
mov eax, 0x6342662b
imul ecx, ecx, 0x14a2
imul esi, esi, 0x12b9
imul dword [0x45569c]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x1cb32649
imul ebp
sar edx, 9
mov eax, edx
add ecx, esi
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, edi
sub ecx, 0x5cc
mov dword [0x455690], ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x419da0
push 0
push 0
mov dword [0x5694a8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x45568c]
mov edx, dword [0x455698]
imul esi, esi, 0x140f
mov ecx, dword [0x45569c]
imul edx, edx, 0x12b9
add esi, edx
mov eax, 0x903bb8bb
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 0xb
imul ecx, ecx, 0x736
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x4556a4]
pop edi
lea edx, [ecx + esi - 0x5cc]
pop esi
pop ebp
mov dword [0x455694], edx
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x41ed90
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x4556a8]
push ebx
push esi
mov ebx, dword [0x4556a0]
push edi
imul ebx, ebx, 0xe33
mov edi, dword [0x455694]
mov eax, 0x4700d503
imul edi
sar edx, 9
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0xcc33a611
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455698]
sub ebx, eax
mov eax, 0x5da803a9
imul edx
sar edx, 0xa
add ebx, edx
mov eax, edx
mov edx, ecx
imul edx, edx, 0x5cc
shr eax, 0x1f
add eax, ebx
sub eax, edx
sub eax, esi
mov dword [0x455698], eax
cmp dword [esp + 0x10], 0x132b600
je 0x41ee70
mov edx, dword [0x45569c]
imul ecx, ecx, 0xaef
mov eax, 0x59da2e6b
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455690]
mov edi, eax
mov eax, 0x9cbd99d5
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45568c]
imul edx, edx, 0x140f
sub eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add edx, esi
add edx, eax
add ecx, edx
mov dword [str._r_____r____], ecx
mov esi, 0x64
push 0x3e8
call edi
dec esi
jne 0x41ee60
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov esi, dword [0x45568c]
mov ebx, dword [0x455690]
imul ebx, ebx, 0x16cb
mov eax, esi
imul eax, eax, 0x15c4
add ebx, eax
mov eax, 0x6342662b
imul edi
imul edi, edi, 0x5cc
sar edx, 0xb
add ebx, edx
mov ecx, edx
mov eax, 0x6d62dd3b
imul esi
sar edx, 0xb
shr ecx, 0x1f
mov eax, edx
shr eax, 0x1f
add ecx, ebx
add eax, edx
sub ecx, eax
mov eax, dword [0x56949c]
add ecx, edi
test eax, eax
mov dword [0x45569c], ecx
jne 0x41efa5
mov eax, 0x59da2e6b
imul ecx
imul ecx, ecx, 0x736
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a4]
mov edi, eax
mov eax, 0x9cbd99d5
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455688]
imul edx, edx, 0xe33
mov ebx, eax
sub ebx, edi
add ebx, edx
mov eax, 0x4700d503
imul esi
add ebx, ecx
lea ecx, [esp + 0x10]
push ecx
push 0
sar edx, 9
push 0
mov eax, edx
shr eax, 0x1f
push 0x41d830
add eax, edx
push 0
sub ebx, eax
push 0
mov dword [0x4556a4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [0x45568c]
mov edx, dword [0x455698]
imul esi, esi, 0x140f
mov ecx, dword [0x45569c]
imul edx, edx, 0x12b9
mov dword [0x56948c], eax
add esi, edx
mov eax, 0x903bb8bb
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 0xb
imul ecx, ecx, 0x736
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x4556a4]
lea edx, [ecx + esi - 0x5cc]
mov dword [0x56949c], 1
mov dword [0x455694], edx
pop edi
pop esi
mov eax, 1
pop ebx
ret