joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a10
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4357a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4451b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp + 4]
push 0x682
push eax
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [ebp + 0x30c], 0
jne 0x404a5f
call fcn.004050c0
mov ecx, str.downloader_succ
jmp 0x404a69
call fcn.004050c0
mov ecx, str.redownloader_succ
call fcn.0040b7d0
lea esi, [esp + 0x18]
call fcn.00404990
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404aa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
test esi, esi
je 0x404abe
mov ecx, dword [ebp + 4]
push 0x7d0
push 0x678
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x404acc
mov edx, dword [ebp + 4]
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 0x14]
push eax
mov esi, ebp
call fcn.004047f0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x14]
push edx
call fcn.00403690
lea esi, [esp + 0x34]
mov eax, ebp
call fcn.00404950
push 1
push 0x43a8cc
mov eax, esi
push eax
mov byte [esp + 0x38], 1
call fcn.00402d90
push 0xa
push 0x43a8d0
mov ecx, esi
push ecx
call fcn.00402d90
lea esi, [esp + 0x20]
call fcn.00404780
mov ebx, eax
lea edi, [esp + 0x1c]
mov esi, ebp
mov byte [esp + 0x2c], 2
call fcn.004046d0
mov byte [esp + 0x2c], 3
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov ebx, dword [ebx]
mov eax, dword [eax]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00403500
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404b7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ba3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [ecx], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404bdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x404df0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x435758
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x4451b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ebx, [edi + 0x110]
mov eax, ebx
call fcn.00410190
test eax, eax
jne 0x404faf
lea eax, [edi + 0x184]
call fcn.00410190
test eax, eax
jne 0x404faf
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x14]
mov eax, edi
xor ebp, ebp
call fcn.00404690
mov dword [esp + 0x30], ebp
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
call fcn.0040a880
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404e95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004050c0
mov ecx, str.show
call fcn.0040b7d0
mov eax, ebx
call fcn.00410190
test eax, eax
jne 0x404ebc
mov eax, dword [ebx + 0x1c]
cdq
idiv dword [ebx + 4]
mov dword [esp + 0x10], eax
jmp 0x404ec0
mov dword [esp + 0x10], ebp
lea esi, [edi + 0x28]
mov eax, esi
call fcn.00410190
test eax, eax
jne 0x404ed7
mov eax, dword [esi + 0x1c]
cdq
idiv dword [esi + 4]
jmp 0x404ed9
xor eax, eax
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, dword [esp + 0x10]
mov eax, ebx
call fcn.00410190
test eax, eax
jne 0x404ef4
mov esi, dword [ebx + 0x20]
jmp 0x404ef6
xor esi, esi
lea ebx, [edi + 0x9c]
mov eax, ebx
call fcn.00410190
test eax, eax
jne 0x404f0c
mov eax, dword [ebx + 0x20]
jmp 0x404f0e
xor eax, eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
add eax, esi
mov dword [esp + 0x10], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
sub esi, 0x64
test esi, esi
jg 0x404f33
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x20]
add ecx, ebp
cmp ecx, eax
jle 0x404f55
mov ebx, dword [esp + 0x18]
sub ebx, ebp
mov dword [edi + 0x208], 0
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 4]
push 0x54
push edx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push 0
push eax
call esi
mov ecx, dword [edi + 4]
push 3
push 0
push 0
push 0
push 0
push 1
push ecx
call esi
mov edx, dword [edi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.004042f0
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [edi + 4]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x4057d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x414], eax
push 0x208
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0
call fcn.0041c7f0
push 0x208
lea ecx, [esp + 0x21c]
push 0
push ecx
call fcn.0041c7f0
add esp, 0x18
lea edx, [esp + 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x405851
lea eax, [esp + 4]
push eax
push 0
push 0
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405851
xor edx, edx
mov word [esp + 4], dx
push esi
lea ecx, [esp + 8]
call fcn.004029c0
mov ecx, dword [esp + 0x414]
xor ecx, esp
mov eax, esi
call fcn.0041a78f
add esp, 0x418
ret
Function at 0x405b90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x210], eax
mov dword [esp], 0
call fcn.00405d20
test eax, eax
jne 0x405c0d
push 0x208
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0041c7f0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push str.VendorID
push str.SoftwareLudashi
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x14], 1
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
test eax, eax
jne 0x405ca8
lea ecx, [esp + 0xc]
jmp 0x405cad
call fcn.00405d20
push 0x208
push 0
cmp eax, 2
jne 0x405c69
lea ecx, [esp + 0x10]
push ecx
call fcn.0041c7f0
add esp, 0xc
lea edx, [esp]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push str.VendorID
push str.SoftwareLdsLite
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
test eax, eax
jne 0x405ca8
lea ecx, [esp + 0xc]
jmp 0x405cad
lea edx, [esp + 0x10]
push edx
call fcn.0041c7f0
add esp, 0xc
lea eax, [esp]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x43aa94
push str.SOFTWARE360WallPaper
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x18], 1
push SysReAllocString
jmp 0x405bf5
mov ecx, str.ludashi
call fcn.004029c0
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, esi
call fcn.0041a78f
add esp, 0x214
ret

Function at 0x405e60
Capabilities:
Check if file exists

