joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dbb0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492978
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
cmp dword [esi], ebp
je 0x42dd9f
push ebp
push 0x49a44b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
call fcn.00404950
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x54], ebp
call fcn.00402f10
mov eax, dword [esp + 0x18]
mov ebx, 0x10
cmp dword [esp + 0x2c], ebx
jae 0x42dc24
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x40]
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00403d10
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x54], 0xffffffff
jb 0x42dc50
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
lea edi, [esi + 0x24]
cmp edi, ebp
je 0x42dc5c
lea eax, [esi + 0x2c]
jmp 0x42dc5e
xor eax, eax
mov ecx, dword [esp + 0x5c]
push ecx
push eax
call fcn.00425cc0
add esp, 8
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00405650
cmp dword [esp + 0x2c], ebx
mov ebp, dword [eax + 0x14]
jb 0x42dc8e
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
test ebp, ebp
jbe 0x42dccd
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00405650
cmp dword [eax + 0x18], ebx
jb 0x42dca8
mov eax, dword [eax + 4]
jmp 0x42dcab
add eax, 4
mov edx, dword [esi]
push edx
push ebp
push 1
push eax
call fcn.00462f08
add esp, 0x10
cmp dword [esp + 0x2c], ebx
jb 0x42dccd
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
add dword [esi + 0x20], ebp
cmp dword [esi + 0x20], 0x4000000
jb 0x42dd94
mov ecx, dword [esi]
push ecx
mov dword [esi + 0x20], 0
call fcn.00462bf9
push str..bak
lea edi, [esi + 4]
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.00409e90
add esp, 0x10
cmp dword [eax + 0x18], ebx
jb 0x42dd0c
mov eax, dword [eax + 4]
jmp 0x42dd0f
add eax, 4
push eax
call fcn.00462da4
add esp, 4
cmp dword [esp + 0x2c], ebx
jb 0x42dd2b
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
push str..bak
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00409e90
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x42dd48
mov eax, dword [eax + 4]
jmp 0x42dd4b
add eax, 4
cmp dword [edi + 0x18], ebx
jb 0x42dd55
mov ecx, dword [edi + 4]
jmp 0x42dd58
lea ecx, [edi + 4]
push eax
push ecx
call fcn.00462d4c
add esp, 8
cmp dword [esp + 0x48], ebx
jb 0x42dd75
mov edx, dword [esp + 0x34]
push edx
call fcn.00460238
add esp, 4
cmp dword [edi + 0x18], ebx
jb 0x42dd7f
mov edi, dword [edi + 4]
jmp 0x42dd82
add edi, 4
push 0x40
push 0x49b628
push edi
call fcn.00462c75
add esp, 0xc
mov dword [esi], eax
mov eax, dword [esi]
push eax
call fcn.00462b2b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
Function at 0x42e2e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492978
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
je 0x42e4c6
push edi
push 0x49a44b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00404950
mov dword [esp + 0x54], edi
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00402f10
mov eax, dword [esp + 0x18]
mov ebx, 0x10
cmp dword [esp + 0x2c], ebx
jae 0x42e354
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x40]
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00403d10
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x54], 0xffffffff
jb 0x42e380
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
mov ecx, dword [esp + 0x5c]
movzx edx, byte [ecx]
push edx
lea ecx, [esi + 0x2c]
call fcn.0042ddc0
lea eax, [esp + 0x14]
lea edi, [esi + 0x24]
push eax
mov ecx, edi
call fcn.00405650
cmp dword [esp + 0x2c], ebx
mov ebp, dword [eax + 0x14]
jb 0x42e3b5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00460238
add esp, 4
test ebp, ebp
jbe 0x42e3f4
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00405650
cmp dword [eax + 0x18], ebx
jb 0x42e3cf
mov eax, dword [eax + 4]
jmp 0x42e3d2
add eax, 4
mov ecx, dword [esi]
push ecx
push ebp
push 1
push eax
call fcn.00462f08
add esp, 0x10
cmp dword [esp + 0x2c], ebx
jb 0x42e3f4
mov edx, dword [esp + 0x18]
push edx
call fcn.00460238
add esp, 4
add dword [esi + 0x20], ebp
cmp dword [esi + 0x20], 0x4000000
jb 0x42e4bb
mov eax, dword [esi]
push eax
mov dword [esi + 0x20], 0
call fcn.00462bf9
push str..bak
lea edi, [esi + 4]
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.00409e90
add esp, 0x10
cmp dword [eax + 0x18], ebx
jb 0x42e433
mov eax, dword [eax + 4]
jmp 0x42e436
add eax, 4
push eax
call fcn.00462da4
add esp, 4
cmp dword [esp + 0x2c], ebx
jb 0x42e452
mov edx, dword [esp + 0x18]
push edx
call fcn.00460238
add esp, 4
push str..bak
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00409e90
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x42e46f
mov eax, dword [eax + 4]
jmp 0x42e472
add eax, 4
cmp dword [edi + 0x18], ebx
jb 0x42e47c
mov ecx, dword [edi + 4]
jmp 0x42e47f
lea ecx, [edi + 4]
push eax
push ecx
call fcn.00462d4c
add esp, 8
cmp dword [esp + 0x48], ebx
jb 0x42e49c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00460238
add esp, 4
cmp dword [edi + 0x18], ebx
jb 0x42e4a6
mov edi, dword [edi + 4]
jmp 0x42e4a9
add edi, 4
push 0x40
push 0x49b628
push edi
call fcn.00462c75
add esp, 0xc
mov dword [esi], eax
mov edx, dword [esi]
push edx
call fcn.00462b2b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
Function at 0x42e4e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492978
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
je 0x42e6c5
push edi
push 0x49a44b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00404950
mov dword [esp + 0x54], edi
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00402f10
mov eax, dword [esp + 0x18]
mov ebx, 0x10
cmp dword [esp + 0x2c], ebx
jae 0x42e554
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x40]
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00403d10
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x54], 0xffffffff
jb 0x42e580
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
push edx
lea ecx, [esi + 0x2c]
call fcn.0042df20
lea eax, [esp + 0x14]
lea edi, [esi + 0x24]
push eax
mov ecx, edi
call fcn.00405650
cmp dword [esp + 0x2c], ebx
mov ebp, dword [eax + 0x14]
jb 0x42e5b4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00460238
add esp, 4
test ebp, ebp
jbe 0x42e5f3
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00405650
cmp dword [eax + 0x18], ebx
jb 0x42e5ce
mov eax, dword [eax + 4]
jmp 0x42e5d1
add eax, 4
mov ecx, dword [esi]
push ecx
push ebp
push 1
push eax
call fcn.00462f08
add esp, 0x10
cmp dword [esp + 0x2c], ebx
jb 0x42e5f3
mov edx, dword [esp + 0x18]
push edx
call fcn.00460238
add esp, 4
add dword [esi + 0x20], ebp
cmp dword [esi + 0x20], 0x4000000
jb 0x42e6ba
mov eax, dword [esi]
push eax
mov dword [esi + 0x20], 0
call fcn.00462bf9
push str..bak
lea edi, [esi + 4]
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.00409e90
add esp, 0x10
cmp dword [eax + 0x18], ebx
jb 0x42e632
mov eax, dword [eax + 4]
jmp 0x42e635
add eax, 4
push eax
call fcn.00462da4
add esp, 4
cmp dword [esp + 0x2c], ebx
jb 0x42e651
mov edx, dword [esp + 0x18]
push edx
call fcn.00460238
add esp, 4
push str..bak
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00409e90
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x42e66e
mov eax, dword [eax + 4]
jmp 0x42e671
add eax, 4
cmp dword [edi + 0x18], ebx
jb 0x42e67b
mov ecx, dword [edi + 4]
jmp 0x42e67e
lea ecx, [edi + 4]
push eax
push ecx
call fcn.00462d4c
add esp, 8
cmp dword [esp + 0x48], ebx
jb 0x42e69b
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00460238
add esp, 4
cmp dword [edi + 0x18], ebx
jb 0x42e6a5
mov edi, dword [edi + 4]
jmp 0x42e6a8
add edi, 4
push 0x40
push 0x49b628
push edi
call fcn.00462c75
add esp, 0xc
mov dword [esi], eax
mov edx, dword [esi]
push edx
call fcn.00462b2b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
Function at 0x430be0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ebx, [esi + 0x30]
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x430c02
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret
push edi
call fcn.004607f0
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.00460750
mov eax, dword [esi + 8]
add esp, 0x10
push eax
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x430bf9
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00430890
test eax, eax
je 0x430bf9
mov eax, dword [esp + 0x14]
mov edx, eax
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x18]
shr edx, 0x10
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x1c]
shr ecx, 0x10
mov word [esi + 0xc], dx
mov edx, eax
mov word [esi + 0x10], cx
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x18], cx
mov ecx, dword [esp + 0x2c]
shr edx, 0x10
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x24]
mov word [esi + 0x1a], ax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], ecx
push 0x104
lea ecx, [esi + 0x134]
push ecx
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
push 0x49b8b4
mov ecx, esi
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call fcn.004309d0
test eax, eax
je 0x430bf9
push 0x104
lea edx, [esi + 0x33c]
push edx
push 0x49b8a4
mov ecx, esi
call fcn.004309d0
test eax, eax
je 0x430bf9
push 0x104
lea eax, [esi + 0x238]
push eax
push 0x49b898
mov ecx, esi
call fcn.004309d0
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x34
ret

Function at 0x430de0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x49b8d0
push 1
push 0
push 0x49b8c0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x430e44
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x430e44
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x430e54
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x430e64
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x433fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493448
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.00440b30
xor ebx, ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call fcn.004413f0
test al, al
jne 0x43403c
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x434034
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov bl, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x43403e
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040bea0
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004601ff
add esp, 0x24
ret
Function at 0x434970
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x4349eb
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4349da
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
cmp eax, ebx
mov ecx, dword [esp + 0x14]
setne al
pop ebx
xor ecx, esp
call fcn.004601ff
add esp, 0x14
ret
Function at 0x4358b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x493583
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x16c]
mov ebp, dword [esp + 0x170]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov dword [esp + 0x50], esi
mov byte [esi + 4], bl
push 0x104
lea eax, [esp + 0x58]
push ebx
push eax
mov dword [esp + 0x170], ebx
mov dword [esp + 0x20], 1
call fcn.00460750
add esp, 0xc
push 1
push 0x2b
lea ecx, [esp + 0x5c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x435a53
lea eax, [esp + 0x54]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x435960
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x3c]
call fcn.00404950
push str.TencentQQDownload
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x170], 1
call fcn.00409e90
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x170], 2
call fcn.00405ea0
mov edi, 0x10
cmp dword [esp + 0x30], edi
jb 0x4359c7
mov edx, dword [esp + 0x1c]
push edx
call fcn.00460238
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x164], bl
jb 0x4359f1
mov eax, dword [esp + 0x38]
push eax
call fcn.00460238
add esp, 4
cmp dword [ebp + 0x14], ebx
je 0x435a39
push ebp
lea ecx, [esp + 0x1c]
push 0x49a4f0
push ecx
call fcn.00434e50
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x170], 3
call fcn.00405ea0
cmp dword [esp + 0x30], edi
mov byte [esp + 0x164], bl
jb 0x435a39
mov edx, dword [esp + 0x1c]
push edx
call fcn.00460238
add esp, 4
push esi
call fcn.004352a0
add esp, 4
test al, al
jne 0x435a60
push esi
call fcn.00435400
add esp, 4
cmp al, bl
jne 0x435a60
push ebx
push 0x49a44b
mov ecx, esi
call fcn.00404950
mov eax, esi
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.004601ff
add esp, 0x154
ret
Function at 0x435a90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x493603
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, dword [esp + 0x270]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov dword [esp + 0x30], esi
mov byte [esi + 4], bl
push 0x104
lea eax, [esp + 0x15c]
push ebx
push eax
mov dword [esp + 0x274], ebx
mov dword [esp + 0x38], 1
call fcn.00460750
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 0x160]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x435bef
lea eax, [esp + 0x158]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x435b40
sub eax, edx
push eax
lea edx, [esp + 0x15c]
push edx
lea ecx, [esp + 0x18]
call fcn.00404950
push str.TencentTencentdl
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x274], 1
call fcn.00409e90
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x274], 2
call fcn.00405ea0
cmp dword [esp + 0x4c], 0x10
jb 0x435ba6
mov edx, dword [esp + 0x38]
push edx
call fcn.00460238
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x268], bl
jb 0x435bcd
mov eax, dword [esp + 0x14]
push eax
call fcn.00460238
add esp, 4
push esi
call fcn.004352a0
add esp, 4
test al, al
jne 0x435c88
push esi
call fcn.00435400
add esp, 4
cmp al, bl
jne 0x435c88
push 0x104
lea ecx, [esp + 0x55]
push ebx
push ecx
mov byte [esp + 0x5c], bl
call fcn.00460750
add esp, 0xc
push 0x105
lea edx, [esp + 0x54]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x50]
push 0x5c
push eax
call fcn.00463740
add esp, 8
cmp eax, ebx
je 0x435c2c
mov byte [eax], bl
lea eax, [esp + 0x50]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x435c40
sub eax, edx
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x18]
call fcn.00404950
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov dword [esp + 0x274], 3
call fcn.00404870
cmp dword [esp + 0x28], 0x10
jb 0x435c88
mov eax, dword [esp + 0x14]
push eax
call fcn.00460238
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.004601ff
add esp, 0x25c
ret
Function at 0x435cc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49368b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov esi, dword [esp + 0x274]
xor ebx, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov ebp, 0xf
mov edi, 1
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov dword [esp + 0x26c], edi
mov byte [esi + 4], bl
push 0x104
lea eax, [esp + 0x160]
push ebx
push eax
mov dword [esp + 0x3c], edi
call fcn.00460750
mov cl, byte [esp + 0x2a4]
add esp, 0xc
neg cl
push edi
lea edx, [esp + 0x160]
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
lea edi, [ebx + 0x10]
je 0x435e31
lea eax, [esp + 0x15c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x435d83
sub eax, edx
push eax
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404950
lea ecx, [esp + 0x27c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x278], 2
call fcn.00413570
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x278], 3
call fcn.00405ea0
cmp dword [esp + 0x50], edi
jb 0x435de8
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00460238
add esp, 4
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x26c], 1
jb 0x435e0f
mov edx, dword [esp + 0x18]
push edx
call fcn.00460238
add esp, 4
push esi
call fcn.004352a0
add esp, 4
test al, al
jne 0x435ec5
push esi
call fcn.00435400
add esp, 4
cmp al, bl
jne 0x435ec5
push 0x104
lea eax, [esp + 0x59]
push ebx
push eax
mov byte [esp + 0x60], bl
call fcn.00460750
add esp, 0xc
push 0x105
lea ecx, [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x54]
push 0x5c
push edx
call fcn.00463740
add esp, 8
cmp eax, ebx
je 0x435e6e
mov byte [eax], bl
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x435e81
sub eax, edx
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404950
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x278], 4
call fcn.00404870
cmp dword [esp + 0x2c], edi
jb 0x435ec5
mov edx, dword [esp + 0x18]
push edx
call fcn.00460238
add esp, 4
cmp dword [esp + 0x294], edi
jb 0x435ede
mov eax, dword [esp + 0x280]
push eax
call fcn.00460238
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.004601ff
add esp, 0x25c
ret