joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c9740
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.005bae30
add esp, 4
test al, al
jne 0x5c992b
push str._nocrashdialog
call fcn.005bae30
add esp, 4
test al, al
jne 0x5c992b
call fcn.005c8030
test al, al
jne 0x5c978b
call fcn.005bbef0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.005bae30
add esp, 4
test al, al
je 0x5c97a5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x68d324], 0
je 0x5c992b
mov esi, dword [0x6dbf6c]
mov dword [ebp - 4], 0x6dbf6c
test esi, esi
je 0x5c9859
jmp 0x5c97d0
mov edi, dword [esi + 0x20c]
lea ebx, [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.005e5494
add esp, 8
test eax, eax
jne 0x5c984c
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x5c9807
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x5c9816
cmp edx, dword [esi + 0x204]
jle 0x5c981a
test al, al
jne 0x5c984c
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x5c992b
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x5c992b
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.005d1175
add esp, 8
jmp 0x5c984f
mov dword [ebp - 4], ebx
mov esi, edi
test edi, edi
jne 0x5c97d0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [0x6dbf70], ebx
mov dword [0x6dbf74], esi
mov dword [0x6dbf78], edi
mov byte [0x6dbf66], 0
mov dword [0x6dbf7c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x5c9700
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x6dbf7c]
test eax, eax
jne 0x5c9909
push edi
push esi
push ebx
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00455a80
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x5c98f1
pop edi
pop esi
mov byte [0x6dbf66], 1
mov al, byte [0x6dbf66]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x5c991f
mov al, byte [0x6dbf66]
pop edi
pop esi
mov byte [0x68d324], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x5c9370
push eax
push 0x65
push dword [0x6dbf68]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x6dbf66]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c9ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.005c9a90
test al, al
je 0x5ca05c
push ebx
push esi
push edi
call fcn.005c9a70
mov esi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.005d2a10
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x6dbf84
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x5c9fea
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
push 0
push dword [0x6dbfbc]
lea eax, [ebp - 0x118]
push dword [0x6dbfb8]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x6dbfa0]
test eax, eax
je 0x5c9fea
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x5c9fea
cmp edi, ebx
jle 0x5c9fe4
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x5c9fe4
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x5c9f80
push 0x6dbf84
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x5ca059
jmp 0x5ca020
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
shld ecx, edx, 2
shl edx, 2
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], ecx
xor edx, dword [esi + edi*8]
mov eax, dword [esi + edi*8 + 4]
inc edi
xor eax, ecx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
cmp edi, ebx
jl 0x5ca020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ca490
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fd483
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x70e020]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x6dbfec]
cmp eax, dword [edx + 0x480]
jg 0x5ca5f4
mov dword [ebp - 0x10], 0x6dbfcc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x6dbfcc
cmp edx, dword [0x6dbfcc]
je 0x5ca503
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x5ca503
pause
push edx
mov ecx, esi
call fcn.005c7780
jmp 0x5ca50a
lock inc dword [0x6dbfd0]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x5ca5c3
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [edi + 0x20], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005c0a10
mov eax, dword [eax + 4]
test eax, eax
je 0x5ca583
cmp eax, dword [edi + 4]
je 0x5ca583
mov eax, dword [eax + 0xc]
mov dword [edi + 0x24], eax
jmp 0x5ca5c6
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5ca588
sub esi, ecx
inc esi
push esi
call fcn.005e291a
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.005d2b70
mov eax, dword [edi + 0x24]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005ca090
mov esi, 0x6dbfcc
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x6dbfd0]
cmp dword [0x6dbfd0], 0
pop ebx
jne 0x5ca5e2
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x6dbfec
call fcn.005d166f
add esp, 4
cmp dword [0x6dbfec], 0xffffffff
jne 0x5ca4cf
mov dword [ebp - 4], 0
mov ecx, 0x6dbfd4
mov dword [0x6dbfcc], 0
mov dword [0x6dbfd0], 0
call fcn.005c7370
mov byte [ebp - 4], 0
push 0x5fde80
call fcn.005d1429
mov dword [ebp - 4], 0xffffffff
push 0x6dbfec
call fcn.005d1625
add esp, 8
jmp 0x5ca4cf
Function at 0x5ca660
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd49d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x5ca7ef
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.005c60e0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x5ca7ac
mov edi, edi
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x5ca731
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x5ca79f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x5ca768
mov eax, dword [eax]
cmp eax, ecx
je 0x5ca760
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x5ca79f
cmp ebx, eax
je 0x5ca77c
lea esp, [esp]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x5ca7cd
cmp ebx, eax
jne 0x5ca770
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x5ca6e0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x5ca79f
push str.invalid_hash_bucket_count
call fcn.005d0620
int3
Function at 0x5ca800
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd20d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x5ca9ad
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.005d1175
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x5ca8ee
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x5ca8b0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x5ca99d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x5ca99d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x5ca900
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x5ca903
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x5ca99d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.005d1175
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x5ca981
cmp edi, esi
je 0x5ca998
mov eax, dword [ebp + 0xc]
jmp 0x5ca957
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x5ca99d
mov edx, dword [ebp - 0x10]
jmp 0x5ca910
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x5d0100
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
movzx ebx, byte [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
dec ebx
push edi
mov edi, dword [ebp + 0xc]
or ebx, 0xdfdfdfdf
shr edi, 2
lea edx, [eax + edi*4]
mov dword [ebp + 0x10], edx
test edi, edi
je 0x5d0194
mov ecx, edx
lea eax, [edi*4]
and ecx, 3
sub edx, eax
mov dword [ebp + 0x14], ecx
add edx, 2
jmp 0x5d0140
test ecx, ecx
jne 0x5d0149
mov eax, dword [edx - 2]
jmp 0x5d016a
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx - 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx - 2]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 0x14]
and eax, ebx
add edx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
sub edi, 1
jne 0x5d0140
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, edi
and eax, 3
sub eax, 1
je 0x5d01bd
sub eax, 1
je 0x5d01b4
sub eax, 1
jne 0x5d01d5
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
and eax, ebx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, edi
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret

Function at 0x5ecfab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ece21
Function at 0x401260
Capabilities:
Create service
Delete service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x43000c]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x42bc80
push esi
call fcn.00410833
add esp, 8
test eax, eax
jne 0x4013c0
push 0x208
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040ec50
add esp, 0xc
lea eax, [esp + 0x10]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4012ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_install_service___d__n
call fcn.004017c0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0x10
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x40132b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d__n
call fcn.004017c0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push str.QYServer
push str.QYServer
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x40138f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateService_failed___d__n
call fcn.004017c0
add esp, 8
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0x10
push str.Service_installed_successfully_n
call fcn.004017c0
add esp, 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0x10
push 0x42bc88
push esi
call fcn.00410833
add esp, 8
test eax, eax
jne 0x401424
push 0xf003f
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x40143f
push 0xf01ff
push str.QYServer
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x40143f
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x40143f
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 8]
mov dword [esp + 8], str.QYServer
push eax
mov dword [esp + 0x10], 0x401460
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
mov ecx, dword [esp + 0x21c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403de0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x43000c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov eax, ecx
mov dword [esp + 8], 0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [esp + 0x28], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [esp + 0xc]
test esi, esi
jne 0x403f0c
xor esi, esi
test eax, eax
je 0x403e63
push eax
call ebx
mov esi, eax
mov eax, dword [esp + 0x1c]
and edi, 0x300
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
test esi, esi
jne 0x403f0c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [esp + 0x28]
push ecx
push esi
push esi
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0x100
push ecx
lea ecx, [esp + 0x44]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x403ede
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
call fcn.00403de0
mov esi, eax
test esi, esi
jne 0x403f08
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x403ea5
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403ef1
push eax
call ebx
mov dword [esp + 0xc], 0
push dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], 0
call fcn.00403f50
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403f13
push eax
call ebx
mov ecx, dword [esp + 0x234]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 4
Function at 0x404d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42420b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x404e1c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x404e1c
call fcn.00403210
mov edi, eax
jmp 0x404f3b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x404e3f
call fcn.00403210
jmp 0x404f2e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x404e5d
call fcn.00403210
jmp 0x404f2e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x404e7e
mov edi, 0x8007000e
jmp 0x404f30
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x404f74
jb 0x404e9c
cmp eax, 0xffffffff
ja 0x404f74
cmp eax, 0x400
jbe 0x404eb1
push eax
lea ecx, [ebp - 0x418]
call fcn.004031e0
jmp 0x404ed7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x404ed7
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x404eee
mov edi, 0x8007000e
jmp 0x404f30
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x404f0e
call fcn.00403210
jmp 0x404f2e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00404c10
mov edi, eax
test esi, esi
je 0x404f3b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x404f54
lea ecx, [ebp - 0x418]
call fcn.004031c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00401810
int3
Function at 0x4053d0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x405444
mov eax, dword [esi + 4]
mov byte [esi + 8], 1
test eax, eax
je 0x4053ea
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xa
push dword [esi]
call edi
test eax, eax
je 0x405422
push 0xbb8
push dword [esi]
call edi
cmp eax, 0x102
jne 0x405422
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x405422
push 0xbb8
push dword [esi]
call edi
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [esi + 4]
mov dword [esi], 0
test eax, eax
je 0x405443
push eax
call edi
mov dword [esi + 4], 0
pop edi
pop esi
ret

Function at 0x405f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405f8b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405f8b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x405f78
cmp esi, edx
jae 0x405f8b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x405f66
cmp esi, edx
jae 0x405f8b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret