joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d690
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447910
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x45b4b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 5
push 0x4532a8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004028c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0040ffe0
mov esi, eax
cmp dword [esi + 0x28], 0
je 0x40d701
mov esi, 1
jmp 0x40d872
sub esp, 0x18
mov dword [esi + 8], 0
mov ecx, esp
mov dword [ebp - 0x44], esp
mov dword [esi], 0
mov dword [esi + 4], 2
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x34], 1
push 0xc8
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.83_3D_00_02_7B_4D_00_74_1B_D9_05_00_02_7B_4D_C7_47_60_00_00_A0_41_D9_57_74_D9_9F_98_00_00_00_E9_18_00_00_00_C7_47_60_00_00_E0_40_C7_47_74_00_00_80_3F_C7_87_98_00_00_00_00_00_40_40_0F_B6_87_AD_00_00_00
mov byte [ecx], 0
call fcn.004028c0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.0F_B6_87_AD_00_00_00
mov byte [ecx], 0
call fcn.004028c0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x20
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.0F_B6_87_AD_00_00_00_85_C0_0F_85
mov byte [ecx], 0
call fcn.004028c0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00403900
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x40d7d1
push 0x40
push 0x3000
push 0x1000
push 0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push eax
push ecx
mov dword [esi + 0xc], eax
lea eax, [esi + 0x74]
push 0x4d7b0000
push eax
call fcn.00403b70
push 6
push str.Insert
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0x3fe00000
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004028c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
mov esi, dword [esi + 0xc]
mov ecx, edi
push eax
add esi, 0x200
call fcn.0040ff30
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], 0
mov dword [eax + 0x38], 1
mov dword [eax + 0x30], 0
mov dword [eax], 2
cmp dword [ebp - 0x2c], 0x10
jb 0x40d85d
push dword [ebp - 0x40]
call fcn.0042d3ab
add esp, 4
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, edi
push 0
sub esp, 0xc
push eax
call fcn.0040ee90
mov esi, eax
cmp dword [ebp - 0x14], 0x10
jb 0x40d883
push dword [ebp - 0x28]
call fcn.0042d3ab
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d3b0
mov esp, ebp
pop ebp
ret
Function at 0x40fe00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
call fcn.0040ffe0
mov esi, eax
cmp dword [esi + 0x28], 0
jne 0x40fe1d
mov ebx, dword [esi + 0x18]
jmp 0x40fe20
mov ebx, dword [esi + 0x1c]
lea ecx, [edi + 0x98]
call fcn.00413620
test eax, eax
je 0x40fe9f
mov eax, dword [edi + 0xa8]
sub eax, dword [edi + 0xa4]
add eax, dword [edi + 0x9c]
push 0
push 0
push ebx
push eax
mov eax, dword [edi + 0xa0]
push 0
push 0
mov eax, dword [eax]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x40fe9f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp dword [esi + 0x28], ebx
push 0x40005
sete bl
push 0
mov dword [esi + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
xor eax, eax
test ebx, ebx
setne al
add eax, 0x95
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x412aa0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x412b58
push 0x40
push 0x3000
push 0x1000
push 0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x412b58
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
jmp 0x412ae0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412ae0
sub ecx, ebx
sar ecx, 1
push 0
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [esi]
push edx
push edi
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
pop ebx
test eax, eax
je 0x412b58
push 0x453c14
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push edi
push eax
mov eax, dword [esi]
push 0
push 0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x412b58
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x413620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448240
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x45b4b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x413672
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x413672
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 0
jne 0x4137c6
mov eax, dword [edi + 8]
push ecx
mov ecx, esp
push 0x453c70
mov eax, dword [eax]
mov esi, dword [eax + 8]
call fcn.00404820
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.00413290
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0x14], ecx
mov ecx, dword [eax + 8]
add eax, 0xc
mov dword [edi + 0x18], ecx
lea ecx, [edi + 0x1c]
push eax
call fcn.0040ce40
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4136e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x18], 0
jne 0x4137c6
push ecx
push dword [edi + 0x20]
mov ecx, dword [edi + 8]
call fcn.00412aa0
test eax, eax
je 0x41365f
mov eax, dword [edi + 8]
push ecx
mov ecx, esp
push 0x453c70
mov eax, dword [eax]
mov esi, dword [eax + 8]
call fcn.00404820
mov edx, esi
lea ecx, [ebp - 0x30]
call fcn.00413290
add esp, 4
mov dword [ebp - 4], 1
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0x14], ecx
mov ecx, dword [eax + 8]
add eax, 0xc
mov dword [edi + 0x18], ecx
lea ecx, [edi + 0x1c]
push eax
call fcn.0040ce40
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41376e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x18], 0
je 0x41365f
push 1
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi], eax
test eax, eax
je 0x41365f
sub eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
push 0
push 0
push 0
push eax
mov eax, dword [edi + 8]
push 0
push 0
mov eax, dword [eax]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x41365f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 4], 0
jne 0x4137da
push 3
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 4], eax
xor eax, eax
cmp dword [edi + 4], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4138a0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448268
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45b4b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ecx, dword [edi]
sub ecx, 0x10
mov dword [ebp - 0x18], 0
call fcn.004021d0
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add esi, 0xfffffff0
or eax, 0xffffffff
lea ecx, [esi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41390a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x413932
mov ecx, dword [ebp + 8]
push str.Error:_Ini_File_Not_Exist
call fcn.00404820
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor ecx, ecx
mov eax, 0x104
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041661d
add esp, 4
mov esi, eax
call fcn.00402df0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41396e
push 0x80004005
call fcn.00402ba0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 4], 0
push dword [edi]
push 0x104
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [edi]
push 0x104
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x103
jb 0x413a37
mov edi, 0x104
nop
mov eax, ebx
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4139ea
test dx, dx
je 0x4139e6
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4139ea
add ecx, 4
add eax, 4
test dx, dx
jne 0x4139c4
xor eax, eax
jmp 0x4139ef
sbb eax, eax
or eax, 1
test eax, eax
je 0x413a37
push esi
call fcn.0042dd04
add edi, 0x104
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041661d
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax]
push edi
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [edi - 1]
cmp eax, ecx
jae 0x4139c0
test esi, esi
jne 0x413a3f
xor ecx, ecx
jmp 0x413a53
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413a44
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.004097f0
push esi
call fcn.0042dd04
mov esi, dword [ebp - 0x10]
add esp, 4
add esi, 0xfffffff0
mov ecx, esi
call fcn.004021d0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov dword [edi], eax
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413a99
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4426d1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45b4b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00431acd
mov dword [ebp - 0x14], eax
cmp dword [0x45e70c], esi
jne 0x4427c4
push 0x800
push esi
push 0x451318
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x442751
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4428a4
push esi
push esi
push 0x451318
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4428a4
push 0x451330
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4428a4
push eax
call ebx
push 0x45133c
push edi
mov dword [0x45e70c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x45134c
push edi
mov dword [0x45e710], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x451360
push edi
mov dword [0x45e714], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45e71c], eax
test eax, eax
je 0x4427c1
push 0x45137c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45e718], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4427e9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4427dc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4427fe
push 4
pop eax
jmp 0x4428a6
cmp dword [ebp - 0x14], esi
je 0x4427fe
push dword [0x45e70c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4427e3
mov eax, dword [0x45e718]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x44285c
cmp dword [0x45e71c], edi
je 0x44285c
push eax
call ebx
push dword [0x45e71c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44285c
test eax, eax
je 0x44285c
call ecx
test eax, eax
je 0x442851
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x442851
test byte [ebp - 8], 1
jne 0x44285c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x44288c
mov eax, dword [0x45e710]
cmp eax, edi
je 0x442889
push eax
call ebx
test eax, eax
je 0x442889
call eax
mov esi, eax
test esi, esi
je 0x442889
mov eax, dword [0x45e714]
cmp eax, edi
je 0x442889
push eax
call ebx
test eax, eax
je 0x442889
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45e70c]
call ebx
test eax, eax
je 0x4428a4
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4428a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3b0
mov esp, ebp
pop ebp
ret
Function at 0x10001a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001a89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001a89
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10001a7a
cmp esi, edx
jae 0x10001a89
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10001a68
cmp esi, edx
jae 0x10001a89
cmp word [esi], 0
je 0x10001a89
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100034f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1005545c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10023f50
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ComputerZ_CN.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.1001f332
mov esp, ebp
pop ebp
ret

Function at 0x10003580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1005545c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10023f50
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.10023f50
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.LdsLite.exe
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.ComputerZ_CN.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x1000364b
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x1000364b
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f332
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1001f332
mov esp, ebp
pop ebp
ret

Function at 0x10003660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1005545c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10023f50
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push str.birdwp.exe
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100036e9
push str...360wpapp.exe
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.1001f332
mov esp, ebp
pop ebp
ret
Function at 0x100047f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1005545c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x208
mov dword [ebp - 0x418], eax
mov dword [ebx + 0x48], eax
lea eax, [ebp - 0x414]
push 0
push eax
mov dword [ebp - 0x420], ebx
call fcn.10023f50
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10023f50
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
add esp, 0xc
push str.base.dll
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x100048ab
push str..._base.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x100049ee
cmp dword [0x10056bc8], 0
jne 0x10004979
push 0x10056bb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10056bc8], 0
jne 0x1000496e
lea ecx, [ebp - 0x20c]
call fcn.1000be60
mov edi, eax
mov ebx, 0x80004005
test edi, edi
je 0x10004952
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitLibs
push edi
call esi
push str.CreateObject
push edi
mov dword [ebp - 0x41c], eax
call esi
mov ecx, dword [ebp - 0x41c]
mov dword [0x100567a8], eax
test ecx, ecx
je 0x100049d9
push 0x100567ac
mov dword [0x100567ac], 0x100
call ecx
mov ebx, eax
test ebx, ebx
je 0x100049e3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x100567a4], 0
xor eax, eax
mov dword [0x10056bc8], 1
test ebx, ebx
mov ebx, dword [ebp - 0x420]
sete al
mov dword [0x10056bcc], eax
push 0x10056bb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x10056bcc], 0
je 0x100049ee
push dword [ebp - 0x418]
lea eax, [ebx - 0x50]
push eax
push 0x10055d58
call fcn.10007760
add esp, 8
movzx eax, ax
lea ecx, [ebx - 0x70]
push eax
push 0
push 0x80000
push 0x86020000
push 0
push 0
push dword [ebp - 0x418]
call fcn.10006ff0
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x64], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f332
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
je 0x10004941
xor ebx, ebx
mov dword [0x100567a4], edi
jmp 0x10004952
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f332
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10007a90
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1005545c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0
jne 0x10007c15
push ebx
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.10023f50
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10023f50
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
add esp, 0xc
push str...DrvMgr360NetUL.dll
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x10007ba8
push str...wallpaperhelperNetUL.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x10007b64
push str...wallpaperhelper360NetUL.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x10007ba8
push str...360NetUL.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x10007ba8
push str.360NetUL.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
mov dword [edi + 0x1c], 1
cmp dword [edi], 0
pop ebx
jne 0x10007c15
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10007c15
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10007c15
call eax
mov dword [edi + 0xc], eax
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10007c54
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x10007c42
mov eax, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [eax + 0x30]
mov edx, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [edx + 0x30]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f332
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1001f332
mov esp, ebp
pop ebp
ret