joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa9f8aa
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a9f826
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xa9fa22
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xa9fa22
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xa9f9d1
jg 0xa9f903
test eax, eax
je 0xa9f9c7
push 1
push 0x1000
call fcn.00a89636
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xa9f929
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0xa9f9be
push 0x8000
push ebx
call fcn.00a87cf5
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0xa9f955
jg 0xa9f950
cmp ecx, 0x1000
jb 0xa9f955
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00a9f126
add esp, 0x10
cmp eax, 0xffffffff
je 0xa9f99a
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0xa9f950
jl 0xa9f981
test ecx, ecx
jne 0xa9f942
push dword [ebp - 0xc]
push ebx
call fcn.00a87cf5
push esi
call fcn.00a8a35d
add esp, 0xc
xor edi, edi
jmp 0xa9fa33
cmp byte [edi + 0x24], 0
je 0xa9f9b1
cmp dword [edi + 0x20], 5
jne 0xa9f9b1
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xa9f9bc
mov edi, dword [edi + 0x18]
jmp 0xa9f9be
xor edi, edi
push esi
call fcn.00a8a35d
pop ecx
jmp 0xa9fa33
test ecx, ecx
jg 0xa9f993
jl 0xa9f9d1
test eax, eax
jae 0xa9f993
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a94377
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xa9f9f4
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa9f993
jmp 0xa9fa2b
push ebx
call fcn.00a98bdf
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xa9f993
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0xa9fa33
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa9fa30
mov edi, dword [edi + 0x18]
jmp 0xa9fa33
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00a94377
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0xaa582c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x40bc1c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov edi, eax
lea eax, [ebp - 8]
mov edx, 0x40b5ec
call fcn.004036fc
xor eax, eax
push ebp
push 0x40bccc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x40ecc0], 0xffffffff
mov byte [0x40ecbc], 0
mov byte [0x40ecbd], 0
call sub.comctl32.dll_InitCommonControls
lea eax, [ebp - 8]
mov edx, edi
call fcn.00403200
lea eax, [ebp - 4]
mov edx, esi
call fcn.00403200
push 0x40b6cc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
xor eax, eax
mov al, bl
mov edx, dword [eax*4 + 0x40d270]
xor ecx, ecx
mov eax, dword [0x40e014]
call fcn.0040b244
mov dword [0x40ecb8], eax
push 5
mov eax, dword [0x40ecb8]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcd3
lea eax, [ebp - 8]
mov edx, 0x40b5ec
call fcn.004037b4
ret

Function at 0x40bfdc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c091
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.004072a4
push dword [ebp - 0x5c]
push 0x40c0ac
push esi
lea eax, [ebp - 4]
mov edx, 3
call fcn.004033a0
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402738
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004034a4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40c067
mov eax, dword [0x40eae4]
call fcn.0040bf34
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c098
lea eax, [ebp - 0x5c]
call fcn.0040316c
lea eax, [ebp - 4]
call fcn.0040316c
ret
Function at 0x401000
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.004220b0
add esp, 0x10
cmp eax, 1
jne 0x40102a
movzx esi, byte [esp + 0xf]
xor eax, eax
jmp 0x40103b
push edi
call main
mov esi, dword [esp + 0x14]
add esp, 4
neg eax
sbb eax, eax
test eax, eax
mov ebx, esi
jne 0x40107e
push edi
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
call fcn.004220b0
add esp, 0x10
cmp eax, 1
jne 0x40106e
movzx esi, byte [esp + 0xf]
shl esi, 8
xor eax, eax
add esi, ebx
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push edi
call main
add esp, 4
test eax, eax
je 0x40105d
or eax, 0xffffffff
pop esi
mov dword [ebp], 0
pop ebp
pop ebx
add esp, 8
ret

Function at 0x401090
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.004220b0
add esp, 0x10
cmp eax, 1
jne 0x4010ba
movzx esi, byte [esp + 0xf]
xor eax, eax
jmp 0x4010cb
push edi
call main
mov esi, dword [esp + 0x14]
add esp, 4
neg eax
sbb eax, eax
test eax, eax
mov ebx, esi
jne 0x4010fe
push edi
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
call fcn.004220b0
add esp, 0x10
cmp eax, 1
jne 0x4010f1
movzx esi, byte [esp + 0xf]
xor eax, eax
jmp 0x4010fe
push edi
call main
add esp, 4
neg eax
sbb eax, eax
mov edx, esi
shl edx, 8
add ebx, edx
test eax, eax
jne 0x401136
push edi
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.004220b0
add esp, 0x10
cmp eax, 1
jne 0x401129
movzx esi, byte [esp + 0xf]
xor eax, eax
jmp 0x401136
push edi
call main
add esp, 4
neg eax
sbb eax, eax
mov ecx, esi
shl ecx, 0x10
add ebx, ecx
test eax, eax
jne 0x40117e
push edi
push 1
lea edx, [esp + 0x17]
push 1
push edx
call fcn.004220b0
add esp, 0x10
cmp eax, 1
jne 0x40116e
movzx esi, byte [esp + 0xf]
shl esi, 0x18
xor eax, eax
add esi, ebx
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push edi
call main
add esp, 4
test eax, eax
je 0x40115d
or eax, 0xffffffff
pop esi
mov dword [ebp], 0
pop ebp
pop ebx
add esp, 8
ret
Function at 0x401190
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x18]
push 2
push 0
mov ebp, 0xffff
push esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
call fcn.00421d8f
add esp, 0xc
test eax, eax
je 0x4011c3
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
push edi
push esi
call fcn.00422292
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x14], edi
jae 0x4011dd
mov dword [esp + 0xc], edi
mov ebp, eax
push 0x404
push 0
call dword [0x42418c]
mov esi, eax
test esi, esi
jne 0x4011f7
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push ebx
mov ebx, 4
cmp ebp, ebx
jbe 0x4012a6
jmp 0x401218
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
lea eax, [ebx + 0x400]
cmp eax, ebp
mov ebx, ebp
ja 0x401226
mov ebx, eax
mov ebp, edi
sub ebp, ebx
mov eax, edi
sub eax, ebp
cmp eax, 0x404
mov edi, 0x404
ja 0x40123c
mov edi, eax
mov eax, dword [esp + 0x20]
push 0
push ebp
push eax
call fcn.00421d8f
add esp, 0xc
test eax, eax
jne 0x4012a6
mov ecx, dword [esp + 0x20]
push ecx
push 1
push edi
push esi
call fcn.004220b0
add esp, 0x10
cmp eax, 1
jne 0x4012a6
lea eax, [edi - 3]
test eax, eax
jle 0x40129c
lea ecx, [ecx]
sub eax, 1
cmp byte [eax + esi], 0x50
jne 0x40128e
cmp byte [eax + esi + 1], 0x4b
jne 0x40128e
cmp byte [eax + esi + 2], 5
jne 0x40128e
cmp byte [eax + esi + 3], 6
je 0x401294
test eax, eax
jg 0x401270
jmp 0x40129c
add eax, ebp
mov dword [esp + 0x14], eax
jne 0x4012a6
cmp ebx, dword [esp + 0x10]
jb 0x401210
push esi
call dword [0x424188]
mov eax, dword [esp + 0x14]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x405540
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [0x424014]
ret 8

Function at 0x405560
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x405576
push 0x80004005
call fcn.00405150
push esi
call dword [0x4241fc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [0x424014]
pop edi
pop esi
ret 0xc

Function at 0x4055a0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x4055b8
push 0x80004005
call fcn.00405150
push ebx
mov ebx, dword [0x4241fc]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4055c5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [0x424014]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x405e00
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x430898]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [0x424010]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x405e6e
test ecx, ecx
je 0x405e60
push ecx
call dword [0x424008]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x405e7c
test ecx, ecx
je 0x405f21
push ecx
jmp 0x405f1b
mov esi, dword [0x424020]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x405eee
jmp 0x405eb0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00405e00
mov edi, eax
test edi, edi
jne 0x405f3d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x405eb0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x405f05
push eax
call dword [0x424008]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [0x42401c]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x405f21
push eax
call dword [0x424008]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00413773
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x405f4c
push eax
call dword [0x424008]
mov eax, edi
jmp 0x405f23
Function at 0x40b5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x422990
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x430898]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x34]
lea ecx, [esi + 0x3e0]
push eax
mov dword [esp + 0x30], 1
call fcn.0040b3f0
mov edi, dword [esp + 0x38]
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x14], esp
mov ebx, esp
push edi
call fcn.00406070
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebx], eax
call fcn.0040adc0
xor ebx, ebx
push ebx
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push ebx
push 0x40000000
push str.QQLive.Tray
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [eax], ebx
mov eax, esp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], esp
mov dword [eax], ecx
call dword [0x424280]
push eax
mov ecx, esi
call fcn.0040b550
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x2c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b699
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b6ba
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8

Function at 0x40b870
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
xor esi, esi
call fcn.0040b7e0
test eax, eax
je 0x40b8ee
mov eax, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push 0x80000002
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [0x424010]
test eax, eax
jne 0x40b8ee
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.EnableLUA
push ecx
call dword [section..rdata]
test eax, eax
jne 0x40b8e3
xor edx, edx
cmp dword [esp + 8], 1
sete dl
mov esi, edx
mov eax, dword [esp + 4]
push eax
call dword [0x424008]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x40c340
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x422a46
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x430898]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430898]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0x20019
xor edi, edi
push edi
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
mov dword [esp + 0x280], edi
mov dword [esp + 0x28], edi
call dword [0x424010]
cmp eax, edi
jne 0x40c509
mov esi, dword [esp + 0x14]
push 0x206
lea ecx, [esp + 0x5e]
push edi
push ecx
mov dword [esp + 0x20], esi
mov word [esp + 0x64], di
call fcn.004140a0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push str.Version
push esi
mov dword [esp + 0x34], 0x104
mov dword [esp + 0x30], 1
call dword [section..rdata]
test eax, eax
jne 0x40c4fe
cmp esi, edi
je 0x40c410
push esi
call dword [0x424008]
xor esi, esi
mov dword [esp + 0x14], esi
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x40]
call fcn.00404fe0
push 1
push edi
push 0x424d38
lea ecx, [esp + 0x48]
mov byte [esp + 0x278], 1
call fcn.00404620
push eax
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.00405020
mov eax, dword [esp + 0x24]
mov ebx, 8
cmp dword [esp + 0x38], ebx
jae 0x40c45a
lea eax, [esp + 0x24]
push eax
call fcn.00414498
mov ebp, 7
add esp, 4
cmp eax, ebp
jb 0x40c4be
cmp dword [esp + 0x38], ebx
jb 0x40c47f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00412f77
add esp, 4
cmp dword [esp + 0x54], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jb 0x40c49f
mov edx, dword [esp + 0x40]
push edx
call fcn.00412f77
add esp, 4
cmp esi, edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
je 0x40c4b7
push esi
call dword [0x424008]
mov eax, 1
jmp 0x40c50b
cmp dword [esp + 0x38], ebx
jb 0x40c4d1
mov eax, dword [esp + 0x24]
push eax
call fcn.00412f77
add esp, 4
cmp dword [esp + 0x54], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jb 0x40c4f1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00412f77
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
cmp esi, edi
je 0x40c509
push esi
call dword [0x424008]
xor eax, eax
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.00413773
add esp, 0x25c
ret
Function at 0x40c6c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x422acb
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x430898]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push esi
push edi
mov eax, dword [0x430898]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x450]
xor esi, esi
test byte [0x431a04], 1
mov edi, 7
jne 0x40c738
or dword [0x431a04], 1
push 0x4234a0
mov dword [0x431a00], edi
mov dword [0x4319fc], esi
mov word [0x4319ec], si
call fcn.004145c1
add esp, 4
cmp dword [0x4319fc], esi
je 0x40c759
push 0xffffffffffffffff
push esi
push 0x4319e8
mov ecx, ebx
call fcn.00404b70
mov eax, 1
jmp 0x40c8ea
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
push 0x206
lea eax, [esp + 0x32]
push esi
push eax
mov dword [esp + 0x454], esi
mov word [esp + 0x38], si
call fcn.004140a0
add esp, 0xc
call fcn.0040b7e0
test eax, eax
je 0x40c7dd
call fcn.0040c340
test eax, eax
je 0x40c7dd
call fcn.0040b870
test eax, eax
je 0x40c7d6
lea ecx, [esp + 0x2c]
push ecx
push esi
push esi
push 0x8020
push esi
call dword [0x424264]
mov edi, eax
cmp edi, esi
jl 0x40c8d4
push str.Low
lea edx, [esp + 0x30]
push 0x104
push edx
call fcn.004141eb
add esp, 0xc
jmp 0x40c7f2
lea eax, [esp + 0x2c]
push eax
jmp 0x40c7e2
lea ecx, [esp + 0x2c]
push ecx
push esi
push esi
push 0x801a
push esi
call dword [0x424264]
mov edi, eax
cmp edi, esi
jl 0x40c8d4
push 0x206
lea edx, [esp + 0x23a]
push esi
push edx
mov word [esp + 0x240], si
call fcn.004140a0
push str.MMInstallCache_
lea eax, [esp + 0x3c]
push eax
push str._sTencent_s
lea ecx, [esp + 0x24c]
push 0x104
push ecx
call fcn.004145d3
lea eax, [esp + 0x254]
add esp, 0x20
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40c843
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x238]
push edx
lea ecx, [esp + 0x18]
call fcn.00404e30
lea eax, [esp + 0x234]
push eax
call dword [0x424200]
cmp eax, 0xffffffff
je 0x40c87b
test al, 0x10
jne 0x40c898
lea ecx, [esp + 0x234]
push ecx
call fcn.0040c540
add esp, 4
test eax, eax
jne 0x40c898
lea ecx, [esp + 0x10]
call fcn.00404f40
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x18]
push edx
mov ecx, 0x4319e8
call fcn.00404b70
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.00404b70
cmp dword [esp + 0x28], 8
jb 0x40c8cd
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00412f77
add esp, 4
mov eax, 1
jmp 0x40c8ea
cmp dword [esp + 0x28], 8
jb 0x40c8e8
mov edx, dword [esp + 0x14]
push edx
call fcn.00412f77
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.00413773
add esp, 0x43c
ret
Function at 0x40cca0
Capabilities:
Download url
Receive data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
push str.DownlaodFile:_szUrl___s____szFileName___s__
call fcn.0040c920
add esp, 0xc
test ebx, ebx
je 0x40cde6
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ccc6
sub eax, edx
sar eax, 1
je 0x40cde6
test edi, edi
jne 0x40ccf2
push str.DownlaodFile_INVALID_FILENAME
call fcn.0040c920
add esp, 4
lea eax, [edi - 2]
pop edi
pop ebx
ret
push esi
push ebx
call dword [0x42430c]
call fcn.0040b7e0
test eax, eax
je 0x40cd2d
mov esi, dword [esp + 0x18]
test esi, esi
jbe 0x40cd2d
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.004140a0
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push 0
push esi
push edi
push ebx
push 0
call fcn.00421cf6
jmp 0x40cd93
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cd32
sub eax, edx
sar eax, 1
jne 0x40cd59
push str.DownlaodFile_INVALID_FILENAME
call fcn.0040c920
add esp, 4
pop esi
pop edi
mov eax, 0xfffffffe
pop ebx
ret
push edi
call dword [0x42409c]
push edi
call fcn.0040b900
add esp, 4
test eax, eax
je 0x40cd83
push str.DownlaodFile_FILE_ALLREADY_EXIST
call fcn.0040c920
add esp, 4
pop esi
pop edi
mov eax, 0xfffffffb
pop ebx
ret
mov edx, dword [esp + 0x1c]
push edx
push 0
push edi
push ebx
push 0
call fcn.00421cf0
test eax, eax
je 0x40cdad
push str.DownlaodFile_DOWNLOAD_FILE_FAILED
call fcn.0040c920
add esp, 4
pop esi
pop edi
mov eax, 0xfffffffc
pop ebx
ret
push edi
call fcn.0040b900
add esp, 4
test eax, eax
jne 0x40cdd0
push str.DownlaodFile_FILE_NOT_EXIST
call fcn.0040c920
add esp, 4
pop esi
pop edi
mov eax, 0xfffffffa
pop ebx
ret
push str.DownlaodFile_S_OK
call fcn.0040c920
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
ret
push str.DownlaodFile_INVALID_URL
call fcn.0040c920
add esp, 4
pop edi
or eax, 0xffffffff
pop ebx
ret
Function at 0x4103d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x423068
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x430898]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.004123b0
mov esi, dword [esp + 0x6c]
xor edi, edi
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], edi
call fcn.004123d0
test eax, eax
je 0x410595
push esi
lea ecx, [esp + 0x10]
call fcn.004125b0
test eax, eax
je 0x410595
push 0x3c
lea eax, [esp + 0x20]
push edi
push eax
call fcn.004140a0
add esp, 0xc
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x20], 0x40
mov dword [esp + 0x24], edi
call fcn.0040b7e0
test eax, eax
mov dword [esp + 0x28], str.runas
jne 0x410469
mov dword [esp + 0x28], str.open
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x424738
mov dword [esp + 0x3c], 1
call dword [0x424260]
cmp eax, 1
jne 0x4105a3
push str.Launch_Setup_successed_
call fcn.0040c920
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x14]
add esp, 4
or esi, 0xffffffff
push esi
mov dword [esp + 0x18], eax
push edi
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x28], edx
call dword [0x4240c4]
cmp eax, 2
jae 0x410580
mov eax, dword [esp + eax*4 + 0x14]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x41055e
lea edx, [esp + 0x10]
push edx
push ecx
mov dword [esp + 0x18], edi
call dword [0x4240c0]
cmp eax, 1
mov eax, dword [esp + 0x10]
jne 0x41053b
cmp eax, edi
jne 0x41053b
push str.Setup_successed_
call fcn.0040c920
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call dword [0x424058]
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], esi
call fcn.004123c0
lea eax, [esi + 2]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x58
ret
push eax
push str.Setup_exit_with__d_
call fcn.0040c920
mov ecx, dword [esp + 0x5c]
add esp, 8
push ecx
call dword [0x424058]
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], esi
jmp 0x4105ab
push str.User_Cancle_the_Web_Page_
call fcn.0040c920
mov edx, dword [esp + 0x58]
add esp, 4
push edx
call dword [0x424058]
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], esi
jmp 0x4105ab
mov eax, dword [esp + 0x54]
push eax
call dword [0x424058]
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], esi
jmp 0x4105ab
push esi
push 0x42619c
call fcn.0040c920
add esp, 8
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004123c0
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x58
ret