Disassembly:
push ecx
push str.ComputerZ_CN.exe
push eax
lea ecx, [esp + 8]
push ecx
call fcn.00402ab0
mov edx, dword [esp + 0xc]
add esp, 0xc
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp]
je 0x405ea9
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ea2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop ecx
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ec2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ecx
ret
Function at 0x405ed0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x435340
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x4451b0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push str.360wpapp.exe
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00402ab0
add esp, 0xc
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebp
test eax, eax
je 0x405f60
or esi, 0xffffffff
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x405f48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push str.luwallpaper.exe
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00402ab0
add esp, 0xc
lea edi, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.00405b30
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405fa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov dword [esp + 0x20], esi
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x405f2f
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x405fd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x405ff0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4350b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4451b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
push str.LdsLite.exe
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00402ab0
push str.ComputerZ_CN.exe
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x30], 0
call fcn.00402ab0
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x18
push edx
call esi
test eax, eax
je 0x406062
mov eax, dword [esp + 8]
push eax
call esi
test eax, eax
jne 0x406062
lea esi, [eax + 1]
jmp 0x406064
xor esi, esi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406084
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4060ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x406b90
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x34
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
xor ebx, ebx
cmp edi, ebx
je 0x406c63
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
movzx eax, word [esp + 0x3c]
push esi
push eax
push str.__c:
lea ecx, [esp + 0x20]
push 0x10
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406c50
push ebx
lea eax, [esp + 0xc]
push eax
push 0x28
push edi
push 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x2d1400
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x183bd4
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x406c49
cmp dword [esp + 8], 0x28
jne 0x406c49
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0041a78f
add esp, 0x34
ret
mov ecx, dword [esp + 0x34]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0041a78f
add esp, 0x34
ret

Function at 0x406c80
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x48
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x43afc4]
mov ecx, dword [0x43afc8]
push edi
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
push edx
mov dword [esp + 0x44], ecx
mov word [esp + 0x40], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x406ccb
xor eax, eax
xor edx, edx
pop edi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0041a78f
add esp, 0x48
ret
xor eax, eax
push esi
lea edi, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 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
call fcn.00406b90
add esp, 4
test eax, eax
je 0x406d0d
cmp dword [esp + 0x30], 7
je 0x406cb7
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x406cb7
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
xor ecx, esp
call fcn.0041a78f
add esp, 0x48
ret
Function at 0x406d50
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
push edi
xor edi, edi
push 0
push 0x43aef8
inc edi
call ebx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x406df7
push 0x360
push 0x360
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x406db2
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406dee
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0xbb8
test esi, esi
jne 0x406dd3
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406dee
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x406de7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xa
jl 0x406d63
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x4072c0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x254
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x26c]
push 0x8007
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x208
xor ebx, ebx
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.0041c7f0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x54]
push edx
call esi
lea eax, [esp + 0x54]
push eax
call esi
push str.360Base.dll
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [0x44a9e0], ebx
jne 0x407376
push 0x44a9c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44a9e0], ebx
jne 0x40736b
push 0x44a5b8
lea ecx, [esp + 0x58]
call fcn.0040be30
mov dword [0x44a9e4], eax
mov dword [0x44a9e0], 1
push 0x44a9c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44a9e4], ebx
jne 0x407390
push str._pop_check_360Base.dll_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4074b2
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00407ad0
call fcn.004050c0
mov ecx, 0x43b0c4
call fcn.0040b7d0
push ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.004060c0
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x24], vtable.CInstanceMutex.0
call fcn.0040e510
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x43a8d0
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x407452
lea esi, [esp + 0x20]
call fcn.0040e460
test eax, eax
jne 0x407452
call fcn.00407570
mov ecx, esi
call fcn.0040e230
call fcn.00406190
mov ecx, dword [esp + 0xc]
push ecx
call sub.gdiplus.dll_GdiplusShutdown
xor eax, eax
jmp 0x4074b2
mov ecx, edi
call fcn.00406e10
mov edi, eax
cmp dword [0x4466d4], ebx
jne 0x40748d
mov eax, dword [0x448948]
cmp eax, ebx
je 0x40748d
push eax
mov esi, eax
call fcn.0040b3a0
push esi
call fcn.0041a784
add esp, 4
mov dword [0x448948], ebx
mov dword [0x4466d4], 1
call fcn.00407a30
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x20]
call fcn.0040e230
call fcn.00406190
mov edx, dword [esp + 0xc]
push edx
call sub.gdiplus.dll_GdiplusShutdown
mov eax, edi
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041a78f
add esp, 0x254
ret 0x10
Function at 0x409100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x409110
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x409120
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x409620
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x40969a
xor eax, eax
cmp ecx, ebp
je 0x409682
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x4096a8
cmp ecx, ebp
je 0x40973b
push ecx
jmp 0x409735
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x40970a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00409620
mov ebx, eax
cmp ebx, ebp
jne 0x409758
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x4096d0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40971d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.004097d0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40973b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041a78f
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x409767
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40973d
Function at 0x40a270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4352a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4451b0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x40a2ef
call fcn.004089e0
mov esi, eax
jmp 0x40a3d1
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x40a30b
call fcn.004089e0
jmp 0x40a3c8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x40a324
call fcn.004089e0
jmp 0x40a3c8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x40a358
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x40a346
lea eax, [ebp]
call fcn.00409170
lea esi, [ebp - 0x1c]
call fcn.00409150
mov eax, 0x8007000e
jmp 0x40a3e3
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.004089a0
mov dword [ebp - 4], 1
jmp 0x40a381
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x40a38f
mov esi, 0x8007000e
jmp 0x40a3ca
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x40a3ad
call fcn.004089e0
jmp 0x40a3c8
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.0040a120
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x40a3e1
lea eax, [ebp]
call fcn.00409170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0041a78f
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc