joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4182f0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push ebp
mov ebp, ecx
jne 0x41830d
push ebx
push ebx
push ebx
push 2
call fcn.0041a090
pop ebp
xor al, al
pop ebx
ret 8
push esi
push edi
call fcn.004180f0
mov esi, dword [0x4253b8]
push 2
or eax, 0xffffffff
push 0
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call esi
push ebx
call dword [0x4253bc]
push 0
push 0
push ebx
mov edi, eax
call esi
add esp, 0x1c
test edi, edi
jg 0x418359
push 0
push 0
push 0
push 0xc
mov ecx, ebp
call fcn.0041a090
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
lea eax, [edi + 1]
push eax
call fcn.0041ba2e
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call dword [0x4253c0]
add esp, 0x14
cmp eax, 1
je 0x41839b
push esi
call fcn.0041b96a
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebp
call fcn.0041a090
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x4183cc
mov dl, byte [eax]
cmp dl, 0xd
jne 0x4183bf
mov byte [ecx], 0xa
add eax, 1
add ecx, 1
cmp byte [eax], 0xa
jne 0x4183c7
jmp 0x4183c4
mov byte [ecx], dl
add ecx, 1
add eax, 1
cmp byte [eax], 0
jne 0x4183a8
mov eax, dword [esp + 0x18]
push eax
mov byte [ecx], 0
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call edx
push esi
call fcn.0041b96a
add esp, 4
pop edi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop esi
pop ebp
sete al
pop ebx
ret 8

Function at 0x418c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x422423
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0xc], esi
call fcn.00418920
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x14], ebx
mov dword [ecx], 0x433730
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x426b28
mov byte [esp + 0x1c], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0041b7d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41cf20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4225fb
push eax
mov dword fs:[0], esp
mov eax, dword [0x4252ec]
mov ecx, dword [eax]
sub esp, 0x1c
push edi
push ecx
push 0x42611c
mov ecx, esi
xor edi, edi
call dword [0x4252e0]
mov edx, dword [0x4252ec]
cmp eax, dword [edx]
je 0x41cf9f
push eax
push edi
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [0x4252b8]
mov ecx, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], edi
call dword [0x42523c]
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call dword [0x4252f0]
lea eax, [edi + 1]
pop edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x41d040
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42260d
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esi], vtable.CQShareMemFile.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call dword [0x4252e4]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x10], edi
lea ecx, [esi + 0x44]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
call dword [0x4252e4]
mov ecx, dword [esp + 8]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x41d0b0
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x422669
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, dword [ebx + 0x40]
mov ebp, dword [ebx + 0x10]
push edi
call fcn.0041c9e0
mov esi, dword [esp + 0x78]
mov edi, eax
add edi, dword [esi + 8]
push 0x42611c
add ebx, 0x44
push ebx
mov ebx, dword [0x425240]
lea eax, [esp + 0x54]
push eax
add edi, ebp
call ebx
xor ebp, ebp
mov dword [esp + 0x7c], ebp
mov ecx, dword [esi + 4]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
call ebx
add esp, 0x18
mov ebx, 2
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], bl
call dword [0x4252f0]
lea ecx, [esp + 0x14]
call dword [0x4252e4]
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x34]
mov byte [esp + 0x74], 3
call fcn.0041cf20
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x41d152
lea eax, [esp + 0x18]
push eax
call dword [0x4251e4]
cmp eax, 0xffffffff
je 0x41d162
test al, 0x10
jne 0x41d1b4
cmp dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
jae 0x41d170
lea eax, [esp + 0x18]
push ebp
push eax
push ebp
call dword [0x4254c4]
test eax, eax
je 0x41d1b4
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], bl
call dword [0x4252f0]
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0xffffffff
call dword [0x4252f0]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x41d1c2
lea eax, [esp + 0x34]
push eax
call dword [0x4251fc]
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x41d1d7
lea eax, [esp + 0x34]
push ebp
push 0x80
push ebx
push ebp
push ebp
push 0xc0000000
push eax
call dword [0x4251d4]
mov esi, eax
cmp esi, 0xffffffff
je 0x41d17d
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0xc]
push ebp
lea edx, [esp + 0x14]
push edx
push eax
push edi
push esi
mov dword [esp + 0x24], ebp
call dword [0x4251d0]
push esi
mov edi, eax
call dword [0x425218]
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], bl
call dword [0x4252f0]
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0xffffffff
call dword [0x4252f0]
mov ecx, dword [esp + 0x68]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4

Function at 0x41d440
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov dword [esp + 0xc], 0
mov word [esp + 0x10], 0
call fcn.0041c8b6
mov ecx, dword [esp + 0x220]
add esp, 0xc
push 0
push ecx
lea edx, [esp + 0xc]
push edx
push 0
call dword [0x4254c8]
test eax, eax
je 0x41d491
lea eax, [esp + 4]
push eax
call dword [0x4254d8]
jmp 0x41d4a5
push 0x20a
lea ecx, [esp + 8]
push 0
push ecx
call fcn.0041c8b6
add esp, 0xc
lea edx, [esp + 4]
push edx
mov ecx, edi
call dword [0x4252c0]
mov eax, edi
add esp, 0x210
ret
Function at 0x41d850
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x41d86a
push 0
push eax
call dword [0x42521c]
test eax, eax
je 0x41d86a
xor eax, eax
pop ecx
ret
lea eax, [esp]
push eax
push 0
push esi
push 0x41d820
push 0
push 0
mov dword [esp + 0x18], 0
call dword [0x425454]
xor ecx, ecx
add esp, 0x18
cmp eax, 0xffffffff
setne cl
mov dword [esi + 4], eax
mov eax, ecx
pop ecx
ret

Function at 0x41db60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x422697
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x478
push ebx
push ebp
mov ebp, dword [esp + 0x498]
push esi
xor al, al
xor ebx, ebx
push edi
mov byte [esp + 0x13], al
mov dword [esp + 0x18], ebx
or esi, 0xffffffff
test al, al
jne 0x41dd8c
push 0x200
lea eax, [esp + 0x28c]
push 0
push eax
call fcn.0041c8b6
push ebx
push str..Scsi_d:
push esi
lea ecx, [esp + 0x2a0]
push 0xff
push ecx
call dword [0x4253f8]
add esp, 0x20
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x2a0]
push edx
call dword [0x4251d4]
mov edi, eax
cmp edi, esi
je 0x41dd78
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x41dc00
push 0x22d
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.0041c8b6
mov ecx, dword [str.SCSIDISK]
mov edx, dword [0x428d10]
add esp, 0xc
push 0
lea eax, [esp + 0x20]
push eax
push 0x22d
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x64]
push ecx
push 0x3c
mov dword [esp + 0x74], edx
mov edx, ecx
push edx
push 0x4d008
push edi
mov dword [esp + 0x78], 0x1c
mov dword [esp + 0x84], 0x2710
mov dword [esp + 0x90], 0x211
mov dword [esp + 0x88], 0x1b0501
mov byte [esp + 0x9e], 0xec
mov byte [esp + 0xa0], bl
call dword [0x425130]
test eax, eax
je 0x41dd5d
cmp byte [esp + 0xba], 0
je 0x41dd5d
lea eax, [esp + 0x20]
push 0x13
push eax
mov ecx, 0xa
lea ebx, [esp + 0x8c]
call fcn.0041da30
add esp, 8
mov ecx, dword [esp + 0x498]
push eax
mov dword [esp + 0x494], 0
call dword [0x425248]
lea ecx, [esp + 0x20]
mov dword [esp + 0x490], esi
call dword [0x4252c4]
lea ecx, [esp + 0x20]
push 0x2e
push ecx
mov ecx, 0x1b
call fcn.0041da30
add esp, 8
mov ecx, dword [esp + 0x49c]
push eax
mov dword [esp + 0x494], 1
call dword [0x425248]
lea ecx, [esp + 0x20]
mov dword [esp + 0x490], esi
call dword [0x4252c4]
lea edx, [esp + 0x3c]
push 0x1a
push edx
mov ecx, 0x17
call fcn.0041da30
add esp, 8
push eax
mov ecx, ebp
mov dword [esp + 0x494], 2
call dword [0x425248]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x490], esi
call dword [0x4252c4]
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x13], 1
add ebx, 1
cmp ebx, 2
mov dword [esp + 0x14], ebx
jl 0x41dc00
push edi
call dword [0x425218]
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
add ebx, 1
cmp ebx, 0x10
mov dword [esp + 0x18], ebx
jl 0x41db95
mov ecx, dword [esp + 0x488]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x484
ret
Function at 0x41ddb0
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x4226c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd50
push ebx
push ebp
push esi
push edi
xor al, al
xor edi, edi
xor ebx, ebx
mov byte [esp + 0x13], al
mov dword [esp + 0x14], edi
or ebp, 0xffffffff
cmp al, bl
jne 0x41e034
push 0x200
lea eax, [esp + 0x364]
push ebx
push eax
call fcn.0041c8b6
push edi
push 0x428ccc
push ebp
lea ecx, [esp + 0x378]
push 0xff
push ecx
call dword [0x4253f8]
add esp, 0x20
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea edx, [esp + 0x378]
push edx
call dword [0x4251d4]
mov esi, eax
cmp esi, ebp
je 0x41e020
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x800
mov dword [esp + 0x28], eax
lea eax, [esp + 0x564]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0041c8b6
add esp, 0xc
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x800
lea edx, [esp + 0x56c]
push edx
push 0xc
lea eax, [esp + 0x30]
push eax
push 0x2d1400
push esi
call dword [0x425130]
test eax, eax
je 0x41e00f
push 0xff
lea ecx, [esp + 0x65]
push ebx
push ecx
mov byte [esp + 0x6c], bl
call fcn.0041c8b6
push 0xff
lea edx, [esp + 0x271]
push ebx
push edx
mov byte [esp + 0x278], bl
call fcn.0041c8b6
push 0xff
lea eax, [esp + 0x17d]
push ebx
push eax
mov byte [esp + 0x184], bl
call fcn.0041c8b6
mov eax, dword [esp + 0x594]
push ebx
lea edi, [esp + 0x288]
lea ecx, [esp + 0x588]
call fcn.0041d8c0
mov eax, dword [esp + 0x59c]
push ebx
lea edi, [esp + 0x18c]
lea ecx, [esp + 0x58c]
call fcn.0041d8c0
mov eax, dword [esp + 0x5a4]
push 1
lea edi, [esp + 0x90]
lea ecx, [esp + 0x590]
call fcn.0041d8c0
movsx ecx, byte [esp + 0x90]
mov edi, dword [0x425394]
push ecx
call edi
add esp, 0x34
test eax, eax
jne 0x41df5b
movsx edx, byte [esp + 0x73]
push edx
call edi
add esp, 4
test eax, eax
je 0x41e015
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x2c]
call dword [0x425270]
mov ecx, dword [esp + 0xd70]
push eax
mov dword [esp + 0xd6c], ebx
call dword [0x425248]
lea ecx, [esp + 0x28]
mov dword [esp + 0xd68], ebp
call dword [0x4252c4]
lea ecx, [esp + 0x260]
push ecx
lea ecx, [esp + 0x2c]
call dword [0x425270]
mov ecx, dword [esp + 0xd74]
push eax
mov dword [esp + 0xd6c], 1
call dword [0x425248]
lea ecx, [esp + 0x28]
mov dword [esp + 0xd68], ebp
call dword [0x4252c4]
lea edx, [esp + 0x160]
push edx
lea ecx, [esp + 0x48]
call dword [0x425270]
mov ecx, dword [esp + 0xd78]
push eax
mov dword [esp + 0xd6c], 2
call dword [0x425248]
lea ecx, [esp + 0x44]
mov dword [esp + 0xd68], ebp
call dword [0x4252c4]
mov byte [esp + 0x13], 1
jmp 0x41e015
call dword [0x4251ec]
push esi
call dword [0x425218]
mov edi, dword [esp + 0x14]
mov al, byte [esp + 0x13]
add edi, 1
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x41dde0
mov ecx, dword [esp + 0xd60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd5c
ret
Function at 0x41e050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4226f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
push ebp
xor al, al
push esi
xor ebx, ebx
push edi
mov byte [esp + 0x17], al
mov dword [esp + 0x18], ebx
jmp 0x41e080
test al, al
jne 0x41e278
push 0x200
lea eax, [esp + 0x78]
push 0
push eax
call fcn.0041c8b6
push ebx
push 0x428ccc
push 0xffffffffffffffff
lea ecx, [esp + 0x8c]
push 0xff
push ecx
call dword [0x4253f8]
add esp, 0x20
push 0
push 0
push 3
push 0
push 7
push 0xc0000000
lea edx, [esp + 0x8c]
push edx
call dword [0x4251d4]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41e264
mov esi, dword [0x425130]
xor eax, eax
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
push eax
push 0x18
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0x74080
push ebp
mov dword [esp + 0x40], 0
call esi
test eax, eax
je 0x41e25d
push 0x221
call dword [0x4253e8]
mov edi, eax
add esp, 4
test edi, edi
je 0x41e25d
push 0
lea edx, [esp + 0x20]
push edx
push 0x221
push edi
push 0x21
push edi
push 0x7c088
push ebp
mov byte [edi + 0xa], 0xec
mov dword [esp + 0x3c], 0
call esi
test eax, eax
je 0x41e253
mov eax, dword [edi]
lea esi, [edi + 0x10]
test esi, esi
je 0x41e253
cmp eax, 0x2e
jbe 0x41e253
lea eax, [esp + 0x3c]
push 0x13
push eax
mov ecx, 0xa
mov ebx, esi
call fcn.0041da30
add esp, 8
mov ecx, dword [esp + 0x28c]
push eax
mov dword [esp + 0x288], 0
call dword [0x425248]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x284], 0xffffffff
call dword [0x4252c4]
lea ecx, [esp + 0x3c]
push 0x2e
push ecx
mov ecx, 0x1b
call fcn.0041da30
add esp, 8
mov ecx, dword [esp + 0x290]
push eax
mov dword [esp + 0x288], 1
call dword [0x425248]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x284], 0xffffffff
call dword [0x4252c4]
lea edx, [esp + 0x58]
push 0x1a
push edx
mov ecx, 0x17
call fcn.0041da30
add esp, 8
mov ecx, dword [esp + 0x294]
push eax
mov dword [esp + 0x288], 2
call dword [0x425248]
lea ecx, [esp + 0x58]
mov dword [esp + 0x284], 0xffffffff
call dword [0x4252c4]
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x17], 1
push edi
call dword [0x4253f0]
add esp, 4
push ebp
call dword [0x425218]
mov al, byte [esp + 0x17]
add ebx, 1
cmp ebx, 0x10
mov dword [esp + 0x18], ebx
jl 0x41e080
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x278
ret
Function at 0x41e580
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
mov esi, dword [0x425008]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
mov ebp, 1
push 0x80000002
mov ebx, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call esi
test eax, eax
jne 0x41e701
mov ecx, dword [esp + 0x128]
push ecx
push str._sConnection
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push 0x103
push edx
call dword [0x4253d0]
mov edx, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
test eax, eax
jne 0x41e6f6
mov esi, dword [0x42500c]
mov eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.MediaSubType
push eax
call esi
test eax, eax
jne 0x41e6eb
push 0x104
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x103
call fcn.0041c8b6
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.PnpInstanceID
push edx
call esi
test eax, eax
jne 0x41e6eb
cmp dword [esp + 0xc], ebp
jne 0x41e6dd
mov esi, dword [0x425390]
push ebx
lea eax, [esp + 0x24]
push 0x428cc0
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x41e6bb
xor ebx, ebx
jmp 0x41e6eb
cmp dword [esp + 0xc], ebp
jne 0x41e6dd
push 3
lea ecx, [esp + 0x24]
push 0x428cc0
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x41e6dd
mov ebx, 2
jmp 0x41e6eb
xor ebx, ebx
cmp dword [esp + 0xc], 2
setne bl
lea ebx, [ebx + ebx + 1]
mov edx, dword [esp + 0x10]
push edx
call dword [0x425004]
mov eax, dword [esp + 0x1c]
push eax
call dword [0x425004]
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x118
ret
Function at 0x41f200
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4227cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push esi
mov esi, dword [esp + 0x244]
mov dword [esp + 0x23c], 0
mov ecx, esi
mov dword [esp + 4], 0
call dword [0x4252e4]
push 0x208
lea eax, [esp + 0x28]
push 0
mov dword [esp + 0x244], 0
push eax
mov dword [esp + 0x10], 1
call fcn.0041c8b6
add esp, 0xc
mov cl, bl
neg cl
push 1
lea edx, [esp + 0x28]
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
push edx
push 0
call dword [0x4254c8]
test eax, eax
je 0x41f2ef
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
call dword [0x4252c0]
push eax
mov ecx, esi
mov dword [esp + 0x240], 1
call dword [0x4252bc]
lea ecx, [esp + 8]
mov byte [esp + 0x23c], 0
call dword [0x4252f0]
test bl, bl
mov ecx, esi
je 0x41f2c7
push str.TencentDeskUpdate
jmp 0x41f2cc
push str.TencentDesktop
call dword [0x4252d0]
call fcn.0041ec90
test al, al
jne 0x41f2e2
mov ecx, esi
call fcn.0041ee60
push str.Global.db
mov ecx, esi
call dword [0x4252d0]
mov ecx, dword [esp + 0x234]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x23c
ret
Function at 0x41fab0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWARETencentQDeskDbg
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call dword [0x425054]
test eax, eax
jne 0x41fb1a
mov eax, 4
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x4289f8
push ecx
call dword [section..rdata]
mov edx, dword [esp]
push edx
call dword [0x425004]
mov eax, dword [esp + 4]
add esp, 0x10
ret

Function at 0x41fbb0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x41fbed
mov ecx, dword [esp + 8]
push edi
mov edi, dword [0x42543c]
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push ecx
call edi
mov edx, dword [esi + 4]
push edx
push 2
push 1
push 0x426b74
call edi
mov eax, dword [esi + 4]
push eax
call dword [0x4253d4]
add esp, 0x24
pop edi
pop esi
ret 8

Function at 0x41fc00
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x41fc3d
mov ecx, dword [esp + 8]
push edi
mov edi, dword [0x42543c]
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push ecx
call edi
mov edx, dword [esi + 4]
push edx
push 2
push 1
push 0x426b74
call edi
mov eax, dword [esi + 4]
push eax
call dword [0x4253d4]
add esp, 0x24
pop edi
pop esi
ret 8

Function at 0x41fc50
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x20
xor eax, eax
lea edx, [esp]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 4], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
mov word [esp + 0x14], 0x414
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 8], 3
call dword [0x4254b8]
neg eax
sbb eax, eax
add eax, 1
add esp, 0x20
ret
Function at 0x420250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x248
push ebx
push edi
lea eax, [esp + 8]
push eax
mov dword [esi], vtable.core_log::log_device_fileex.0
call dword [0x425208]
push 0
push 5
lea ecx, [esp + 0x20]
push ecx
push 0
call dword [0x4254bc]
mov ebx, dword [0x4253e0]
push str.QDeskLog_
lea edx, [esp + 0x1c]
push 0x12c
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x18]
push 0x5c
push eax
call dword [0x4253cc]
lea edi, [esp + 0x20]
call fcn.0041fec0
push 0x103
lea ecx, [esp + 0x155]
push 0
push ecx
mov byte [esp + 0x15c], 0
call fcn.0041c8b6
movzx edx, word [esp + 0x22]
movzx eax, word [esp + 0x1e]
movzx ecx, word [esp + 0x1c]
add esp, 0x14
push edx
push eax
push ecx
lea edx, [esp + 0x154]
push str._d_02d_02d_
push edx
mov eax, 0x104
call fcn.00417000
add esp, 0x14
lea eax, [esp + 0x148]
push eax
mov ecx, edi
push 0x104
push ecx
call ebx
add esp, 0xc
mov edx, edi
push edx
call dword [0x425640]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x12]
movzx edx, word [esp + 0x10]
push eax
movzx eax, word [esp + 0x12]
push ecx
movzx ecx, word [esp + 0x12]
push edx
movzx edx, word [esp + 0x14]
push eax
push ecx
push edx
lea eax, [esp + 0x160]
push str._d_02d_02d_02d_02d_02d.log
push eax
mov eax, 0x104
call fcn.00417000
lea ecx, [esp + 0x168]
push ecx
mov edx, edi
push 0x104
push edx
call ebx
add esp, 0x2c
push 0x4289b0
mov eax, edi
push eax
lea ecx, [esi + 4]
push ecx
call dword [0x4253c4]
add esp, 0xc
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4207b0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push str.CTaskMgr::Start
push str..TaskMgr.cpp
mov edi, 1
mov esi, eax
call fcn.00420160
mov eax, dword [esi + 0x10]
add esp, 8
push eax
call dword [0x4251ac]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
mov ebx, dword [0x42521c]
je 0x4207f0
push 0
push eax
call ebx
test eax, eax
jne 0x420823
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
push 0x41d820
push 0
push 0
mov dword [esp + 0x28], 0
call dword [0x425454]
xor edx, edx
add esp, 0x18
cmp eax, 0xffffffff
setne dl
mov dword [esi + 4], eax
mov eax, edx
test eax, eax
jne 0x42082c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push str.Start2
push str..TaskMgr.cpp
call fcn.00420160
mov eax, dword [esi + 0x10]
add esp, 8
push 0x3e8
push eax
call ebx
mov esi, eax
neg esi
sbb esi, esi
add esi, edi
push esi
push str.Start3__bRet_d
push str..TaskMgr.cpp
call fcn.00420160
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret