joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406110
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 8]
call fcn.004034f0
mov ecx, 0x441210
call fcn.00412ea0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00420330
add esp, 8
mov ecx, eax
call fcn.00401550
push eax
lea ecx, [ebp - 8]
call fcn.00402c60
lea ecx, [ebp - 0x30]
call fcn.00401130
push str.temp
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00408280
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.004063d0
mov ecx, dword [ebp - 4]
push ecx
push 0x434f10
call fcn.004010c0
add esp, 8
push str.updatefiles
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00408280
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.004063d0
mov edx, dword [ebp - 0x14]
push edx
push 0x434f5c
call fcn.004010c0
add esp, 8
push str.oem.txt
push 0x441210
lea eax, [ebp - 0x10]
push eax
call fcn.00408280
push str.ProductInfo.txt
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.00408280
lea ecx, [ebp - 0x10]
call fcn.00412ea0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
push eax
push 0x434fc4
call fcn.004010c0
add esp, 8
lea ecx, [ebp - 0xc]
call fcn.00412ea0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
push ecx
push str.Delete_temp_directory__s
call fcn.004010c0
add esp, 8
lea ecx, [ebp - 0xc]
call fcn.00403160
lea ecx, [ebp - 0x10]
call fcn.00403160
lea ecx, [ebp - 0x14]
call fcn.00403160
lea ecx, [ebp - 4]
call fcn.00403160
lea ecx, [ebp - 8]
call fcn.00403160
mov esp, ebp
pop ebp
ret

Function at 0x406240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00406110
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x406bc0
push 0
push 0
call fcn.00422c8d
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x70], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x406320
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00408300
push 2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00403200
mov ecx, eax
call fcn.00412ea0
push eax
lea ecx, [ebp - 8]
call fcn.00408360
push 1
lea ecx, [ebp - 8]
call fcn.004082e0
lea ecx, [ebp - 4]
call fcn.004034f0
lea edx, [ebp - 4]
push edx
call fcn.004062d0
add esp, 4
push 0x43504c
lea ecx, [ebp - 4]
call fcn.00404920
push 0x435050
lea ecx, [ebp - 4]
call fcn.00404920
lea ecx, [ebp - 4]
call fcn.00412ea0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.00403160
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4063d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x43fdf0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.00402c10
push str..
lea ecx, [ebp - 4]
call fcn.00404920
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 4]
call fcn.00412ea0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
je 0x406574
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x264]
call fcn.00404880
push 0x43506c
lea ecx, [ebp - 0x264]
call fcn.00404ae0
test eax, eax
je 0x406465
push 0x435070
lea ecx, [ebp - 0x264]
call fcn.00404ae0
test eax, eax
jne 0x406477
lea ecx, [ebp - 0x264]
call fcn.00403160
jmp 0x40654b
mov eax, dword [ebp - 0x258]
and eax, 0x10
je 0x4064ef
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00402c10
push 0x435078
lea ecx, [ebp - 0x268]
call fcn.00404920
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x268]
call fcn.00408230
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.004063d0
lea ecx, [ebp - 0x268]
call fcn.00412ea0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x268]
call fcn.00403160
lea ecx, [ebp - 0x264]
call fcn.00403160
jmp 0x40654b
lea ecx, [ebp - 0x264]
push ecx
push 0x43507c
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.00408280
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.00408380
lea ecx, [ebp - 0x26c]
call fcn.00403160
lea ecx, [ebp - 0x260]
call fcn.00412ea0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x260]
call fcn.00403160
lea ecx, [ebp - 0x264]
call fcn.00403160
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40642b
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 4]
call fcn.00403160
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422af0
mov esp, ebp
pop ebp
ret 4
Function at 0x406590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00408300
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403a30
mov dword [ebp - 0x18], 0x122
push 1
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.004083e0
push 0x41e
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00403200
mov ecx, eax
call fcn.00412ea0
push eax
lea ecx, [ebp - 0x10]
call fcn.00408360
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00408430
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00408450
mov dword [ebp - 0x30], 0x1f5
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x10]
call fcn.004083e0
push 1
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.00408490
push 0x3023
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403200
mov ecx, eax
call fcn.00412ea0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408360
push 0
lea ecx, [ebp - 0x3c]
call fcn.00404860
push 0
lea ecx, [ebp - 0x14]
call fcn.004031e0
push eax
lea ecx, [ebp - 0xc]
call fcn.00403b70
push 1
push 0xf060
lea ecx, [ebp - 0xc]
call fcn.00403c70
lea ecx, [ebp - 0xc]
call fcn.00408b30
push 2
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403200
mov ecx, eax
call fcn.00412ea0
push eax
lea ecx, [ebp - 8]
call fcn.00408360
push 0
lea ecx, [ebp - 8]
call fcn.004082e0
push 0
push 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
push ecx
push 0x4067a0
push 0
push 0
call fcn.00422c8d
add esp, 0x18
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x74], eax
lea ecx, [ebp - 4]
call fcn.004034f0
push 0x110
lea ecx, [ebp - 4]
call fcn.00403690
push 0x441210
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00408380
mov ecx, 0x441210
call fcn.00412ea0
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.004031c0
lea ecx, [ebp - 0x28]
call fcn.00412ea0
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x5c
call fcn.00408a20
push 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x60
call fcn.00408a90
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x28]
call fcn.00403160
lea ecx, [ebp - 4]
call fcn.00403160
lea ecx, [ebp - 0xc]
call fcn.00403c40
mov eax, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
ret
Function at 0x407330
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 4]
push eax
push 0x435504
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x407395
mov ecx, 0x441210
call fcn.00412ea0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042305b
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp - 0x10]
push edx
push 1
push 0
push 0x43552c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4073a2
push str.CSetupDecompressPage::WriteRegedit__RegCreateKey_STR_YY_REG_LOCATION_fail.
call fcn.004010c0
add esp, 4
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 8]
call fcn.00404880
push 0x435648
lea ecx, [ebp - 8]
call fcn.00404920
push 0x43564c
lea ecx, [ebp - 8]
call fcn.00404920
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 8]
call fcn.00412ea0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4074f3
push 0x435654
push 0x435670
push 0x441210
lea eax, [ebp - 0x1c]
push eax
call fcn.00408280
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00408280
lea ecx, [ebp - 0x1c]
call fcn.00403160
lea ecx, [ebp - 0x14]
call fcn.00412ea0
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042305b
add esp, 4
shl eax, 1
push eax
mov eax, dword [ebp - 0x18]
push eax
push 1
push 0
push 0x435674
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x435694
call fcn.0042305b
add esp, 4
shl eax, 1
push eax
push 0x43569c
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4356bc
call fcn.0042305b
add esp, 4
shl eax, 1
push eax
push 0x4356c8
push 1
push 0
push str.Publisher
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4356e8
call fcn.0042305b
add esp, 4
shl eax, 1
push eax
push str.http:__www.yy.com_
push 1
push 0
push str.URLInfoAbout
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x435754
call fcn.0042305b
add esp, 4
shl eax, 1
push eax
push 0x435764
push 1
push 0
push str.DisplayVersion
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x14]
call fcn.00403160
jmp 0x407500
push str.CSetupDecompressPage::WriteRegedit__RegCreateKey_strUninstallKey_fail.
call fcn.004010c0
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.00403160
mov esp, ebp
pop ebp
ret
Function at 0x407ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
push str.CSetupDecompressPage::_do3XUpdate_begin.
call fcn.004010c0
add esp, 4
push str.yywizard.exe
push 0x436000
push 0x441210
lea eax, [ebp - 0x64]
push eax
call fcn.00408280
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.00408280
lea ecx, [ebp - 0x64]
call fcn.00403160
mov dword [ebp - 0x60], 0
push 0x40
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.00422d40
add esp, 0xc
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x60], 0x44
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
call fcn.00412ea0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x407f8b
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.CSetupDecompressPage::_do3XUpdate__wait_finish.
call fcn.004010c0
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CSetupDecompressPage::_do3XUpdate_finish.
call fcn.004010c0
add esp, 4
lea ecx, [ebp - 4]
call fcn.00403160
mov esp, ebp
pop ebp
ret
Function at 0x40c940
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x20], ecx
push 3
lea eax, [ebp - 4]
push eax
mov ecx, 0x441210
call fcn.00408650
push 8
call fcn.00423b51
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
push 0
push 0
mov edx, dword [ebp - 8]
push edx
lea ecx, [ebp - 4]
call fcn.00412ea0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40c9a7
mov eax, dword [ebp + 8]
fldz
fstp qword [eax]
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 4]
call fcn.00403160
mov al, byte [ebp - 0x11]
jmp 0x40ca31
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
and dword [ebp - 0x24], 0x7fffffff
fild qword [ebp - 0x28]
and dword [ebp - 0x2c], 0x80000000
mov dword [ebp - 0x30], 0
fild qword [ebp - 0x30]
fchs
faddp st(1)
fdiv qword [0x436c50]
mov edx, dword [ebp + 8]
fstp qword [edx]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042270a
add esp, 4
mov dword [ebp - 8], 0
mov edx, dword [ebp + 8]
fld qword [0x436be8]
fcomp qword [edx]
fnstsw ax
test ah, 0x41
jp 0x40ca19
mov dword [ebp - 0x34], 1
jmp 0x40ca20
mov dword [ebp - 0x34], 0
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x19], al
lea ecx, [ebp - 4]
call fcn.00403160
mov al, byte [ebp - 0x19]
mov esp, ebp
pop ebp
ret 4
Function at 0x40d280
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x40d29a
mov eax, dword [ebp - 0x40]
sub eax, 0x50
mov dword [ebp - 0x44], eax
jmp 0x40d2a1
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x40d32d
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00403200
mov ecx, eax
call fcn.00412ea0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040b780
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40d31c
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00403830
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jge 0x40d32b
mov dword [ebp - 4], 0
jmp 0x40d348
mov ecx, dword [ebp + 0xc]
call fcn.00412ea0
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0040b750
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40d363
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x50
call fcn.0040d560
jmp 0x40d3c6
cmp dword [ebp + 0x14], 0
je 0x40d3c6
cmp dword [ebp + 0x18], 0
je 0x40d3c6
mov ecx, dword [ebp + 0xc]
call fcn.00403510
cmp eax, dword [ebp + 0x1c]
jle 0x40d3c6
mov dword [ebp - 0x38], 1
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403510
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x50
call fcn.0040d5c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x40ea80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x74], 0
jle 0x40eac0
push 0x41a
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00403200
mov ecx, eax
call fcn.00412ea0
push eax
lea ecx, [ebp - 0x10]
call fcn.00408360
push 5
lea ecx, [ebp - 0x10]
call fcn.00404860
push 0x3fe
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00403200
mov ecx, eax
call fcn.00412ea0
push eax
lea ecx, [ebp - 0xc]
call fcn.00408360
push 0
lea ecx, [ebp - 0xc]
call fcn.00404860
push 0x384
mov ecx, dword [ebp - 0x24]
add ecx, 0x5c
call fcn.00408a90
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x5c
call fcn.00404860
push 5
mov ecx, dword [ebp - 0x24]
add ecx, 0x60
call fcn.00404860
push 0x40b
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00403200
mov ecx, eax
call fcn.00412ea0
push eax
lea ecx, [ebp - 8]
call fcn.00408360
push 5
lea ecx, [ebp - 8]
call fcn.00404860
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x74], 0
jne 0x40eb80
lea ecx, [ebp - 0x14]
call fcn.004034f0
push 0xf7
lea ecx, [ebp - 0x14]
call fcn.00403690
lea ecx, [ebp - 0x14]
call fcn.00412ea0
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x64
call fcn.004031c0
lea ecx, [ebp - 0x14]
call fcn.00403160
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x58], 1
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0x40ed80
push 0
push 0
call fcn.00422c8d
add esp, 0x18
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x84], eax
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00408300
push 1
lea ecx, [ebp - 4]
call fcn.0040f450
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40f030
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x2c], 0x103
jne 0x40f066
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x40f093
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ecx, [ebp - 0x28]
call fcn.0040d680
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404d40
cmp eax, 1
jne 0x40f0c7
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
call fcn.0040d6a0
mov eax, dword [ebp - 0x30]
jmp 0x40f115
cmp dword [ebp - 0x2c], 0x103
jne 0x40f0e0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp - 4], 0x103
jne 0x40f0f9
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x28]
call fcn.0040d6a0
mov eax, dword [ebp - 0x34]
jmp 0x40f115
mov esp, ebp
pop ebp
ret

Function at 0x411af0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x43fdf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, 0x441210
call fcn.00412130
test eax, eax
jne 0x411b16
jmp 0x411bd2
lea eax, [ebp - 8]
push eax
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x411b64
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x411b62
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x441210
call fcn.00402c60
push str.duowanyy
mov ecx, 0x441210
call fcn.00404920
jmp 0x411b73
push str.C:Program_Filesduowanyy
mov ecx, 0x441210
call fcn.00402c60
push 0x437a7c
lea ecx, [ebp - 0xc]
call fcn.00404880
lea ecx, [ebp - 0xc]
call fcn.00412130
test eax, eax
jne 0x411bb7
lea ecx, [ebp - 0xc]
push ecx
push 0x437a80
lea edx, [ebp - 0x21c]
push edx
call fcn.00412150
push eax
mov ecx, 0x441210
call fcn.00408230
lea ecx, [ebp - 0x21c]
call fcn.00403160
mov eax, dword [0x441210]
push eax
push str.InitSetupPath__initialized_setup_path_is__s
call fcn.004010c0
add esp, 8
lea ecx, [ebp - 0xc]
call fcn.00403160
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422af0
mov esp, ebp
pop ebp
ret
Function at 0x411d50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x43fdf0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x330]
push eax
call fcn.00422d40
add esp, 0xc
mov dword [ebp - 0x330], 0x114
lea ecx, [ebp - 0x330]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x32c], 4
jbe 0x411dab
cmp dword [ebp - 0x32c], 5
jne 0x411daf
cmp dword [ebp - 0x328], 0
jne 0x411daf
mov al, 1
jmp 0x411de9
push 0x104
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.00411c30
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x411de7
xor al, al
jmp 0x411de9
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422af0
mov esp, ebp
pop ebp
ret
Function at 0x413cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x43fdf0]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.00413620
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.00416740
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413fa0
lea ecx, [ebp - 0x438]
call fcn.00416740
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.00413a50
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x413d2e
call fcn.00413680
mov dword [ebp - 0x444], eax
jmp 0x413e83
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x413d5f
call fcn.00413680
mov dword [ebp - 0x444], eax
jmp 0x413e83
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x413d8f
call fcn.00413680
mov dword [ebp - 0x444], eax
jmp 0x413e83
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x413ddf
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.004169f0
lea ecx, [ebp - 0x2c]
call fcn.00416760
mov eax, dword [ebp - 0x44c]
jmp 0x413eb8
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00416990
lea ecx, [ebp - 0x438]
call fcn.00412ea0
test eax, eax
jne 0x413e0c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x413e83
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00412ea0
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.00413620
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x413e4e
call fcn.00413680
mov dword [ebp - 0x444], eax
jmp 0x413e83
lea ecx, [ebp - 0x438]
call fcn.00412ea0
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.00412ea0
push eax
lea ecx, [ebp - 0x18]
call fcn.00413fd0
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x413e93
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.004169f0
lea ecx, [ebp - 0x2c]
call fcn.00416760
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00422af0
mov esp, ebp
pop ebp
ret 0x10