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

Disassembly:
jmp 0x416ff5
mov eax, 0x461397
call fcn.0043b314
sub esp, 0x20
push ebx
and dword [ebp - 0x2c], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
jl 0x417026
mov dword [ebp - 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x417038
mov ecx, dword [0x470ea0]
push eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
call fcn.0040178f
push 1
lea eax, [esi + 0x20]
pop ebx
push 0x47100c
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push eax
call fcn.0040177b
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp + 0xc]
push dword [ebp - 0x18]
push eax
call fcn.0040177b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0040223e
cmp dword [edi], ebx
jne 0x4170a2
mov eax, dword [ebp + 0xc]
push str..zip
lea ecx, [ebp + 0xc]
mov eax, dword [eax - 8]
push eax
call fcn.00402261
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.0040120d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], 0
lea eax, [ecx - 0xc]
jl 0x4170ba
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4170cb
mov eax, dword [0x470ea0]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0040178f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
push dword [eax - 8]
call fcn.00402261
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040120d
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401253
push dword [ebp + 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 6
call edi
test eax, eax
je 0x417192
mov eax, dword [0x470ea0]
mov dword [ebp - 0x18], eax
push dword [esi + 0x24]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push 0x471c0c
push eax
call fcn.00401dbb
add esp, 0xc
lea eax, [ebp - 0x18]
inc dword [esi + 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040116d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040116d
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.00401758
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.0040223e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0040223e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0040223e
push dword [ebp + 0xc]
jmp 0x41710d
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004023f6
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0040223e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040223e
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0040223e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040223e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x401e3d
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x40be7b
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x401ef6
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x424f92
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x401efb
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40bd14
cmp dword [esp + 4], 0x64
push esi
mov esi, ecx
jne 0x40bd49
and dword [esi + 0x50], 0
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push dword [esi + 4]
call edi
push 0x65
push dword [esi + 4]
call edi
push 0
push 0x14
push 0x65
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
jmp 0x40bdae
cmp dword [esp + 8], 0x65
jne 0x40bdae
cmp dword [esi + 0x50], 0
je 0x40bd76
add dword [esi + 0x4c], 0xa
mov ecx, dword [esi + 0x4c]
mov eax, 0xff
cmp ecx, eax
jl 0x40bd9a
push 0x65
mov dword [esi + 0x4c], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x40bd9a
add dword [esi + 0x4c], 0xfffffff6
cmp dword [esi + 0x4c], 0
jg 0x40bd9a
and dword [esi + 0x4c], 0
push 0x65
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [esi + 0x4c]
push 3
push eax
push 0xff00ff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
pop esi
ret 4
Function at 0x401f6e
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
jmp 0x416e85
mov eax, 0x46132c
call fcn.0043b314
sub esp, 0x260
mov eax, dword [ecx + 0x20]
push esi
lea esi, [ecx + 0x20]
cmp dword [eax - 8], 0
je 0x416f9f
mov eax, dword [0x470ea0]
push edi
mov dword [ebp - 0x10], eax
and dword [ebp - 0x26c], 0
and dword [ebp - 4], 0
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x268]
push 0x4711e8
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0040177b
mov eax, dword [eax]
lea ecx, [ebp - 0x26c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0040223e
cmp edi, 0xffffffff
je 0x416f92
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00401253
test byte [ebp - 0x26c], 0x20
mov byte [ebp - 4], 1
je 0x416f69
push 0x47100c
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0040177b
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040177b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00401758
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040223e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040223e
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040223e
lea eax, [ebp - 0x26c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416efb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040223e
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x401fc8
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x412979
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret
Function at 0x402211
Capabilities:
Get graphical window text

Disassembly:
jmp 0x41448c
mov eax, 0x46117c
call fcn.0043b314
sub esp, 0x210
push ebx
mov ebx, dword [0x478640]
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x4c]
mov dword [ebp - 0x1c], ebx
push edi
call fcn.004023f6
and dword [ebp - 4], 0
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x41455a
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x41452a
and word [ebp - 0x21c], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x21a]
push 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x21c]
test eax, eax
je 0x41451a
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401398
and dword [ebp - 0x18], 0
push 0x494
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x29cd
push eax
call fcn.0040262b
mov eax, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
je 0x41455a
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
and dword [ebp - 0x10], 0
push 0x487
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x10]
push ecx
push 0x29cd
push eax
call fcn.0040262b
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x414596
mov ecx, dword [eax]
push 6
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x10]
mov esi, dword [esi + 0x48]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040223e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x402270
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40bdea
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop eax
ret 0x10

Function at 0x402275
Capabilities:
Check if file exists

Disassembly:
jmp 0x408f43
mov eax, 0x4606a8
call fcn.0043b314
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408f70
add esi, 4
mov ecx, edi
push esi
push 1
call fcn.004021e4
jmp 0x408fd5
push esi
mov ecx, edi
call fcn.00402833
test eax, eax
jne 0x408f87
push esi
lea ecx, [edi + 0x2c]
call fcn.00401d84
jmp 0x408fd5
push 0x9c70
lea ecx, [ebp - 0x10]
call fcn.00401253
and dword [ebp - 4], 0
mov esi, dword [eax]
push 0x9c9d
lea ecx, [ebp + 8]
call fcn.00401253
mov eax, dword [eax]
push 0
push 0
push 0x30
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0040166d
and byte [ebp - 4], 0
add esp, 0x14
lea ecx, [ebp + 8]
call fcn.0040223e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040223e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x402324
Capabilities:
Copy file

Disassembly:
jmp 0x416de7
mov eax, 0x4612f7
call fcn.0043b314
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp + 0xc]
push esi
mov ebx, ecx
push eax
call fcn.00401c0d
mov eax, dword [esi]
push 1
pop edi
test eax, eax
mov dword [ebp - 4], edi
jne 0x416e24
mov esi, dword [esi + 0xc]
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x416e37
cmp eax, edi
jne 0x416e37
lea eax, [ebp + 0xc]
add esi, 0xc
push eax
push esi
mov ecx, ebx
call fcn.0040246e
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004023f6
mov dword [ebp - 0x10], edi
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040223e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4023c9
Capabilities:
Check if file exists

Disassembly:
jmp 0x428c8a
mov eax, 0x462578
call fcn.0043b314
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], edi
cmp dword [edi], ebx
je 0x428db0
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x428db0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428db0
push 0x24
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0043b370
add esp, 0xc
mov dword [ebp - 0x10], ebx
push dword [esi]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401253
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x428cfe
mov dword [ebp - 0x14], ebx
jmp 0x428d33
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0043b340
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x14]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00401f82
test eax, eax
je 0x428d79
push 9
push 8
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
push dword [ebp - 0x14]
push dword [edi]
call fcn.0044fec0
add esp, 0x28
cmp eax, ebx
jne 0x428d79
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [edi]
call fcn.0044ff00
add esp, 0xc
cmp eax, ebx
je 0x428d8c
cmp dword [ebp - 0x10], ebx
je 0x428da0
push dword [ebp - 0x10]
call fcn.0043bd85
pop ecx
mov dword [ebp - 0x10], ebx
jmp 0x428da0
cmp dword [ebp - 0x10], ebx
je 0x428d9d
push dword [ebp - 0x10]
call fcn.0043bd85
pop ecx
mov dword [ebp - 0x10], ebx
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040223e
mov eax, ebx
jmp 0x428db2
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x402423
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x423dca
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x4025a9
Capabilities:
Hide graphical window

Disassembly:
jmp 0x414c4b
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x58]
cmp eax, ebx
jle 0x414cc0
cmp dword [esi + 0x54], ebx
je 0x414cc0
xor ebp, ebp
cmp eax, ebx
jle 0x414d15
lea eax, [ebp + 0x46d]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x414d15
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x54]
lea eax, [ebx + eax + 4]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x54]
push dword [ebx + eax]
push 0xfffffffffffffff4
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
mov ecx, esi
push dword [esi + 4]
call fcn.0040113b
inc ebp
add ebx, 0x44
cmp ebp, dword [esi + 0x58]
jl 0x414c69
jmp 0x414d15
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x46d
push ebx
push dword [esi + 4]
call edi
push 0x471b80
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push dword [esi + 4]
call edi
push 1
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push dword [esi + 4]
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 0
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 0
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40267b
Capabilities:
Check if file exists

Disassembly:
jmp 0x426608
mov eax, 0x462464
call fcn.0043b314
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push edi
jne 0x42663a
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004015eb
jmp 0x426797
mov ecx, dword [ebp - 0x10]
call fcn.0040264e
test eax, eax
jne 0x426746
call fcn.00401bb3
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x426797
mov eax, dword [edi]
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
call dword [edx + 0xc]
test eax, eax
je 0x4266bd
push 8
call fcn.0043b3c8
cmp eax, ebx
pop ecx
je 0x426682
mov ecx, dword [0x470ea0]
mov dword [eax], ecx
mov ecx, eax
jmp 0x426684
xor ecx, ecx
push edi
mov dword [ebp + 8], ecx
call fcn.00401758
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 8]
lea ecx, [esi + 0xa8]
push eax
push dword [ecx + 8]
call fcn.004026ee
push 0x105
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x426797
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [edi]
cmp dword [eax - 8], ebx
je 0x426797
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426797
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42673f
push 0x9c70
lea ecx, [ebp - 0x14]
call fcn.00401253
mov esi, dword [eax]
push 0x9c7e
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00401253
mov eax, dword [eax]
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0040166d
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040223e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040223e
push edi
push ebx
jmp 0x42662d
push 0x9c70
lea ecx, [ebp - 0x18]
call fcn.00401253
mov esi, dword [eax]
push 0x9c82
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.00401253
mov eax, dword [eax]
xor ebx, ebx
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 3
call fcn.0040166d
add esp, 0x14
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040223e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040223e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4027ed
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40bdd9
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret 0xc
Function at 0x4028b0
Capabilities:
Check if file exists

Disassembly:
jmp 0x40d3a2
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esp + 0x14], ebp
cmp dword [eax - 8], ebp
je 0x40d47d
mov eax, dword [esi + 0x18]
cmp eax, ebp
je 0x40d3d0
mov edx, dword [esi + 0x1c]
sub edx, eax
sar edx, 2
jne 0x40d3ed
mov eax, dword [esi + 0x28]
cmp eax, ebp
je 0x40d3e1
mov edx, dword [esi + 0x2c]
sub edx, eax
sar edx, 2
jne 0x40d3ed
mov eax, dword [esi + 4]
cmp dword [eax - 8], ebp
je 0x40d47d
push ecx
call fcn.00402347
mov ecx, eax
call fcn.00401a14
test eax, eax
je 0x40d47d
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esp + 0x10], ebp
xor edi, edi
mov eax, dword [esi + 0x18]
cmp eax, ebp
je 0x40d442
mov ecx, dword [esi + 0x1c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x40d442
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x40d43f
mov eax, dword [esi + 0x18]
push dword [eax + edi*4]
call fcn.0040164a
cmp edx, ebp
pop ecx
jl 0x40d475
jg 0x40d43f
cmp eax, 0x500000
jb 0x40d475
inc edi
jmp 0x40d40a
xor edi, edi
mov eax, dword [esi + 0x28]
cmp eax, ebp
je 0x40d467
mov ecx, dword [esi + 0x2c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x40d467
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x40d464
inc dword [esp + 0x10]
inc edi
jmp 0x40d444
cmp dword [esp + 0x10], ebp
jg 0x40d475
mov eax, dword [esi + 4]
cmp dword [eax - 8], ebp
je 0x40d47d
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x405c23
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x405c0c
mov eax, 0x4602c4
call fcn.0043b314
sub esp, 0xa1c
mov ax, word [0x47867c]
push ebx
push esi
mov esi, ecx
push edi
mov word [ebp - 0x228], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
push 1
rep stosd dword es:[edi], eax
xor edx, edx
pop ebx
cmp dword [ebp + 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x104
stosw word es:[edi], ax
jne 0x405c61
mov eax, dword [esi]
cmp dword [eax - 8], edx
jne 0x405e02
cmp dword [esi + 0xc], edx
mov edi, 0x471010
je 0x405c9c
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x228]
push eax
call fcn.0043bf6f
test eax, eax
pop ecx
jne 0x405cab
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043bf4a
pop ecx
pop ecx
lea eax, [ebp - 0x228]
test eax, eax
je 0x405cc2
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x228]
push ecx
push eax
mov ecx, esi
call fcn.00401398
mov eax, dword [0x470ea0]
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00401f00
test eax, eax
je 0x405cee
mov eax, dword [ebp - 0x10]
mov word [eax], 0x5c
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push ebx
push eax
mov ecx, esi
call fcn.0040173f
push dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [ebp - 4], 1
push eax
call fcn.0043beeb
pop ecx
test eax, eax
pop ecx
je 0x405d69
mov eax, dword [0x470ea0]
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.00401f00
test eax, eax
je 0x405d30
mov eax, dword [ebp + 0xc]
mov word [eax], 0x2f
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040173f
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.0043beeb
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call fcn.0040223e
lea ecx, [ebp + 0xc]
call fcn.0040223e
test bl, bl
je 0x405d6b
mov bl, 1
lea ecx, [ebp - 0x14]
call fcn.0040223e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040223e
test bl, bl
je 0x405d93
mov eax, dword [esi]
push 1
mov ecx, esi
mov eax, dword [eax - 8]
dec eax
push eax
call fcn.004023b5
lea eax, [ebp - 0xa28]
push 0x400
xor ebx, ebx
push eax
push ebx
call fcn.00402027
add esp, 0xc
cmp dword [esi + 8], ebx
jle 0x405dc2
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
inc ebx
cmp ebx, dword [esi + 8]
jl 0x405daf
push dword [esi]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa28]
push eax
push 0
call fcn.004026c1
pop ecx
test eax, eax
pop ecx
jne 0x405e02
mov eax, edi
test eax, eax
je 0x405df9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00401398
mov ecx, dword [ebp + 8]
push esi
call fcn.004023f6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8