joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fa20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x43fa40
mov ebx, eax
sar ebx, 1
add ebx, 4
and eax, 2
mov ecx, ebx
xor ecx, 1
add ecx, eax
jns 0x43fa65
mov ecx, 0xffffffff
jmp 0x43fa67
add ecx, ecx
push ecx
call fcn.004095c0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x43fab1
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x43faa0
mov word [ecx], 0
lea ecx, [ebx + ebx]
mov word [esp + 8], cx
lea ecx, [ebx*2 + 2]
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov ecx, 0x58ffcc68
nop
movzx edx, byte [esp + ecx - 0x58ffcc68]
xor edx, ecx
lea esi, [edx + 0x430101f7]
mov ebx, esi
and ebx, 1
and edx, 1
and esi, 0xfe
or esi, edx
lea edx, [esi + ebx*2]
mov byte [esp + ecx - 0x58ffcc68], dl
inc ecx
cmp ecx, 0x58ffcc6d
jne 0x43fb10
mov esi, dword [esp]
mov ecx, dword [0x44c008]
test ecx, ecx
je 0x43fba1
xor edx, edx
mov ebx, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x3174e150
je 0x43fb70
inc edx
cmp ecx, edx
jne 0x43fb60
jmp 0x43fba1
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x43fba1
mov edx, esp
lea esi, [esp + 0x10]
push edi
push ebp
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 0x18
push ecx
push dword [0x44c010]
mov edi, eax
call fcn.0043d3e0
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.004095d0
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43fbc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x43fbe0
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x43fbfb
mov eax, 0xffffffff
jmp 0x43fbfe
add eax, 0xa
push eax
call fcn.004095c0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x43fc41
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x43fc30
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x6c6d6e6f
mov byte [esp + 0x24], 0
mov ecx, 0x58ffcc68
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x58ffcc48]
xor edx, ecx
lea esi, [edx + 0x430101f7]
mov ebx, esi
and ebx, 1
and edx, 1
and esi, 0xfe
or esi, edx
lea edx, [esi + ebx*2]
mov byte [esp + ecx - 0x58ffcc48], dl
inc ecx
cmp ecx, 0x58ffcc6d
jne 0x43fcb0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44c008]
test ecx, ecx
je 0x43fd39
xor edx, edx
mov ebx, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x1ce638e1
je 0x43fd10
inc edx
cmp ecx, edx
jne 0x43fd00
jmp 0x43fd39
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x43fd39
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 8
push ecx
push dword [0x44c010]
mov ebx, eax
call fcn.0043d3e0
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.004095d0
add esp, 4
test edi, edi
je 0x43fd4c
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43fd60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov eax, 0x58ffcc68
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x58ffcc68]
xor ecx, eax
lea edx, [ecx + 0x430101f7]
mov ebx, edx
and ebx, 1
and ecx, 1
and edx, 0xfe
or edx, ecx
lea ecx, [edx + ebx*2]
mov byte [esp + eax - 0x58ffcc68], cl
inc eax
cmp eax, 0x58ffcc6d
jne 0x43fd90
mov eax, dword [esp]
mov edx, dword [0x44c008]
test edx, edx
je 0x43fe18
xor ebx, ebx
mov ecx, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x43fdf0
inc ebx
cmp edx, ebx
jne 0x43fde0
jmp 0x43fe18
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x43fe18
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x20
test edi, edi
je 0x43fe22
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x43fe2e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43fe40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov eax, 0x58ffcc68
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x58ffcc68]
xor edi, eax
lea ebx, [edi + 0x430101f7]
mov ebp, ebx
and ebp, 1
and edi, 1
and ebx, 0xfe
or ebx, edi
lea ebx, [ebx + ebp*2]
mov byte [esp + eax - 0x58ffcc68], bl
inc eax
cmp eax, 0x58ffcc6d
jne 0x43fe70
mov eax, dword [esp]
mov ebx, dword [0x44c008]
test ebx, ebx
je 0x43fefe
xor ebp, ebp
mov edi, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x5b126fe8
je 0x43fed0
inc ebp
cmp ebx, ebp
jne 0x43fec0
jmp 0x43fefe
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x43fefe
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x30
cmp eax, 0x103
jne 0x43ffa9
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov eax, 0x58ffcc68
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x58ffcc68]
xor ecx, eax
lea edx, [ecx + 0x430101f7]
mov edi, edx
and edi, 1
and ecx, 1
and edx, 0xfe
or edx, ecx
lea ecx, [edx + edi*2]
mov byte [esp + eax - 0x58ffcc68], cl
inc eax
cmp eax, 0x58ffcc6d
jne 0x43ff20
mov eax, dword [esp]
mov ecx, dword [0x44c008]
test ecx, ecx
je 0x43ffa1
xor edx, edx
mov edi, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x43ff80
inc edx
cmp ecx, edx
jne 0x43ff70
jmp 0x43ffa1
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x43ffa1
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x18
test eax, eax
js 0x43ffa9
mov eax, dword [esp + 8]
test esi, esi
je 0x43ffbc
xor ecx, ecx
cmp eax, 0xc0000011
je 0x43ffba
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43ffd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov eax, 0x58ffcc68
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x58ffcc68]
xor edi, eax
lea ebx, [edi + 0x430101f7]
mov ebp, ebx
and ebp, 1
and edi, 1
and ebx, 0xfe
or ebx, edi
lea ebx, [ebx + ebp*2]
mov byte [esp + eax - 0x58ffcc68], bl
inc eax
cmp eax, 0x58ffcc6d
jne 0x440000
mov eax, dword [esp]
mov ebx, dword [0x44c008]
test ebx, ebx
je 0x44008e
xor ebp, ebp
mov edi, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xa2545bf7
je 0x440060
inc ebp
cmp ebx, ebp
jne 0x440050
jmp 0x44008e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x44008e
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x30
cmp eax, 0x103
jne 0x440139
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov eax, 0x58ffcc68
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x58ffcc68]
xor ecx, eax
lea edx, [ecx + 0x430101f7]
mov edi, edx
and edi, 1
and ecx, 1
and edx, 0xfe
or edx, ecx
lea ecx, [edx + edi*2]
mov byte [esp + eax - 0x58ffcc68], cl
inc eax
cmp eax, 0x58ffcc6d
jne 0x4400b0
mov eax, dword [esp]
mov ecx, dword [0x44c008]
test ecx, ecx
je 0x440131
xor edx, edx
mov edi, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x440110
inc edx
cmp ecx, edx
jne 0x440100
jmp 0x440131
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x440131
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x18
test eax, eax
js 0x440139
mov eax, dword [esp + 8]
test esi, esi
je 0x440143
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440150
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x440170
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 8], bx
add ebx, 2
mov word [esp + 0xa], bx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
mov eax, 0x58ffcc68
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x58ffcc68]
xor edi, eax
lea ebx, [edi + 0x430101f7]
mov ebp, ebx
and ebp, 1
and edi, 1
and ebx, 0xfe
or ebx, edi
lea ebx, [ebx + ebp*2]
mov byte [esp + eax - 0x58ffcc68], bl
inc eax
cmp eax, 0x58ffcc6d
jne 0x4401e0
mov eax, dword [esp]
mov edi, dword [0x44c008]
test edi, edi
je 0x440262
xor ebx, ebx
mov ebp, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x40915fe0
je 0x440241
inc ebx
cmp edi, ebx
jne 0x440230
jmp 0x440262
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x440262
lea eax, [esp + 0x10]
push esi
push eax
push edx
push ecx
push 0x10
push edi
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x417210
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x417225
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417230
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x417910
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x54006c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00417860
mov esi, eax
test esi, esi
jne 0x417a07
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x4179d9
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00417910
mov esi, eax
test esi, esi
jne 0x417a07
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x4179a0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4179f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00417a50
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x417a16
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00465694
mov esp, ebp
pop ebp
ret 4
Function at 0x4185d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0326
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x54006c]
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 esi, 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 esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x41867c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41867c
call fcn.00416b00
mov esi, eax
jmp 0x41876c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41869f
call fcn.00416b00
jmp 0x41875f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4186bd
call fcn.00416b00
jmp 0x41875f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4186de
mov esi, 0x8007000e
jmp 0x418761
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00416ab0
jmp 0x418708
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x41871f
mov esi, 0x8007000e
jmp 0x418761
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41873f
call fcn.00416b00
jmp 0x41875f
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.00418470
mov esi, eax
test edi, edi
je 0x41876c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x418790
lea ecx, [ebp - 0x418]
call fcn.00416a60
nop word [eax + eax]
mov eax, esi
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.00465694
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41a3c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41a3f2
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x30
push dword [0x542d8c]
push dword [0x542dd4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esi + 0xfc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret
Function at 0x41b9d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x41bad8
push 0x58
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push ebx
mov dword [edi], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [edi + 4], eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareTencentQQBrowserAdvanced
push 0x80000001
mov dword [ebp - 0x18], vtable.Util::RegKey.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41ba40
mov dword [ebp - 0x14], 0
jmp 0x41baa5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41baa5
lea ecx, [ebp - 8]
mov dword [ebp - 4], 4
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 4
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 0
push ecx
push 0
push str.DisableDpi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
test al, al
je 0x41baa5
mov eax, dword [ebp - 4]
cmp eax, 4
je 0x41ba8c
cmp eax, 3
jne 0x41baa5
cmp dword [ebp - 8], 4
jne 0x41baa5
cmp dword [ebp - 0xc], 0
je 0x41baa5
mov dword [edi], 0x60
mov dword [edi + 4], 0x60
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], vtable.Util::RegKey.0
test eax, eax
je 0x41baca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41bad8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e090
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push esi
push str.mutex_qqbrowser
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x41e0b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x41e0b8
xor eax, eax
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret
Function at 0x41f530
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f095c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x54006c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x698]
xor esi, esi
cmp eax, 3
je 0x41f577
cmp eax, 4
je 0x41f577
cmp eax, 5
je 0x41f577
call fcn.00419ed0
mov ebx, eax
jmp 0x41f57f
mov ebx, dword [edi + 4]
mov esi, 1
mov eax, dword [0x5569d8]
mov dword [edi + 0x7e0], 0
test al, 1
jne 0x41f5bf
or eax, 1
mov dword [0x5569d8], eax
mov dword [ebp - 4], 0
call fcn.0044de00
push 0x4f5a20
call fcn.00465946
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [0x5569d8]
mov dword [0x556b34], ebx
test al, 1
jne 0x41f5f1
or eax, 1
mov dword [0x5569d8], eax
mov dword [ebp - 4], 1
call fcn.0044de00
push 0x4f5a20
call fcn.00465946
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 2
mov ecx, 0x5569e0
call fcn.00450b50
test eax, eax
je 0x41f6ee
mov dword [edi + 0x7e4], 0x32
test esi, esi
je 0x41f692
mov esi, dword [edi + 0x68c]
test esi, esi
je 0x41f677
mov ecx, dword [esi + 0x60]
cmp ecx, 0x32
je 0x41f677
mov eax, 0x32
mov byte [esi + 0x69], 1
sub eax, ecx
mov ecx, dword [esi + 0x5c]
mov ebx, eax
cdq
xor eax, edx
shr ebx, 0x1f
sub eax, edx
mov byte [esi + 0x68], bl
cdq
idiv ecx
mov dword [esi + 0x64], eax
test edx, edx
je 0x41f64e
inc eax
mov dword [esi + 0x64], eax
test bl, bl
je 0x41f654
neg ecx
add dword [esi + 0x60], ecx
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x58]
cmp ecx, eax
jg 0x41f668
mov eax, dword [esi + 0x54]
cmp ecx, eax
jge 0x41f66b
mov dword [esi + 0x60], eax
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x24]
dec dword [esi + 0x64]
push 6
mov ecx, edi
call fcn.0041e0d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x698], 2
jne 0x41f6aa
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041f810
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call esi
push 5
push ebx
call esi
mov esi, dword [edi + 0x7e0]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f718
push 0
push esi
push 0x464
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x41f70d
push 7
mov ecx, edi
call fcn.0041e0d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f8a0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x7b0]
test eax, eax
je 0x41f8e4
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41f8ce
push 0
push dword [esi + 0x7b0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x7b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x7b0], 0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x420280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a3b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf
xor eax, eax
mov dword [ebp - 0x14], 7
push str.AutoRestoreTabs
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00415df0
push 1
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov ecx, 6
call fcn.00433330
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x4202fc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 1
xor ecx, ecx
cmp byte [str.no_liveup_check], cl
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov eax, 0xf
cmove eax, ecx
mov dword [ebp - 0x14], 0xf
push eax
push str.no_liveup_check
lea ecx, [ebp - 0x28]
call fcn.00422f30
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.0042d732
mov byte [ebp - 4], 1
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x420374
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00422de0
push 2
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x52df84
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00415df0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push 0xd
xor eax, eax
mov dword [ebp - 0x5c], 7
push str.QQBrowser.exe
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00415df0
push ecx
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
mov edx, 2
lea ecx, [ebp - 0x58]
call fcn.0042eb90
mov eax, dword [ebp - 0x5c]
add esp, 8
cmp eax, 8
jb 0x4203ec
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00418d80
push 0x38
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004c7830
add esp, 0xc
mov dword [ebp - 0xc4], 0x3c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0xc0], 0x100
cmovae eax, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc4]
push eax
mov dword [ebp - 0xa8], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x420461
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x42048a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00418d80
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4204b9
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00418d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
ret