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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x830
mov eax, dword [0x46c3ac]
mov dword [esp + 0x828], eax
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
xor edx, edx
mov word [esp + 0x420], dx
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x218], dx
mov ecx, 0x81
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [ebp + 8]
xor eax, eax
mov word [esp + 0x628], dx
mov ecx, 0x81
lea edi, [esp + 0x62a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x10], dx
mov ecx, 0x81
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x218]
push eax
push str.ItemSoftPath
mov ecx, esi
call fcn.0041e490
lea ecx, [esp + 0x628]
push ecx
push str.ItemExeUser
mov ecx, esi
call fcn.0041e490
lea edx, [esp + 0x218]
push str.wnwg
push edx
call fcn.00432272
mov ecx, dword [0x46d488]
add esp, 8
test eax, eax
jne 0x41a5b4
call fcn.0040c720
add eax, 0x278
mov eax, dword [eax]
push eax
lea eax, [esp + 0x14]
push eax
jmp 0x41a5c4
call fcn.0040c720
add eax, 0x2a8
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004323fb
add esp, 8
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.004323d1
lea ecx, [esp + 0x18]
push str.Config_
push ecx
call fcn.004323d1
mov ecx, dword [0x46d488]
add esp, 0x10
call fcn.0040c720
add eax, 0x278
mov eax, dword [eax]
push eax
lea edx, [esp + 0x424]
push edx
call fcn.004323fb
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x42c]
push ecx
call fcn.004323d1
lea edx, [esp + 0x430]
push str.ResConfig.ini
push edx
call fcn.004323d1
add esp, 0x18
lea eax, [esp + 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x628]
push str.true
push ecx
call fcn.00432272
add esp, 8
test eax, eax
push ecx
mov dword [esp + 0x10], esp
mov ecx, esp
jne 0x41a67b
lea edx, [esp + 0x14]
push edx
call fcn.00403a80
mov ecx, ebx
call fcn.00419cc0
jmp 0x41a6a2
lea eax, [esp + 0x14]
push eax
call fcn.00403a80
mov ecx, dword [0x46d488]
mov dword [esp + 0x848], 0xffffffff
call fcn.0040c710
mov ecx, eax
call fcn.0040be60
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x834]
call fcn.00431d98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ae90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454cbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x46c3ac]
push ebx
push esi
push edi
xor esi, esi
push str.wnother
mov dword [esp + 0x238], eax
mov ebx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
call fcn.00432636
add esp, 4
push eax
push str.wnother
lea ecx, [esp + 0x14]
call fcn.00404f80
mov ecx, dword [0x46d488]
mov dword [esp + 0x244], esi
call fcn.0040c720
mov eax, dword [eax + 0x28c]
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x28]
mov edi, eax
cmp dword [esp + 0x24], 8
mov dword [esp + 0x244], 0xffffffff
jb 0x41af36
mov edx, dword [esp + 0x10]
push edx
call fcn.0044b775
add esp, 4
cmp edi, esi
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], esi
mov word [esp + 0x10], si
je 0x41af60
mov edi, dword [edi]
mov ecx, edi
call fcn.0041f180
push edi
mov ecx, ebx
call fcn.0041aa10
test eax, eax
jne 0x41af67
xor eax, eax
jmp 0x41b03d
mov ecx, dword [0x46d488]
call fcn.0040c730
cmp dword [eax + 4], esi
je 0x41b038
mov word [esp + 0x28], si
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
mov ecx, dword [0x46d488]
stosw word es:[edi], ax
call fcn.0040c720
mov esi, eax
mov eax, dword [esi + 0x278]
mov ecx, dword [eax - 4]
add esi, 0x278
sub eax, 0x10
cmp ecx, 1
jle 0x41afbe
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004032c0
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004323fb
lea eax, [esp + 0x30]
push str.baidu_cb.exe
push eax
call fcn.004323d1
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b021
mov ecx, dword [0x46d488]
call fcn.0040c720
mov ecx, eax
add ecx, 0x27c
call fcn.0040bc30
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.004323fb
lea eax, [esp + 0x30]
push str.baidu_cb.exe
push eax
call fcn.004323d1
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [0x46d488]
call fcn.0040c730
mov ecx, eax
call fcn.00401fe0
mov eax, 1
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x234]
call fcn.00431d98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cb60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x454d3b
push eax
mov eax, dword [0x46d488]
mov dword fs:[0], esp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x2c], ecx
mov edx, dword [0x46d488]
mov eax, dword [esp + 0x18]
mov dword [edx + 0x30], eax
mov ecx, dword [0x46d488]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x34], edx
mov ecx, dword [0x46d488]
push 8
mov dword [ecx + 0x38], eax
call fcn.0044b74a
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xc], 0
je 0x41cbce
mov ecx, eax
call fcn.00404370
jmp 0x41cbd0
xor eax, eax
push 0
push 0
push 0
push 0x41cb40
push 0
push 0
mov dword [esi + 4], eax
call fcn.00433ac9
mov ecx, dword [esp + 0x1c]
add esp, 0x18
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10
Function at 0x41d320
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x628
mov eax, dword [0x46c3ac]
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
mov dword [esp + 0x62c], eax
mov dword [esp + 0xc], ecx
xor eax, eax
mov word [esp + 0x420], 0
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x10
lea eax, [esp + 0x428]
push eax
push 0
call esi
test eax, eax
je 0x41d4bd
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x81
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x218], 0
xor eax, eax
push 0
mov ecx, 0x81
lea edi, [esp + 0x21e]
rep stosd dword es:[edi], eax
push 0x26
lea ecx, [esp + 0x220]
push ecx
push 0
stosw word es:[edi], ax
call esi
lea edx, [esp + 0x218]
push str.Internet_Exploreriexplore.exe
push edx
call fcn.004323d1
lea eax, [esp + 0x428]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004323fb
lea edx, [esp + 0x20]
push 0x4570f8
push edx
call fcn.004323d1
mov ecx, dword [0x46d488]
add esp, 0x18
push str.DesktopShortCutFile
call fcn.0040c720
mov ecx, eax
call fcn.00405f30
test eax, eax
je 0x41d419
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004323d1
add esp, 8
mov ecx, dword [0x46d488]
push str.DesktopShortCutUrl
call fcn.0040c720
mov ecx, eax
call fcn.00405f30
test eax, eax
je 0x41d4a7
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x457964
push str.InternetShortcut
call esi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x21c]
push eax
push str.IconFile
push str.InternetShortcut
call esi
lea ecx, [esp + 0x10]
push ecx
push 0x45a31c
push str.HotKey
push str.InternetShortcut
call esi
lea edx, [esp + 0x10]
push edx
push 0x45a31c
push str.IDList
push str.InternetShortcut
call esi
lea eax, [esp + 0x10]
push eax
push 0x45a31c
push str.IconIndex
push str.InternetShortcut
call esi
lea ecx, [esp + 0x420]
push ecx
mov ecx, dword [esp + 0x10]
push str.ItemDestop
call fcn.0041cd30
mov ecx, dword [esp + 0x62c]
call fcn.00431d98
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41d4d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x46c3ac]
push esi
push edi
mov dword [esp + 0x214], eax
mov esi, ecx
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x1a
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d53a
lea ecx, [esp + 8]
push str.MicrosoftInternet_ExplorerQuick_Launch
push ecx
call fcn.004323d1
add esp, 8
lea edx, [esp + 8]
push edx
push str.ItemQuickLauch
mov ecx, esi
call fcn.0041cd30
mov ecx, dword [esp + 0x214]
call fcn.00431d98
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d550
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x46c3ac]
push esi
push edi
mov dword [esp + 0x214], eax
mov esi, ecx
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 7
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d5a8
lea ecx, [esp + 8]
push ecx
push str.ItemStartUp
mov ecx, esi
call fcn.0041cd30
mov ecx, dword [esp + 0x214]
call fcn.00431d98
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ed10
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x620
mov eax, dword [0x46c3ac]
push esi
push edi
push str.ItemSoftPath
mov dword [esp + 0x628], eax
mov esi, ecx
call fcn.0041e570
mov ecx, dword [0x46d488]
push eax
push eax
call fcn.0040c720
mov eax, dword [eax + 0x270]
push eax
lea ecx, [esp + 0x424]
push str._s_s_s.ini
push ecx
call fcn.004322a4
add esp, 0x14
lea edx, [esp + 0x418]
push edx
push 0x104
lea eax, [esp + 0x10]
push eax
push 0x457084
push str.InstallPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 8]
push 0x457084
push ecx
call fcn.00432272
add esp, 8
test eax, eax
je 0x41ee64
lea edx, [esp + 8]
push edx
call fcn.00432636
add esp, 4
cmp word [esp + eax*2 + 6], 0x5c
jne 0x41edc9
lea eax, [esp + 8]
push eax
call fcn.00432636
add esp, 4
mov word [esp + eax*2 + 6], 0
lea ecx, [esp + 8]
push 0x5c
push ecx
call fcn.004329eb
mov word [eax + 2], 0
xor eax, eax
mov word [esp + 0x218], 0
mov ecx, 0x81
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x21c]
push eax
call fcn.004323fb
add esp, 0x10
push str.ItemCheckExe
mov ecx, esi
call fcn.0041e570
test eax, eax
je 0x41ee64
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004323d1
add esp, 8
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ee64
lea eax, [esp + 0x210]
push eax
push str.ItemOldInstallPath
mov ecx, esi
call fcn.0041e950
mov eax, 1
mov ecx, dword [esp + 0x624]
call fcn.00431d98
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x624]
xor eax, eax
call fcn.00431d98
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ee80
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x62c
mov eax, dword [0x46c3ac]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x634], eax
xor eax, eax
xor ebx, ebx
mov word [esp + 0x18], bx
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x220], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
push str.ItemSoftPath
mov ecx, esi
stosw word es:[edi], ax
call fcn.0041e570
mov edi, eax
lea eax, [esp + 0x220]
push str.SOFTWAREShiQiang_
push eax
call fcn.004323fb
lea ecx, [esp + 0x228]
push edi
push ecx
call fcn.004323d1
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x22c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ef4c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push str.InstallPath
push eax
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f030
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x18]
push 0x457084
push edx
call fcn.00432272
add esp, 8
test eax, eax
je 0x41f030
lea eax, [esp + 0x18]
push eax
call fcn.00432636
add esp, 4
cmp word [esp + eax*2 + 0x16], 0x5c
jne 0x41ef98
lea ecx, [esp + 0x18]
push ecx
call fcn.00432636
add esp, 4
mov word [esp + eax*2 + 0x16], bx
lea edx, [esp + 0x18]
push 0x5c
push edx
call fcn.004329eb
mov word [eax + 2], bx
xor eax, eax
mov word [esp + 0x430], bx
mov ecx, 0x81
lea edi, [esp + 0x432]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x434]
push ecx
call fcn.004323fb
add esp, 0x10
push str.ItemCheckExe
mov ecx, esi
call fcn.0041e570
cmp eax, ebx
je 0x41f030
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.004323d1
add esp, 8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f030
lea ecx, [esp + 0x428]
push ecx
push str.ItemOldInstallPath
mov ecx, esi
call fcn.0041e950
mov eax, 1
mov ecx, dword [esp + 0x634]
call fcn.00431d98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x634]
xor eax, eax
call fcn.00431d98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f050
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
mov eax, dword [0x46c3ac]
push esi
push edi
mov dword [esp + 0x41c], eax
mov esi, ecx
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x26
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 8]
push str._shiqiang_
push ecx
call fcn.004323d1
xor eax, eax
mov word [esp + 0x218], 0
mov ecx, 0x81
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x21c]
push eax
call fcn.004323fb
add esp, 0x10
push str.ItemCheckExe
mov ecx, esi
call fcn.0041e570
test eax, eax
je 0x41f16a
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004323d1
add esp, 8
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f16a
push str.ItemOldInstallPath
mov ecx, esi
call fcn.0041e700
test eax, eax
je 0x41f13f
lea eax, [esp + 0x210]
push eax
push str.ItemOldInstallPath
mov ecx, esi
call fcn.0041e3b0
mov eax, 1
mov ecx, dword [esp + 0x41c]
call fcn.00431d98
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x210]
push ecx
push str.ItemOldInstallPath
mov ecx, esi
call fcn.0041e2d0
mov eax, 1
mov ecx, dword [esp + 0x41c]
call fcn.00431d98
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x41c]
xor eax, eax
call fcn.00431d98
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4209f0
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x850
mov eax, dword [0x46c3ac]
push edi
mov edi, dword [esp + 0x858]
test edi, edi
mov dword [esp + 0x850], eax
mov dword [esp + 8], ecx
je 0x420c80
mov eax, dword [esp + 0x85c]
test eax, eax
je 0x420c80
push ebx
lea eax, [esp + 0x10]
push eax
push 1
push 0x4201d0
push 0x4201c0
push 0x4201b0
push 0x4201a0
push 0x420190
push 0x420180
push 0x420170
call sub.Cabinet.dll_FDICreate
mov ebx, eax
add esp, 0x24
test ebx, ebx
mov dword [esp + 8], ebx
jne 0x420a79
pop ebx
pop edi
mov ecx, dword [esp + 0x84c]
call fcn.00431d98
add esp, 0x850
ret 0xc
push ebp
push esi
push edi
lea ecx, [esp + 0x144]
push 0x456f48
push ecx
call fcn.004322a4
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [esp + 0x48]
push edx
push 0x104
lea eax, [esp + 0x154]
push eax
push 0
push 1
call ebp
push 0
lea ecx, [esp + 0x40]
push 0x8020
push ecx
call fcn.004342b1
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x420af7
push ebx
call sub.Cabinet.dll_FDIDestroy
add esp, 4
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x84c]
call fcn.00431d98
add esp, 0x850
ret 0xc
lea edx, [esp + 0x24]
push edx
push esi
push ebx
call sub.Cabinet.dll_FDIIsCabinet
add esp, 0xc
test eax, eax
push esi
jne 0x420b1b
call fcn.004348dd
push ebx
call sub.Cabinet.dll_FDIDestroy
add esp, 8
jmp 0x420adc
call fcn.004348dd
push 0x5c
push edi
call fcn.004329eb
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, eax
add esp, 0xc
test esi, esi
lea eax, [esp + 0x654]
jne 0x420b58
push edi
push eax
call ebx
push 1
lea ecx, [esp + 0x34c]
push 0x457084
push ecx
call fcn.00434ad9
jmp 0x420b7f
lea edx, [esi + 2]
push edx
push eax
call ebx
sub esi, edi
sar esi, 1
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x34c]
push edi
push edx
call fcn.00434ad9
mov word [esp + esi*2 + 0x356], 0
mov eax, dword [esp + 0x874]
add esp, 0xc
push eax
push 0x46d750
call ebx
mov eax, dword [esp + 0x86c]
test eax, eax
je 0x420ba4
push eax
push 0x46d548
call ebx
push 0x46d750
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420bbf
push eax
push 0x46d750
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0x654]
push ecx
lea edx, [esp + 0x144]
push 0x456f48
push edx
call fcn.004322a4
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [esp + 0x48]
push eax
push 0x104
lea ecx, [esp + 0x154]
push ecx
push 0
push 1
call ebp
lea edx, [esp + 0x348]
push edx
lea eax, [esp + 0x144]
push 0x456f48
push eax
call fcn.004322a4
add esp, 0xc
push 0
push 0
push 0x104
lea ecx, [esp + 0x55c]
push ecx
push 0x104
lea edx, [esp + 0x154]
push edx
push 0
push 1
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x10]
push ecx
push 0
push 0x4201e0
push 0
lea edx, [esp + 0x560]
push edx
lea eax, [esp + 0x50]
push eax
push esi
call sub.Cabinet.dll_FDICopy
add esp, 0x1c
cmp eax, 1
push esi
jne 0x420ad4
call sub.Cabinet.dll_FDIDestroy
add esp, 4
jmp 0x420ade
mov ecx, dword [esp + 0x850]
xor eax, eax
pop edi
call fcn.00431d98
add esp, 0x850
ret 0xc
Function at 0x428ad7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x428aec
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x428afe
xor eax, eax
jmp 0x428b30
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x428b22
cmp esi, eax
jae 0x428afa
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x428b14
cmp esi, eax
jae 0x428afa
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x429771
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x4297c4
call fcn.004511f3
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
je 0x4297c4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x4297ba
xor eax, eax
jmp 0x4298dd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x4297f4
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x4297f4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4298da
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x429821
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0042a4f0
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x4298da
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42986a
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x42986a
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x429864
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0042a4f0
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4298ca
and dword [ebp + 0xc], 0
jmp 0x4298ca
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x4298ca
push 0xc
call fcn.0044b74a
mov esi, eax
test esi, esi
pop ecx
je 0x4298ac
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4298ae
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x4298c5
push dword [ebp - 8]
call fcn.00446725
jmp 0x4298ca
call fcn.004466fc
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x42982f
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x431b93
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x45f068
call fcn.004364ac
mov edi, 0x94
mov eax, edi
call fcn.00432ed0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x46fbc0], ecx
mov eax, dword [esi + 4]
mov dword [0x46fbcc], eax
mov edx, dword [esi + 8]
mov dword [0x46fbd0], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x46fbc4], esi
cmp ecx, 2
je 0x431bf3
or esi, 0x8000
mov dword [0x46fbc4], esi
shl eax, 8
add eax, edx
mov dword [0x46fbc8], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x431c2e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x431c2e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x431c46
cmp eax, 0x20b
je 0x431c33
mov dword [ebp - 0x1c], esi
jmp 0x431c5a
cmp dword [ecx + 0x84], 0xe
jbe 0x431c2e
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x431c54
cmp dword [ecx + 0x74], 0xe
jbe 0x431c2e
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00437a17
pop ecx
test eax, eax
jne 0x431c6e
push 0x1c
call fcn.00431b6f
pop ecx
call fcn.0043790e
test eax, eax
jne 0x431c7f
push 0x10
call fcn.00431b6f
pop ecx
call fcn.00437666
mov dword [ebp - 4], esi
call fcn.00437468
test eax, eax
jge 0x431c98
push 0x1b
call fcn.00431b4a
pop ecx
call fcn.004373c9
mov dword [0x471730], eax
call fcn.0043725f
mov dword [0x46fba4], eax
call fcn.004371c9
test eax, eax
jge 0x431cbd
push 8
call fcn.00431b4a
pop ecx
call fcn.00436f96
test eax, eax
jge 0x431cce
push 9
call fcn.00431b4a
pop ecx
push 1
call fcn.00436310
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x431ce4
push eax
call fcn.00431b4a
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.00436f50
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x431d05
movzx eax, word [ebp - 0x40]
jmp 0x431d08
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00445d5c
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x431d26
push edi
call fcn.0043643d
call fcn.0043645f
jmp 0x431d58
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004364e7
ret