joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a920
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c56bd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x40ab08
cmp byte [esi], 0
je 0x40ab08
push 0x5c
push esi
call fcn.004a1140
mov edi, eax
add esp, 8
test edi, edi
je 0x40ab08
mov ecx, esi
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a990
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00402c50
sub edi, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
lea eax, [edi + 1]
push eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00401f60
mov edi, eax
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x40a9f3
mov ecx, eax
call fcn.00402fa0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x28]
call fcn.00402fa0
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
je 0x40aaf7
cmp eax, 5
je 0x40aaf7
push esi
lea ecx, [ebp - 0x58]
call fcn.00402220
push 0xffffffffffffffff
push dword [ebp - 0x60]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.00401f60
push eax
lea ecx, [ebp - 0x58]
call fcn.004021a0
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x4c9a30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00402c50
mov ecx, dword [ebp - 0x18]
or eax, 0xffffffff
xor esi, esi
mov byte [ebp - 4], 2
test ecx, ecx
je 0x40aad3
mov edx, dword [ebp - 0x48]
cmp ecx, esi
jbe 0x40ab27
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x58]
cmova eax, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 0xf
cmova edi, dword [ebp - 0x58]
mov al, byte [eax + esi]
test edx, edx
je 0x40aac8
push edx
movsx eax, al
push eax
push edi
call fcn.004a1270
add esp, 0xc
test eax, eax
je 0x40aac5
sub eax, edi
jns 0x40aad3
mov ecx, dword [ebp - 0x18]
jmp 0x40aacb
mov ecx, dword [ebp - 0x18]
or eax, 0xffffffff
mov edx, dword [ebp - 0x48]
inc esi
cmp esi, ecx
jb 0x40aa85
cmp eax, 0xffffffff
lea ecx, [ebp - 0x28]
sete byte [ebp - 0x59]
call fcn.00402fa0
lea ecx, [ebp - 0x58]
call fcn.00402fa0
lea ecx, [ebp - 0x40]
call fcn.00402fa0
mov al, byte [ebp - 0x59]
jmp 0x40ab0a
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x59], 0
call fcn.00402fa0
mov al, byte [ebp - 0x59]
jmp 0x40ab0a
xor al, al
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.0049ec00
mov esp, ebp
pop ebp
ret 4
call fcn.004025f0
int3
Function at 0x40ae10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c573d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ae60
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00402c50
mov ecx, edi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ae80
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00402140
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x3c
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x60], 0x440
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40af00
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40af30
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40af26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af4d
push ecx
push edx
call fcn.0049ec8b
add esp, 8
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.0049ec00
mov esp, ebp
pop ebp
ret 0xc
call fcn.004a943a
int3
Function at 0x40b7e0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c58bb
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a0950
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0xb
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4c9b34
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004014c0
push 0x4c9988
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00402600
push str.Uninst.exe
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00402600
add esp, 0x20
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 0xf
cmova eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x21c], 0xf
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x40b914
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b90a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9cf
push ecx
push edx
call fcn.0049ec8b
add esp, 8
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp ecx, 0xf
jbe 0x40b965
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b95b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9cf
push ecx
push edx
call fcn.0049ec8b
add esp, 8
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp ecx, 0xf
jbe 0x40b9b6
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9cf
push ecx
push edx
call fcn.0049ec8b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049ec00
mov esp, ebp
pop ebp
ret
call fcn.004a943a
int3
Function at 0x40b9e0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.004a0950
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4c9b1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0040b7e0
mov ecx, dword [esi + 4]
pop esi
test ecx, ecx
je 0x40ba53
mov eax, dword [ecx]
push 5
call dword [eax]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0049ec00
mov esp, ebp
pop ebp
ret

Function at 0x40bac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5940
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x50c380]
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 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a0950
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4c9b1c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [0x50fdb4]
test eax, eax
jne 0x40bb7a
push 0x108
call fcn.0049ec5b
mov esi, eax
add esp, 4
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40bb6c
push 0x108
push 0
push esi
call fcn.004a0950
add esp, 0xc
mov ecx, esi
call fcn.0040f4e0
jmp 0x40bb6e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x50fdb4], eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, eax
call fcn.0040fb50
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 1
jbe 0x40bb97
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00401680
add esp, 8
mov ecx, dword [ebp - 0x238]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x40bbe5
mov edx, dword [ebp - 0x24c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bbdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc90
push ecx
push edx
call fcn.0049ec8b
add esp, 8
push 0xb
push str.ZipSoft.exe
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.0040c420
cmp dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x218]
push 0
push ecx
lea eax, [ebp - 0x230]
mov ecx, edi
cmova eax, dword [ebp - 0x230]
push 0
push eax
call fcn.0040bca0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x40bc75
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bc6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc95
push ecx
push edx
call fcn.0049ec8b
add esp, 8
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.0049ec00
mov esp, ebp
pop ebp
ret
call fcn.004a943a
call fcn.004a943a
int3
Function at 0x40bca0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c598b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x430], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bcf2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x424], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004a0950
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0
push 0
push eax
call fcn.004a0950
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x40bd5e
mov esi, 0x80004005
jmp 0x40be54
lea eax, [ebp - 0x424]
push eax
push 0x4cacd8
push 1
push 0
push 0x4cace8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x40be54
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], 0
test eax, eax
je 0x40bdbc
mov ecx, dword [eax]
lea edx, [ebp - 0x428]
push edx
push 0x4c9c28
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x424]
jns 0x40bdbc
mov dword [ebp - 0x428], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
js 0x40be40
mov eax, dword [ebp - 0x424]
mov ecx, 0x4e8f44
mov esi, dword [ebp - 0x430]
test esi, esi
cmovne ecx, esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
js 0x40be40
test ebx, ebx
je 0x40be0f
mov eax, dword [ebp - 0x424]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x40be40
push 0x104
push edi
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004a9b5a
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x420]
add esp, 0x10
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 0
test eax, eax
je 0x40be54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x40be6b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
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 - 0x10]
xor ecx, ebp
call fcn.0049ec00
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40cf10
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov dword [ebp - 0x828], esi
call edi
test eax, eax
je 0x40d0b4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x40d0b3
push 0x208
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004a0950
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004a0950
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a0950
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004a0950
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a2e33
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004a131d
add esp, 0x2c
test eax, eax
jne 0x40cfed
lea eax, [ebp - 0x20c]
push 0x2f
push eax
call fcn.004a131d
add esp, 8
test eax, eax
je 0x40d005
add eax, 2
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.004a2e33
add esp, 0xc
xor esi, esi
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a0950
add esp, 0xc
lea eax, [ebp - 0x824]
test esi, esi
jne 0x40d04e
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4c9c40
push eax
call fcn.00403a80
add esp, 0x10
jmp 0x40d06b
push esi
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del_d
push eax
call fcn.00403a80
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x40d08d
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x40d08d
cmp esi, 0xa
jge 0x40d0b3
inc esi
jmp 0x40d010
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x828]
call fcn.004a2ebd
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049ec00
mov esp, ebp
pop ebp
ret 4
Function at 0x40d0d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5be7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x50c380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040c8b0
mov eax, dword [0x50fdb4]
test eax, eax
jne 0x40d14b
push 0x108
call fcn.0049ec5b
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40d13d
push 0x108
push 0
push esi
call fcn.004a0950
add esp, 0xc
mov ecx, esi
call fcn.0040f4e0
jmp 0x40d13f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x50fdb4], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0040fb50
cmp dword [eax + 0x14], 0xf
jbe 0x40d15e
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40d199
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d18f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d1c5
push ecx
push edx
call fcn.0049ec8b
add esp, 8
mov ecx, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040d220
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004a943a
int3
Function at 0x4104c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
sub eax, 0x7ed
je 0x410589
sub eax, 1
jne 0x410578
push ebx
push esi
push ecx
call fcn.004aa958
mov esi, dword [edi + 0x24]
mov ebx, eax
add esp, 4
cmp esi, ebx
ja 0x410576
cmp esi, 0x64
jl 0x41051b
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
push 0x4e8f2e
push 0x7ef
call dword [eax]
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x24], esi
test ecx, ecx
je 0x41052c
push esi
call dword [0x4e9164]
cmp dword [edi + 0x20], 0
je 0x410569
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a0950
push esi
lea eax, [ebp - 0x20c]
push str._d__
push eax
call fcn.004105c0
mov ecx, dword [edi + 0x20]
lea edx, [ebp - 0x20c]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
push 0x19
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, ebx
jbe 0x410504
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ec00
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x210]
push eax
push 0
lea eax, [edi - 0x6bc]
push eax
push 0x410400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049ec00
mov esp, ebp
pop ebp
ret 8

Function at 0x41900b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4190ba
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4190be
cmp dword [ebp - 0x1c], 0x10
jne 0x419089
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x419089
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call sym.Install.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
pop ecx
test al, al
jne 0x4190ab
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x4190be
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x419056
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x4190dc
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x4190e1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419113
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x41c6c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004a0950
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.Install.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049ec00
leave
ret

Function at 0x41d6b1
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x41d6d4
or esi, 2
push 1
call edi
test ax, ax
jns 0x41d6e0
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x41d6ec
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x41d6f8
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x420f52
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x420f8d
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x420f8d
cmp esi, dword [edi + 0xe8]
je 0x420f8d
cmp byte [edi + 0xe0], 0
jne 0x420f8d
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x421075
test eax, eax
je 0x420ff5
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xe8]
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
and dword [edi + 0xe8], 0
test esi, esi
je 0x421075
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x421075
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x421075
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x421075
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xe8]
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
pop edi
pop esi
leave
ret 8