joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4085cf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, 0x64
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], 0x73006e
mov dword [ebp - 0xc], 0x61
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1a
xor edx, edx
div ecx
xor eax, eax
add word [ebp - 0xc], dx
mov dword [esp + 8], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
sub esp, 0x10
test eax, eax
jne 0x40862e
dec esi
jne 0x4085df
mov word [ebx], 0
xor ebx, ebx
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 8

Function at 0x408639
Capabilities:
Read file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x408676
xor eax, eax
cmp dword [ebp - 0xc], ebx
sete al
mov ebx, dword [ebp - 4]
leave
ret 0xc

Function at 0x40867d
Capabilities:
Write file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x4086ba
xor eax, eax
cmp dword [ebp - 0xc], ebx
sete al
mov ebx, dword [ebp - 4]
leave
ret 0xc

Function at 0x4088be
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 0x14]
sub esp, 0x30
mov dword [ebp - 0x10], 0x4000
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
xor eax, eax
cmp dword [ebp + 0x18], 0
setne al
shl eax, 8
or eax, 0x20019
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040880a
sub esp, 0x10
test eax, eax
je 0x40890c
mov word [ebx], 0
jmp 0x40895f
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x14]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov word [ebx + 0x3ffe], 0
test esi, esi
jne 0x408905
mov eax, dword [ebp - 0xc]
dec eax
cmp eax, 1
ja 0x408905
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x14
Function at 0x408f17
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [esp], 0x4751e0
mov dword [esp + 4], eax
call fcn.00408a49
push ebx
push ebx
mov dword [esp], 0x4751e0
call fcn.004083c6
push edx
test eax, eax
jne 0x408f48
xor eax, eax
jmp 0x408fc4
mov dword [esp], eax
mov ebx, eax
call fcn.00408b05
push ecx
test byte [0x42e12c], 0x80
je 0x408f6a
mov ax, word [ebx]
test ax, ax
je 0x408f44
cmp ax, 0x5c
je 0x408f44
sub ebx, 0x4751e0
sar ebx, 1
mov dword [esp], 0x4751e0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
mov dword [esp], 0x4751e0
cmp ebx, eax
jge 0x408fa9
call fcn.00408edf
push edx
test eax, eax
je 0x408f9a
test byte [eax], 0x10
je 0x408f44
mov dword [esp], 0x4751e0
call fcn.00408354
push eax
jmp 0x408f72
call fcn.00408a7d
push eax
mov dword [esp], 0x4751e0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
push edx
setne al
movzx eax, al
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x408fcb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x409009
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x409010
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x40f3a0
add eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4
Function at 0x409a30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x47d244], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x409a6d
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x409a58
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x409a4a
mov dword [ecx*4 + 0x47d240], eax
inc ecx
cmp ecx, 0x100
jne 0x409a43
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x409a8f
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47d240]
jmp 0x409a77
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x413390
jmp fcn.004133d0
cmp ecx, dword [0x417038]
jne 0x41339a
repz ret
jmp 0x411082

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x404900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebp, dword [0x435314]
push esi
push edi
mov esi, ecx
call ebp
mov ebx, eax
mov edi, ebx
sub edi, dword [esi + 0x974]
cmp dword [esi + 0xa3c], 0
jne 0x40494f
push 0x11
call dword [0x435224]
mov ecx, 0x8000
test cx, ax
je 0x404945
mov edi, dword [esi + 0x968]
mov dword [esi + 0xa40], 0
jmp 0x40494f
mov dword [esi + 0xa40], 1
cmp edi, dword [esi + 0x968]
jb 0x40498d
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
inc dword [0x441570]
mov ecx, esi
mov dword [esi + 0x974], ebx
call eax
test eax, eax
je 0x40498d
mov ecx, dword [esi + 0xa38]
test ecx, ecx
je 0x404984
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
test eax, eax
jne 0x40498d
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
test byte [0x441588], 1
jne 0x4049a4
or dword [0x441588], 1
call ebp
mov dword [0x441584], eax
mov ecx, ebx
sub ecx, dword [0x441584]
cmp ecx, 0x3e8
jb 0x4049e5
mov eax, dword [0x441570]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push eax
lea ecx, [esi + 0x75c]
push ecx
mov ecx, esi
call edx
mov eax, dword [0x441570]
mov dword [esi + 0x970], eax
mov dword [0x441584], ebx
mov dword [0x441570], 0
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x404e60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
mov eax, dword [0x441564]
add eax, 0xc
push eax
lea ecx, [esp + 8]
push str._s_s
push ecx
call dword [0x435248]
add esp, 0x10
test esi, esi
je 0x404ead
cmp byte [esi], 0
je 0x404ead
push 1
push 0
push esi
lea edx, [esp + 0xc]
push edx
jmp 0x404eb8
push 1
push 0
push 0
lea eax, [esp + 0xc]
push eax
push str.open
push 0
call dword [0x4351d4]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov eax, ecx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00423ac7
add esp, 0x108
ret 4

Function at 0x405200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4346eb
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x43e040]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CScriptDecoder.0
xor ebx, ebx
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], ebx
mov byte [esi + 8], bl
lea eax, [esi + 0x78]
push eax
mov dword [esp + 0x18], ebx
call fcn.00406b60
xor ecx, ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x4a0], 0xffffffff
mov word [esi + 0x4a4], cx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x405e40
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, cx
xor eax, eax
test ecx, ecx
jle 0x405e5e
lea esp, [esp]
mov dl, byte [edi + 0x4a0]
xor byte [eax + esi], dl
inc eax
cmp eax, ecx
jl 0x405e50
add dword [edi + 0x24], ecx
ret
Function at 0x408390
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xaa8], 0
je 0x408439
push 1
call dword [0x435224]
mov ecx, 0xffff8000
test cx, ax
je 0x4083f7
lea edx, [esp + 0x10]
push edx
call dword [0x435234]
mov ecx, dword [edi + 0x95c]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x435210]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
push eax
push ecx
mov ecx, edi
call edx
jmp 0x408439
lea eax, [esp + 0x10]
push eax
call dword [0x435234]
mov edx, dword [edi + 0x95c]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [0x435210]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
sub edx, dword [esp + 0x18]
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
push ecx
push edx
mov ecx, edi
call eax
mov dword [edi + 0xaa8], 0
dec dword [edi + 0xaa4]
cmp dword [edi + 0xaa4], 0
jg 0x40845f
mov esi, edi
call fcn.00409a90
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xf
mov dword [edi + 0xaa4], eax
mov eax, dword [edi + 0xaac]
test eax, eax
jle 0x40847e
dec eax
mov dword [edi + 0xaac], eax
test eax, eax
jg 0x40847e
mov dword [edi + 0xab0], 0
push edi
lea esi, [edi + 0xa78]
push esi
call fcn.0040f510
cmp dword [edi + 0xa48], 0
je 0x408524
mov ecx, dword [edi + 0xa58]
push ecx
push esi
mov dword [edi + 0xa48], 0
call fcn.0040f7d0
mov edx, dword [edi + 0xa58]
mov eax, dword [edi + 0xa5c]
push edx
push eax
call fcn.00402f10
mov ebx, dword [edi + 0xa58]
call fcn.00420b00
mov edx, dword [edi + 0x95c]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [0x435210]
push 0
call dword [0x435244]
mov ecx, dword [esp + 0x1c]
mov esi, dword [edi + 0xa58]
mov ebx, eax
mov eax, dword [esp + 0x18]
push ebx
call fcn.00420bd0
push ebx
push 0
call dword [0x435240]
mov eax, dword [edi + 0x95c]
push 0
push 0
push eax
call dword [0x435220]
mov ecx, dword [edi + 0x95c]
push ecx
call dword [0x435238]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408720
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0xa9c], 0
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa28], eax
mov dword [esi + 0xa2c], ecx
je 0x408847
push 1
call dword [0x435224]
mov edx, 0xffff8000
test dx, ax
jne 0x408783
cmp dword [esi + 0xa9c], 0
je case.default.0x408856
mov eax, dword [esi + 0x95c]
push 0
push 0
push 0x202
push eax
call dword [0x4352c0]
pop esi
add esp, 8
ret 8
lea ecx, [esp + 4]
push ecx
call dword [0x435234]
mov eax, dword [esi + 0x1204]
sub eax, dword [esp + 4]
mov ecx, dword [esi + 0x1208]
sub ecx, dword [esp + 8]
add eax, 8
cmp eax, 0x10
ja 0x4087b4
cmp ecx, 0xfffffff8
jl 0x4087b4
cmp ecx, 8
jle 0x408800
mov eax, dword [esi + 0xa98]
test eax, eax
je 0x4087e1
mov dword [eax + 0x284], 0xffffffff
mov eax, dword [esi + 0xa98]
cmp dword [eax + 0x284], 0
jge 0x4087e1
mov dword [eax + 0x284], 1
mov eax, dword [esi + 0x1214]
cmp eax, 0x7fffffff
je 0x408800
mov edx, dword [esi + 0x1218]
mov dword [esi + 0x120c], eax
mov dword [esi + 0x1210], edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
sub eax, dword [esi + 0x120c]
sub ecx, dword [esi + 0x1210]
cmp dword [esi + 0x1318], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
jne case.default.0x408856
push 0x1d
push 0
push 0
push ecx
push eax
mov eax, dword [esi + 0x95c]
push 0xffffffffffffffff
push eax
call dword [0x4352dc]
pop esi
add esp, 8
ret 8
mov ecx, dword [esi + 0xab0]
cmp ecx, 3
ja case.default.0x408856
jmp dword [ecx*4 + 0x408904]
mov dword [esi + 0xab0], 1
mov dword [esi + 0xab4], eax
pop esi
add esp, 8
ret 8
cmp eax, dword [esi + 0xab4]
jle 0x4088f5
mov dword [esi + 0xab0], 2
mov dword [esi + 0xaac], 0x1e
mov dword [esi + 0xab4], eax
pop esi
add esp, 8
ret 8
cmp eax, dword [esi + 0xab4]
jge 0x4088f5
mov dword [esi + 0xab0], 3
mov dword [esi + 0xab4], eax
pop esi
add esp, 8
ret 8
cmp eax, dword [esi + 0xab4]
jle 0x4088f5
mov ecx, dword [esi + 0xa98]
mov dword [esi + 0xab0], 0
mov dword [esi + 0xaac], 0
test ecx, ecx
je 0x4088f5
cmp dword [ecx + 0x284], 0
jge 0x4088f5
mov dword [ecx + 0x284], 8
mov dword [esi + 0xab4], eax
pop esi
add esp, 8
ret 8
Function at 0x409340
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x408
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [0x435290]
push ebp
push esi
push edi
push 0x100
mov esi, ecx
mov edi, dword [esi + 0x95c]
lea eax, [esp + 0x218]
push eax
push edi
call ebx
push 0x100
lea ecx, [esp + 0x118]
push ecx
push edi
mov ebp, eax
call dword [0x43528c]
mov edx, dword [esi + 0x95c]
push 0xb
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
mov dword [esp + 0x2c], eax
call dword [0x4352dc]
mov esi, dword [esi + 0x95c]
push 2
push esi
call dword [0x435288]
mov esi, eax
test esi, esi
je 0x409455
push 0x100
lea eax, [esp + 0x18]
push eax
push esi
call ebx
cmp eax, ebp
jne 0x409442
lea ecx, [esp + 0x214]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0042459c
add esp, 8
test eax, eax
jne 0x409442
push 0x100
lea eax, [esp + 0x318]
push eax
push esi
call dword [0x43528c]
cmp eax, dword [esp + 0x10]
jne 0x409442
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x318]
push edx
call fcn.0042459c
add esp, 8
test eax, eax
jne 0x409442
cmp esi, edi
je 0x409442
mov eax, dword [esp + 0x420]
mov ecx, dword [esp + 0x41c]
push eax
push ecx
push 0x8010
push esi
call dword [0x4352c4]
push 2
push esi
call dword [0x435288]
mov esi, eax
test esi, esi
jne 0x4093c2
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423ac7
add esp, 0x408
ret 8

Function at 0x409470
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x40c
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
mov ebx, dword [edi + 0x95c]
push ebp
mov ebp, dword [0x435290]
push esi
push 0x100
lea eax, [esp + 0x18]
push eax
push ebx
call ebp
push 0x100
lea ecx, [esp + 0x118]
push ecx
push ebx
mov dword [esp + 0x18], eax
call dword [0x43528c]
mov edx, dword [edi + 0x95c]
push 0xb
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
mov dword [esp + 0x2c], eax
call dword [0x4352dc]
mov eax, dword [edi + 0x95c]
push 2
push eax
call dword [0x435288]
mov esi, eax
test esi, esi
je 0x4095a0
mov edi, edi
push 0x100
lea eax, [esp + 0x218]
push eax
push esi
call ebp
cmp eax, dword [esp + 0xc]
jne 0x40958d
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x218]
push edx
call fcn.0042459c
add esp, 8
test eax, eax
jne 0x40958d
push 0x100
lea eax, [esp + 0x318]
push eax
push esi
call dword [0x43528c]
cmp eax, dword [esp + 0x10]
jne 0x40958d
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x318]
push edx
call fcn.0042459c
add esp, 8
test eax, eax
jne 0x40958d
cmp esi, ebx
je 0x40958d
mov eax, dword [esp + 0x41c]
push eax
push 3
push 0x8010
push esi
call dword [0x4352c0]
test eax, eax
jle 0x40958d
mov ecx, dword [edi + 0xa98]
mov dword [ecx + eax*4 + 0x34], 0
mov dword [ecx + eax*4 + 8], 1
push 2
push esi
call dword [0x435288]
mov esi, eax
test esi, esi
jne 0x4094f0
mov ecx, dword [esp + 0x414]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423ac7
add esp, 0x40c
ret 4
Function at 0x4095c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x424
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [esp + 0x42c]
push ebx
mov ebx, dword [0x435290]
push ebp
push esi
mov esi, dword [esp + 0x434]
push edi
mov edi, dword [esi + 0x95c]
mov dword [esp + 0x28], ecx
push 0x100
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], eax
push ecx
lea eax, [esp + 0x28]
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x28], eax
call ebx
push 0x100
lea edx, [esp + 0x134]
push edx
push edi
mov ebp, eax
call dword [0x43528c]
push 0xb
push 0
push 0
push 0
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x95c]
push 0xffffffffffffffff
push eax
call dword [0x4352dc]
mov esi, dword [esi + 0x95c]
push 2
push esi
call dword [0x435288]
mov esi, eax
test esi, esi
je 0x4096fc
push 0x100
lea ecx, [esp + 0x234]
push ecx
push esi
call ebx
cmp eax, ebp
jne 0x4096e9
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.0042459c
add esp, 8
test eax, eax
jne 0x4096e9
push 0x100
lea ecx, [esp + 0x334]
push ecx
push esi
call dword [0x43528c]
cmp eax, dword [esp + 0x10]
jne 0x4096e9
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x334]
push eax
call fcn.0042459c
add esp, 8
test eax, eax
jne 0x4096e9
cmp esi, edi
je 0x4096e9
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x4a
push esi
call dword [0x4352c0]
push 2
push esi
call dword [0x435288]
mov esi, eax
test esi, esi
jne 0x409673
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423ac7
add esp, 0x424
ret 8

Function at 0x409a90
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x38
push edi
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0xc]
push 0x409990
mov dword [esp + 0x10], 0x4371d0
mov dword [esp + 0x14], 0x4371d8
mov dword [esp + 0x18], 0x4371e0
mov dword [esp + 0x2c], str.32770
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 6
mov dword [esp + 0x3c], 0
call dword [0x435284]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x409b57
push edi
call dword [0x435280]
test eax, eax
je 0x409b57
lea edx, [esp + 0x14]
push edx
push edi
call dword [0x435210]
mov eax, dword [esi + 0xa98]
test eax, eax
je 0x409b4d
cmp dword [eax + 0x290], 0
jge 0x409b4d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x122c], edi
mov dword [esi + 0x1230], ecx
mov dword [esi + 0x1234], edx
mov dword [esi + 0x1238], 0
cmp dword [eax + 0x290], 0
jge 0x409b4d
mov dword [eax + 0x290], 7
mov eax, 1
pop edi
add esp, 0x38
ret
xor eax, eax
pop edi
add esp, 0x38
ret
Function at 0x409b60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x134
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x138]
mov ecx, dword [0x441564]
push ebx
push ebp
push esi
lea edx, [ecx + 0x624]
mov dword [esp + 0xc], eax
xor eax, eax
add ecx, 0x318
mov ebp, 0x4371fc
push edi
mov edi, dword [0x435248]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
lea esi, [eax + 0xc]
sub ebp, 0xc
lea ebx, [eax + 1]
push ebx
lea eax, [esp + 0x20]
push str.Mascot_d
push eax
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 0xc
push ecx
push 0
lea edx, [esp + 0x24]
push edx
push eax
call dword [0x435044]
test eax, eax
je 0x409c33
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xa98]
mov dword [esi + eax + 0x2c], 0
mov dword [esi + eax], 1
mov edx, dword [esi + ebp]
mov eax, dword [0x441564]
push edx
add eax, 0xc
push eax
lea ecx, [esp + 0x44]
push str._s_s
push ecx
call edi
add esp, 0x10
push 1
push 0
push 0
lea edx, [esp + 0x48]
push edx
push str.open
push 0
call dword [0x4351d4]
push 0x55
call dword [0x435194]
add esi, 4
cmp esi, 0x20
mov eax, ebx
jl 0x409bb0
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423ac7
add esp, 0x134
ret 4

Function at 0x409dc0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp]
push eax
push 0x4353cc
push 1
push 0
push 0x4353dc
call dword [0x435354]
test eax, eax
jl 0x409eaf
mov eax, dword [esp]
mov ecx, dword [eax]
push esi
lea edx, [esp + 8]
push edx
push 0x4353ec
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x409ea0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push 0
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 0
push eax
call edx
push 0x104
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [0x435180]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00423ac7
add esp, 0x214
ret
Function at 0x409ed0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push 1
push 7
mov esi, ecx
mov ecx, dword [esi + 0x95c]
lea eax, [esp + 0x150]
push eax
push ecx
call dword [0x4351dc]
lea eax, [esp + 0x148]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409f10
sub eax, edx
cmp byte [esp + eax + 0x147], 0x5c
lea ecx, [esp + eax + 0x148]
je 0x409f38
mov byte [ecx], 0x5c
inc eax
lea ecx, [esp + eax + 0x148]
mov byte [ecx], 0
add esi, 0x1290
push esi
push str._s.lnk
push ecx
call dword [0x435248]
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14c]
push eax
call dword [0x435178]
cmp eax, 0xffffffff
jne 0x409f7b
xor eax, eax
pop esi
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00423ac7
mov esp, ebp
pop ebp
ret
push eax
call dword [0x435174]
mov ecx, dword [esp + 0x254]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00423ac7
mov esp, ebp
pop ebp
ret

Function at 0x409fb0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x214
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x210], eax
mov ecx, dword [esi + 0x95c]
push 1
push 7
lea eax, [esp + 8]
push eax
push ecx
call dword [0x4351dc]
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409fe0
sub eax, edx
cmp byte [esp + eax - 1], 0x5c
lea ecx, [esp + eax]
je 0x409ffd
mov byte [ecx], 0x5c
inc eax
lea ecx, [esp + eax]
mov byte [ecx], 0
push edi
lea edx, [esi + 0x1290]
push edx
push str._s.lnk
push ecx
call dword [0x435248]
mov eax, dword [esi + 0x95c]
add esp, 0xc
cmp dword [esp + 0x21c], 0
je 0x40a0ac
push ebp
mov ebp, dword [0x4352d0]
push 4
push 0x437224
push 0x437230
push eax
call ebp
cmp eax, 6
jne 0x40a083
push ebx
push 0x104
lea eax, [esp + 0x118]
push eax
push 0
call dword [0x435170]
lea ebx, [esp + 0x114]
lea edi, [esp + 0xc]
call fcn.00409dc0
pop ebx
push 0
push 0x437224
test eax, eax
jl 0x40a09e
mov ecx, dword [esi + 0x95c]
push 0x437290
push ecx
call ebp
pop ebp
mov ecx, dword [esp + 0x214]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00423ac7
add esp, 0x214
ret 4
mov edx, dword [esi + 0x95c]
push 0x4372a0
push edx
jmp 0x40a081
mov edi, dword [0x4352d0]
push 4
push 0x4372b8
push 0x4372c8
push eax
call edi
cmp eax, 6
jne 0x40a084
lea eax, [esp + 4]
push eax
call dword [0x43516c]
mov ecx, dword [esi + 0x95c]
push 0
push 0x4372b8
push 0x437334
push ecx
call edi
jmp 0x40a084