joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450de0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x178
mov eax, dword [0x56b1dc]
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.00450d10
add esp, 4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [0x531334]
mov esi, eax
cmp esi, 0xffffffff
jne 0x450e35
call dword [0x531310]
jmp 0x450f43
mov ebx, dword [0x531318]
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 0x450f41
cmp dword [esp + 0x14], 0x40
jne 0x450f41
cmp word [esp + 0x140], 0x5a4d
jne 0x450f41
mov edx, dword [esp + 0x17c]
push 0
push 0
push edx
push esi
call dword [0x53130c]
push 0
lea eax, [esp + 0x18]
push eax
push 0xf8
lea ecx, [esp + 0x54]
push ecx
push esi
call ebx
test eax, eax
je 0x450f41
cmp dword [esp + 0x14], 0xf8
jne 0x450f41
cmp dword [esp + 0x48], 0x4550
jne 0x450f41
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450ec7
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.0050338a
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.00501fe2
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.004ff939
add esp, 0x178
ret

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

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x56b1dc]
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 0x45114e
mov ebx, 0x5a0
lea eax, [esp + 0x20]
push eax
push 0x202
call dword [0x531580]
push 0x11
push 2
push 2
call dword [0x531560]
mov edi, eax
cmp edi, 0xffffffff
je 0x4511e8
push str.stat.qq.com
call dword [0x531544]
mov esi, eax
test esi, esi
je 0x4511e1
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 [0x531564]
mov word [esp + 0x12], ax
mov edx, dword [esi + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
jne 0x4511c2
mov eax, edx
add eax, 4
add ecx, 1
cmp dword [eax], 0
je 0x4511b7
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4511e1
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push ebx
push ebp
push edi
call dword [0x531540]
push edi
call dword [0x531574]
call dword [0x531584]
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ff939
add esp, 0x1a8
ret
Function at 0x451210
Capabilities:
Get common file path

Disassembly:
sub esp, 0x808
mov eax, dword [0x56b1dc]
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.00508d80
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [0x5313b0]
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 0x451260
sub eax, edx
sar eax, 1
lea edx, [esp + 8]
mov ebx, eax
push edx
mov eax, esi
call fcn.004026c0
mov ecx, dword [esp + 0x80c]
xor eax, eax
test edi, edi
pop edi
setge al
pop ebx
xor ecx, esp
call fcn.004ff939
add esp, 0x808
ret

Function at 0x451780
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x17c
mov eax, dword [0x56b1dc]
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 0x451895
cmp word [esp + 0x138], 0x5a4d
jne 0x451895
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 0x451895
cmp dword [esp + 0x18], 0x4550
jne 0x451895
cmp word [esp + 0x1c], 0x14c
jne 0x451895
cmp word [esp + 0x30], 0x10b
jne 0x451895
add ebp, 0xf8
cmp word [esp + 0x1e], 0
mov dword [esp + 0xc], 0
jbe 0x451895
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 0x451895
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x451895
mov ecx, dword [esp + 0x134]
and ecx, 0x20000020
cmp ecx, 0x20000020
je 0x4518ad
mov eax, dword [esp + 0xc]
movzx edx, word [esp + 0x1e]
add eax, 1
cmp eax, edx
mov dword [esp + 0xc], eax
jb 0x45183f
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.004ff939
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.004ff939
add esp, 0x17c
ret
Function at 0x454050
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x56b1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x820], edi
call dword [0x56c57c]
lea esi, [edi + 0x202]
test esi, esi
mov dword [ebp - 0x81c], eax
jne 0x454094
mov dword [ebp - 0x818], esi
jmp 0x4540f2
push esi
call dword [0x531368]
add eax, 1
cmp eax, 0x3fffffff
jg 0x4540e4
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0050b670
mov edi, esp
test edi, edi
je 0x4540de
mov eax, dword [ebp - 0x81c]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push eax
mov byte [edi], 0
call dword [0x5312e0]
mov ebx, dword [ebp - 0x814]
neg eax
sbb eax, eax
and eax, edi
jmp 0x4540e6
mov ebx, dword [ebp - 0x814]
xor eax, eax
mov edi, dword [ebp - 0x820]
mov dword [ebp - 0x818], eax
add edi, 0x102
je 0x45414a
push edi
call dword [0x531368]
add eax, 1
cmp eax, 0x3fffffff
jg 0x45414a
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0050b670
mov esi, esp
test esi, esi
je 0x454144
mov ecx, dword [ebp - 0x81c]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push ecx
mov byte [esi], 0
call dword [0x5312e0]
mov ebx, dword [ebp - 0x814]
neg eax
sbb eax, eax
and eax, esi
jmp 0x45414c
mov ebx, dword [ebp - 0x814]
xor eax, eax
mov edx, dword [ebp - 0x818]
push edx
mov edi, eax
lea esi, [ebp - 0x810]
call fcn.00453d40
mov eax, dword [ebp - 0x410]
mov edx, dword [ebx]
push 0
push eax
mov ecx, esi
push ecx
push edx
call dword [0x531550]
test eax, eax
jle 0x4541f7
push 0x3ff
lea eax, [ebp - 0x407]
push 0
push eax
mov byte [ebp - 0x408], 0
call fcn.00508d80
mov edx, dword [ebx]
add esp, 0xc
push 0
push 0x400
lea ecx, [ebp - 0x408]
push ecx
push edx
call dword [0x53154c]
cmp eax, 2
jge 0x4541d1
mov esi, dword [ebx]
test esi, esi
mov edi, 0xffffffa2
je 0x4541cd
push 1
push esi
call dword [0x53153c]
push esi
call dword [0x531574]
mov eax, edi
jmp 0x454212
xor eax, eax
cmp byte [ebp - 0x407], al
sete al
test eax, eax
je 0x4541f0
mov eax, dword [ebp - 0x820]
push eax
mov ecx, ebx
call fcn.00453e00
jmp 0x454218
mov eax, 0xffffffa5
jmp 0x454218
mov esi, dword [ebx]
test esi, esi
je 0x45420d
push 1
push esi
call dword [0x53153c]
push esi
call dword [0x531574]
mov eax, 0xffffffa1
mov dword [ebx], 0xffffffff
lea esp, [ebp - 0x830]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff939
mov esp, ebp
pop ebp
ret
Function at 0x454230
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x414
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebp
push edi
push 0
push 4
lea eax, [esp + 0x14]
mov edi, ecx
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x1c], 5
mov byte [esp + 0x1d], 2
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 2
call dword [0x531550]
test eax, eax
jle 0x454333
push 0x3ff
lea edx, [esp + 0x15]
push 0
push edx
mov byte [esp + 0x1c], 0
call fcn.00508d80
mov ecx, dword [esi]
add esp, 0xc
push 0
push 0x400
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x53154c]
cmp eax, 2
jge 0x4542cb
mov edi, dword [esi]
test edi, edi
mov ebp, 0xffffffa2
je 0x4542c4
push 1
push edi
call dword [0x53153c]
push edi
call dword [0x531574]
mov eax, ebp
jmp 0x45434e
mov al, byte [esp + 0x11]
test al, al
je 0x4542f7
cmp al, 2
jne 0x454316
mov edx, edi
mov ecx, esi
call fcn.00454050
pop edi
pop ebp
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004ff939
add esp, 0x414
ret
push edi
mov ecx, esi
call fcn.00453e00
pop edi
pop ebp
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004ff939
add esp, 0x414
ret
mov edi, dword [esi]
test edi, edi
je 0x45432c
push 1
push edi
call dword [0x53153c]
push edi
call dword [0x531574]
mov eax, 0xffffffa3
jmp 0x45434e
mov edi, dword [esi]
test edi, edi
je 0x454349
push 1
push edi
call dword [0x53153c]
push edi
call dword [0x531574]
mov eax, 0xffffffa1
mov ecx, dword [esp + 0x414]
pop edi
pop ebp
xor ecx, esp
mov dword [esi], 0xffffffff
call fcn.004ff939
add esp, 0x414
ret
Function at 0x454370
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x1c
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x18], eax
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
call dword [0x56c57c]
cmp word [ebx], 0
je 0x45448b
cmp word [ebx + 0x100], 0
je 0x45448b
cmp word [ebx + 0x282], 0
je 0x45448b
cmp word [ebx + 0x382], 0
je 0x45448b
mov esi, dword [ebp]
cmp esi, 0xffffffff
je 0x4543d3
call fcn.00454c50
mov dword [ebp], 0xffffffff
push 0
push 1
push 2
call dword [0x531560]
cmp eax, 0xffffffff
mov dword [ebp], eax
jne 0x454400
mov eax, 0xffffff9d
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004ff939
add esp, 0x1c
ret 4
mov esi, eax
call fcn.00454c70
movzx eax, word [ebx + 0x100]
push eax
mov ecx, ebx
lea edi, [esp + 0x18]
call fcn.004534d0
add esp, 4
test eax, eax
jne 0x454472
mov edx, dword [ebp]
push 0x10
mov ecx, edi
push ecx
push edx
call dword [0x531558]
test eax, eax
jne 0x454459
mov ecx, ebx
mov esi, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
call fcn.00454230
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004ff939
add esp, 0x1c
ret 4
mov eax, 0xffffffa0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004ff939
add esp, 0x1c
ret 4
mov eax, 0xffffff9f
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004ff939
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 0xffffff9c
call fcn.004ff939
add esp, 0x1c
ret 4
Function at 0x454bb0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x10], eax
xor eax, eax
push ebx
push ebp
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov word [esp + 0x16], ax
mov eax, dword [esp + 0x20]
push eax
xor ebp, ebp
mov word [esp + 0xc], 2
call dword [0x531564]
test esi, esi
mov word [esp + 0xa], ax
jne 0x454bf4
xor ebx, ebx
jmp 0x454c26
push esi
call dword [0x531568]
mov ebx, eax
test ebx, ebx
je 0x454c06
cmp ebx, 0xffffffff
jne 0x454c26
push esi
call dword [0x531544]
test eax, eax
je 0x454c1a
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ebx, dword [edx]
jmp 0x454c26
call dword [0x53157c]
mov ebp, eax
test ebp, ebp
jne 0x454c3f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, ebp
mov ecx, dword [esp + 0x18]
pop ebp
pop ebx
xor ecx, esp
call fcn.004ff939
add esp, 0x14
ret

Function at 0x454c70
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push edi
mov edi, dword [0x531538]
mov eax, 0x1388
push 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x1005
push 0xffff
push esi
call edi
cmp dword [esp + 4], 0
je 0x454cb6
push 4
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push esi
call edi
xor eax, eax
pop edi
add esp, 8
ret
Function at 0x456640
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push esi
push 0x5c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.00508d80
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x70], esi
call fcn.00456200
mov eax, dword [esp + 0x78]
push eax
lea esi, [esp + 0x1c]
call fcn.004564e0
add esp, 0x18
pop esi
add esp, 0x5c
ret

Function at 0x4566b0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [0x531554]
push esi
mov esi, eax
mov eax, dword [esi]
push edi
push eax
call ebp
mov ecx, dword [esi + 4]
push ecx
mov edi, eax
call ebp
mov esi, eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
xor ebx, ebx
sub eax, edx
mov dword [esp + 0x10], eax
jmp 0x4566e4
mov eax, dword [esp + 0x10]
lea eax, [eax + ebx*4]
mov ecx, dword [esp + eax + 0x14]
push ecx
call ebp
mov dword [esp + ebx*4 + 0x14], eax
add ebx, 1
cmp ebx, 4
jl 0x4566e0
mov ecx, dword [esp + 0x20]
mov eax, 0xe3779b90
mov dword [esp + 0x10], 0x10
jmp 0x456710
mov ebx, edi
shl ebx, 4
add ebx, dword [esp + 0x1c]
mov edx, edi
shr edx, 5
add edx, ecx
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
sub esi, edx
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x18]
mov ebx, esi
shl ebx, 4
add ebx, dword [esp + 0x14]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
sub edi, edx
add eax, 0x61c88647
sub dword [esp + 0x10], 1
jne 0x456710
push edi
mov edi, dword [0x531570]
call edi
mov ebx, dword [esp + 0x2c]
push esi
mov dword [ebx], eax
call edi
pop edi
pop esi
pop ebp
mov dword [ebx + 4], eax
pop ebx
add esp, 0x14
ret
Function at 0x458500
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [0x531020]
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 0x45868f
push esi
lea ecx, [esp + 0x24]
push str._sConnection
push ecx
mov eax, 0x103
call fcn.0045c350
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 [0x531004]
jne 0x458688
mov esi, dword [0x531058]
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 0x458681
push 0x104
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call fcn.00508d80
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 0x458681
mov esi, 1
cmp dword [esp + 0xc], esi
jne 0x458671
push ebp
lea edx, [esp + 0x24]
push 0x54c268
push edx
call fcn.005026ba
add esp, 0xc
test eax, eax
jne 0x45864c
xor ebp, ebp
jmp 0x458681
cmp dword [esp + 0xc], esi
jne 0x458671
push 3
lea eax, [esp + 0x24]
push 0x54c268
push eax
call fcn.005026ba
add esp, 0xc
test eax, eax
je 0x458671
mov ebp, 2
jmp 0x458681
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.004ff939
add esp, 0x11c
ret
Function at 0x458f10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x52d6ad
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov eax, dword [0x56b1dc]
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.00508d80
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 [0x5313b4]
test eax, eax
je 0x459052
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 0x458fc0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x20]
call fcn.00414780
mov ecx, esi
push ebx
push ecx
or eax, 0xffffffff
mov esi, edi
mov dword [esp + 0x254], 1
call fcn.00419000
mov byte [esp + 0x24c], bl
cmp dword [esp + 0x30], 8
jb 0x459012
mov edx, dword [esp + 0x1c]
push edx
call fcn.004ffbbe
add esp, 4
cmp byte [esp + 0x254], bl
mov ecx, edi
je 0x459026
push 0x13
push str.TencentDeskUpdate
jmp 0x45902d
push 0x10
push str.TencentDesktop
call fcn.00450b90
mov ecx, edi
call fcn.00459080
test al, al
jne 0x459044
mov ecx, edi
call fcn.004591e0
push 0xa
push str.Global.db
mov ecx, edi
call fcn.00450b90
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.004ff939
add esp, 0x244
ret
Function at 0x45cb60
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
test edi, edi
jne 0x45cb6f
push 0x80004005
call fcn.004026a0
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 [0x531040]
test esi, esi
je 0x45cbe7
mov ecx, dword [edi]
test ecx, ecx
jbe 0x45cbe2
mov edx, dword [esp]
test edx, edx
jbe 0x45cbdd
cmp edx, 2
jbe 0x45cbce
cmp edx, 7
jne 0x45cbdd
test cl, 1
jne 0x45cbdd
shr ecx, 1
cmp ecx, 1
jb 0x45cbdd
cmp word [esi + ecx*2 - 2], 0
jne 0x45cbdd
cmp ecx, 1
jbe 0x45cbe7
cmp word [esi + ecx*2 - 4], 0
jmp 0x45cbdb
test cl, 1
jne 0x45cbdd
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x45cbe7
mov eax, 0xd
mov word [esi], 0
pop ecx
ret 8
Function at 0x45d500
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x214], eax
test esi, esi
mov eax, dword [esp + 0x21c]
jne 0x45d536
xor eax, eax
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004ff939
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 [section..rdata]
test eax, eax
jne 0x45d5e5
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x45d5e5
push 0x20a
push eax
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], ax
call fcn.00508d80
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 [0x531040]
test eax, eax
jne 0x45d5da
push 0x103
lea edx, [esp + 0x10]
push edx
push esi
call fcn.00501fa5
mov eax, dword [esp + 0x10]
add esp, 0xc
push eax
call dword [0x531004]
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004ff939
add esp, 0x218
ret
mov ecx, dword [esp + 4]
push ecx
call dword [0x531004]
mov ecx, dword [esp + 0x218]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004ff939
add esp, 0x218
ret

Function at 0x45d600
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x525ed8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x56b1dc]
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 0x45d63a
push 0x80004005
call fcn.004026a0
push esi
call dword [0x531368]
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 [0x531010]
test eax, eax
jne 0x45d660
mov ebx, 1
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret
Function at 0x45d910
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x52e2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x68], edi
call fcn.0045cc30
test eax, eax
jne 0x45d9cd
call fcn.0045ccd0
test eax, eax
jne 0x45d9cd
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push edi
push esi
push 0x80000001
call dword [section..rdata]
test eax, eax
jne 0x45db0d
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push ebp
mov ebx, 4
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
call dword [0x531040]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [0x531004]
xor eax, eax
cmp esi, edi
sete al
jmp 0x45db0f
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
mov ebx, 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], bl
call fcn.0045cd50
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 2
call fcn.00414870
mov byte [esp + 0x68], bl
cmp dword [esp + 0x3c], 8
jb 0x45da19
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004ffbbe
add esp, 4
push ebx
push 0x542460
lea ecx, [esp + 0x48]
call fcn.00450b90
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x45da30
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.00450b90
mov eax, dword [esp + 0x44]
mov esi, 8
cmp dword [esp + 0x58], esi
jae 0x45da5d
lea eax, [esp + 0x44]
lea edx, [esp + 0x14]
push edx
push 0x2001f
push edi
push eax
push 0x80000003
mov dword [esp + 0x28], edi
call dword [section..rdata]
cmp eax, edi
jne 0x45dafa
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push ebp
mov ebx, 4
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call dword [0x531040]
cmp dword [esp + 0x14], ebx
mov ebx, 0xd
jne 0x45dab2
mov ebx, eax
cmp esi, edi
mov ebp, dword [0x531004]
je 0x45dac1
push esi
call ebp
xor esi, esi
xor eax, eax
cmp ebx, edi
sete al
cmp dword [esp + 0x58], 8
mov ebx, eax
jb 0x45dade
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004ffbbe
add esp, 4
cmp esi, edi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
je 0x45daf6
push esi
call ebp
mov eax, ebx
jmp 0x45db0f
cmp dword [esp + 0x58], esi
jb 0x45db0d
mov edx, dword [esp + 0x44]
push edx
call fcn.004ffbbe
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004ff939
add esp, 0x58
ret