joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e430
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a40af
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CPicFaceSubWnd.0
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
lea ebx, [esi + 0x68]
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [ebx], vtable.CClipBoardRestore.0
mov dword [esp + 0x10], ebx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov byte [esp + 0x1c], 4
mov dword [ebx + 0x14], vtable.CQQPYClipboardCode.0
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
mov dword [ebx + 0x18], eax
mov byte [esp + 0x1c], 5
push 0xffffff
mov dword [esi + 0x88], edi
call dword [0x4a70a0]
mov dword [esi + 0x28], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x64], edi
call fcn.00409dd0
mov dword [esi + 0x84], eax
or eax, 0xffffffff
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x413940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a3ec9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
mov ebx, dword [esp + 0x30]
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x3c]
xor ebp, ebp
add eax, 1
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
cmp ecx, edi
je 0x4139df
cmp ebp, edi
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov edx, dword [eax - 0xc]
jl 0x4139df
cmp ebp, edx
jg 0x4139df
push ecx
lea edx, [eax + ebp*2]
push edx
call fcn.0047f483
add esp, 8
cmp eax, edi
je 0x4139df
sub eax, dword [esi]
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x4139e2
jmp 0x413a22
or edi, 0xffffffff
mov edx, dword [esp + 0x34]
mov ecx, ebp
lea esi, [esp + 0x3c]
call fcn.00409bf0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [esp + 0x3c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413a1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
mov ebx, dword [esp + 0x30]
je 0x413a27
add dword [esp + 0x14], 1
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x1c], ecx
je 0x413a55
cmp edi, 0xffffffff
je 0x413a41
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov ebp, dword [eax - 0xc]
jmp 0x413a43
xor ebp, ebp
add ebp, edi
cmp edi, 0xffffffff
je 0x413adb
xor edi, edi
jmp 0x4139a6
cmp edi, 0xffffffff
jne 0x413a93
mov edx, dword [esp + 0x34]
mov ecx, ebp
lea esi, [esp + 0x34]
call fcn.00409bf0
mov edi, ebx
mov dword [esp + 0x28], 1
call fcn.00403b10
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x413acf
mov ecx, dword [esp + 0x34]
mov eax, edi
push ecx
sub eax, ebp
mov ecx, ebp
lea edx, [esp + 0x38]
call fcn.00404be0
mov edi, ebx
mov dword [esp + 0x28], 2
call fcn.00403b10
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413adb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x413e10
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a3e80
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CViewSubWnd.0
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ebx, [esi + 0x48]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [ebx], vtable.CClipBoardRestore.0
mov dword [esp + 0x10], ebx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov byte [esp + 0x1c], 5
mov dword [ebx + 0x14], vtable.CQQPYClipboardCode.0
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
mov dword [ebx + 0x18], eax
push 0x413760
push 0x4136e0
push 0x7e
push 0x28
lea eax, [esi + 0x64]
push eax
mov byte [esp + 0x30], 6
call fcn.00480036
push fcn.00404eb0
push 0x404ed0
push 0xe
push 4
lea ecx, [esi + 0x144c]
push ecx
mov byte [esp + 0x30], 7
call fcn.00480036
push 0xffffff
call dword [0x4a70a0]
push 0x4aa5ec
push edi
push 4
mov ebx, dword [0x4a70bc]
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xe
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], edi
call ebx
push 0x4aa5ec
push edi
push 4
push 0x20
push 4
push 1
push edi
mov dword [esi + 0x2c], eax
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0x10
call ebx
push 0x4aa5ec
push edi
push 4
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0x12
mov dword [esi + 0x30], eax
call ebx
push 0x38
lea edx, [esi + 0x1414]
push edi
mov dword [esi + 0x34], eax
push edx
mov dword [esi + 0x44], edi
call fcn.00485090
add esp, 0xc
or eax, 0xffffffff
mov dword [esi + 0x1484], eax
mov dword [esi + 0x1488], eax
mov dword [esi + 0x148c], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4140e0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4a3dfb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [edi + 4]
push 1
push eax
call dword [0x4a73ec]
push 0xc8
call fcn.0047f14d
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x41413a
mov ecx, dword [edi + 4]
push ecx
push eax
call fcn.00430650
jmp 0x41413c
xor eax, eax
mov dword [esp + 0x1c], 0xffffffff
push 0x14
mov esi, eax
mov dword [edi + 0x40], eax
call fcn.00430920
mov esi, edi
call fcn.004156d0
call fcn.00415c60
call fcn.00416740
call fcn.00417070
call fcn.00417990
call fcn.00417d80
call fcn.00418170
call fcn.00418720
call fcn.00418b10
call fcn.004190d0
call fcn.00419690
call fcn.0041a490
call fcn.0041aa40
call fcn.0041b000
mov ebx, dword [edi + 0x1484]
call fcn.004155f0
mov edx, dword [esp + 0x24]
mov dword [edx], 0
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x41b430
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a4640
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea edi, [ebx + 0x10]
mov esi, edi
call fcn.00404cd0
mov ecx, dword [esp + 0x30]
cmp ecx, 0xd
ja 0x41b591
cmp ecx, 0xe
jae 0x41b591
mov eax, dword [esp + 0x34]
cmp eax, 8
ja 0x41b591
lea eax, [eax + ecx*8]
add eax, ecx
mov ecx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea ebp, [ecx + eax*8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], ebp
add ebp, 0x64
lea esi, [esp + 0x10]
mov eax, ebp
call fcn.00413820
mov dword [esp + 0x24], 0
call fcn.00403b10
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
call fcn.00404eb0
mov edx, dword [edi]
cmp dword [edx - 0xc], 0
je 0x41b591
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x74]
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0xc], eax
lea esi, [esp + 0x14]
mov eax, ebp
call fcn.00413840
lea edi, [ebx + 0x14]
mov dword [esp + 0x24], 1
call fcn.00403b10
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
call fcn.00404eb0
mov ecx, dword [esp + 0x38]
lea esi, [esp + 0x2c]
mov eax, ebp
call fcn.00413860
mov dword [esp + 0x24], 2
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 0xc], 0
jne 0x41b54e
lea esi, [esp + 0x18]
mov eax, ebp
call fcn.00413800
lea edi, [esp + 0x2c]
mov byte [esp + 0x24], 3
call fcn.00403b10
mov ecx, esi
mov byte [esp + 0x24], 2
call fcn.00404eb0
lea edi, [ebx + 0x18]
lea eax, [esp + 0x2c]
call fcn.00403b10
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [ebx + 8], ecx
lea ecx, [esp + 0x2c]
mov dword [ebx], edx
mov dword [ebx + 4], eax
call fcn.00404eb0
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0x10
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0x10
Function at 0x41fef0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a2a98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.0041fa90
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41ff44
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0041f9c0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.0041fa90
cmp dword [esp + 0x24], 8
jb 0x41ff8a
mov eax, dword [esp + 0x10]
push eax
call fcn.0047eacc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x4200a0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebp
push esi
xor ebp, ebp
push ebp
push ebx
mov word [eax], bp
call fcn.0049dd92
mov esi, eax
cmp esi, ebp
jne 0x4200c6
pop esi
pop ebp
add esp, 8
jmp dword [0x4a725c]
push edi
push esi
call fcn.0047e2d5
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x4200e2
pop edi
pop esi
mov eax, 8
pop ebp
add esp, 8
ret
push edi
push esi
push ebp
push ebx
call fcn.0049dd98
test eax, eax
je 0x42014e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x4bc8d8
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.0049dd9e
test eax, eax
je 0x42014e
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
mov eax, dword [esp + 0x20]
push ecx
push edx
push str._d._d._d._d
push 0x7e
push eax
call fcn.004808cb
add esp, 0x1c
push edi
call fcn.0047fac6
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
call dword [0x4a725c]
push edi
mov ebp, eax
call fcn.0047fac6
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
Function at 0x420170
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x178
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
mov ebp, dword [esp + 0x184]
push esi
push edi
mov ebx, ecx
push ebp
call fcn.004200a0
add esp, 4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [0x4a72f8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4201c5
call dword [0x4a725c]
jmp 0x4202d3
mov ebx, dword [0x4a7310]
push 0
lea eax, [esp + 0x18]
push eax
push 0x40
lea ecx, [esp + 0x14c]
push ecx
push esi
mov edi, 0xb
call ebx
test eax, eax
je 0x4202d1
cmp dword [esp + 0x14], 0x40
jne 0x4202d1
cmp word [esp + 0x140], 0x5a4d
jne 0x4202d1
mov edx, dword [esp + 0x17c]
push 0
push 0
push edx
push esi
call dword [0x4a71c8]
push 0
lea eax, [esp + 0x18]
push eax
push 0xf8
lea ecx, [esp + 0x54]
push ecx
push esi
call ebx
test eax, eax
je 0x4202d1
cmp dword [esp + 0x14], 0xf8
jne 0x4202d1
cmp dword [esp + 0x48], 0x4550
jne 0x4202d1
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420257
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
mov ebx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
call fcn.00480360
mov esi, eax
mov ecx, 9
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push ecx
add edx, 1
push edx
add eax, 0x76c
push eax
mov ecx, 0x7e
push str.__04d__02d__02d__02d:_02d:_02d
sub ecx, ebx
push ecx
lea edx, [ebp + ebx*2]
push edx
call fcn.004808cb
add esp, 0x28
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047f0e0
add esp, 0x178
ret

Function at 0x4204b0
Capabilities:
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1b4]
mov ebx, ecx
cmp ebx, 0x5a0
push esi
push edi
jbe 0x4204de
mov ebx, 0x5a0
lea eax, [esp + 0x20]
push eax
push 0x202
call dword [0x4a74ac]
push 0x11
push 2
push 2
call dword [0x4a74b4]
mov edi, eax
cmp edi, 0xffffffff
je 0x420578
push str.stat.qq.com
call dword [0x4a74b8]
mov esi, eax
test esi, esi
je 0x420571
xor eax, eax
push 0x26b0
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
mov word [esp + 0x14], 2
call dword [0x4a74a8]
mov word [esp + 0x12], ax
mov edx, dword [esi + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
jne 0x420552
mov eax, edx
add eax, 4
add ecx, 1
cmp dword [eax], 0
je 0x420547
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x14], eax
je 0x420571
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push ebx
push ebp
push edi
call dword [0x4a74bc]
push edi
call dword [0x4a74c0]
call dword [0x4a74b0]
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047f0e0
add esp, 0x1a8
ret
Function at 0x4205a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x808
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x804], eax
push ebx
push edi
push 0x802
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00485090
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [0x4a733c]
mov edi, eax
lea eax, [esp + 8]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4205f0
sub eax, edx
sar eax, 1
lea edx, [esp + 8]
mov ebx, eax
push edx
mov eax, esi
call fcn.00404880
mov ecx, dword [esp + 0x80c]
xor eax, eax
test edi, edi
pop edi
setge al
pop ebx
xor ecx, esp
call fcn.0047f0e0
add esp, 0x808
ret

Function at 0x420b10
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x17c
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x180]
push ebp
lea edx, [esp + 8]
push edx
push 0x40
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x140]
push eax
push ebx
push esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0x40
jne 0x420c25
cmp word [esp + 0x138], 0x5a4d
jne 0x420c25
mov ecx, dword [esp + 0x174]
lea edx, [esp + 8]
push edx
push 0xf8
lea eax, [esp + 0x20]
push eax
lea ebp, [ebx + ecx]
push ebp
push esi
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0xf8
jne 0x420c25
cmp dword [esp + 0x18], 0x4550
jne 0x420c25
cmp word [esp + 0x1c], 0x14c
jne 0x420c25
cmp word [esp + 0x30], 0x10b
jne 0x420c25
add ebp, 0xf8
cmp word [esp + 0x1e], 0
mov dword [esp + 0xc], 0
jbe 0x420c25
lea ecx, [esp + 8]
push ecx
push 0x28
lea edx, [esp + 0x118]
push edx
push ebp
push esi
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0x28
jne 0x420c25
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x420c25
mov ecx, dword [esp + 0x134]
and ecx, 0x20000020
cmp ecx, 0x20000020
je 0x420c3d
mov eax, dword [esp + 0xc]
movzx edx, word [esp + 0x1e]
add eax, 1
cmp eax, edx
mov dword [esp + 0xc], eax
jb 0x420bcf
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0047f0e0
add esp, 0x17c
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x120]
add eax, ebx
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
add eax, edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x17c]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0047f0e0
add esp, 0x17c
ret
Function at 0x425370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [0x4a7004]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov esi, ecx
mov ebp, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call edi
test eax, eax
jne 0x4254ff
push esi
lea ecx, [esp + 0x24]
push str._sConnection
push ecx
mov eax, 0x103
call fcn.00429560
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
test eax, eax
mov edi, dword [0x4a7018]
jne 0x4254f8
mov esi, dword [0x4a7008]
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MediaSubType
push edx
call esi
test eax, eax
jne 0x4254f1
push 0x104
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call fcn.00485090
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.PnpInstanceID
push ecx
call esi
test eax, eax
jne 0x4254f1
mov esi, 1
cmp dword [esp + 0xc], esi
jne 0x4254e1
push ebp
lea edx, [esp + 0x24]
push 0x4be570
push edx
call fcn.00481a06
add esp, 0xc
test eax, eax
jne 0x4254bc
xor ebp, ebp
jmp 0x4254f1
cmp dword [esp + 0xc], esi
jne 0x4254e1
push 3
lea eax, [esp + 0x24]
push 0x4be570
push eax
call fcn.00481a06
add esp, 0xc
test eax, eax
je 0x4254e1
mov ebp, 2
jmp 0x4254f1
xor ecx, ecx
cmp dword [esp + 0xc], 2
setne cl
lea ecx, [ecx + ecx + 1]
mov ebp, ecx
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0047f0e0
add esp, 0x11c
ret
Function at 0x425d50
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a452d
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov dword [esp + 0x14], edi
mov word [edi + 4], bx
push 0x208
lea eax, [esp + 0x38]
push ebx
mov dword [esp + 0x254], ebx
push eax
mov dword [esp + 0x1c], 1
call fcn.00485090
mov cl, byte [esp + 0x260]
add esp, 0xc
neg cl
push 1
lea edx, [esp + 0x38]
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
push edx
push ebx
call dword [0x4a7344]
test eax, eax
je 0x425e92
lea eax, [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425e00
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x20]
call fcn.0041fb40
mov ecx, esi
push ebx
push ecx
or eax, 0xffffffff
mov esi, edi
mov dword [esp + 0x254], 1
call fcn.0041fbe0
mov byte [esp + 0x24c], bl
cmp dword [esp + 0x30], 8
jb 0x425e52
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047eacc
add esp, 4
cmp byte [esp + 0x254], bl
mov ecx, edi
je 0x425e66
push 0x13
push str.TencentDeskUpdate
jmp 0x425e6d
push 0x10
push str.TencentDesktop
call fcn.0041f9c0
mov ecx, edi
call fcn.00425ec0
test al, al
jne 0x425e84
mov ecx, edi
call fcn.00426020
push 0xa
push str.Global.db
mov ecx, edi
call fcn.0041f9c0
mov eax, edi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0047f0e0
add esp, 0x244
ret
Function at 0x429db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
test edi, edi
jne 0x429dbf
push 0x80004005
call fcn.00404ef0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edi
push esi
lea eax, [esp + 8]
push eax
mov eax, dword [edx]
push 0
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [0x4a700c]
test esi, esi
je 0x429e37
mov ecx, dword [edi]
test ecx, ecx
jbe 0x429e32
mov edx, dword [esp]
test edx, edx
jbe 0x429e2d
cmp edx, 2
jbe 0x429e1e
cmp edx, 7
jne 0x429e2d
test cl, 1
jne 0x429e2d
shr ecx, 1
cmp ecx, 1
jb 0x429e2d
cmp word [esi + ecx*2 - 2], 0
jne 0x429e2d
cmp ecx, 1
jbe 0x429e37
cmp word [esi + ecx*2 - 4], 0
jmp 0x429e2b
test cl, 1
jne 0x429e2d
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x429e37
mov eax, 0xd
mov word [esi], 0
pop ecx
ret 8
Function at 0x42a750
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x214], eax
test esi, esi
mov eax, dword [esp + 0x21c]
jne 0x42a786
xor eax, eax
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0047f0e0
add esp, 0x218
ret
push ebx
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
mov dword [esp + 0x18], 0
call dword [0x4a7014]
test eax, eax
jne 0x42a835
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x42a835
push 0x20a
push eax
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], ax
call fcn.00485090
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push edi
push ebx
mov dword [esp + 0x20], 0x20b
call dword [0x4a700c]
test eax, eax
jne 0x42a82a
push 0x103
lea edx, [esp + 0x10]
push edx
push esi
call fcn.00480573
mov eax, dword [esp + 0x10]
add esp, 0xc
push eax
call dword [0x4a7018]
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0047f0e0
add esp, 0x218
ret
mov ecx, dword [esp + 4]
push ecx
call dword [0x4a7018]
mov ecx, dword [esp + 0x218]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047f0e0
add esp, 0x218
ret

Function at 0x42a850
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a15b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], edi
jne 0x42a88a
push 0x80004005
call fcn.00404ef0
push esi
call dword [0x4a70d8]
mov ecx, dword [esp + 0x1c]
add eax, 1
add eax, eax
push eax
push esi
push 1
push ebx
push ecx
push edi
call dword [0x4a7048]
test eax, eax
jne 0x42a8b0
mov ebx, 1
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret