joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413e5d
Capabilities:
Hide graphical window

Disassembly:
push dword [0x484700]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413e89
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x484700]
call esi
push 0
push dword [0x4846f8]
call esi
pop esi
ret

Function at 0x413e8a
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [0x484700]
call esi
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push eax
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.00426a8d
cmp dword [eax], 1
je 0x413ef4
cmp dword [eax + 4], ebx
je 0x413f49
push ebx
push 0x47bc84
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413f49
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x46
push eax
push edi
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x1c]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SubtractRect]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
sub esi, ebx
mov ecx, dword [ebp - 0x14]
mov eax, esi
mov edi, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 4]
sub ecx, edi
push 5
push 0
push 0
sub ebx, eax
mov eax, ecx
cdq
idiv dword [ebp - 4]
sub ebx, dword [ebp - 8]
add ebx, esi
push ebx
sub edi, eax
sub edi, dword [ebp - 0xc]
add edi, ecx
push edi
push 0
push dword [0x484700]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414dbd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ee
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x414f44
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push esi
call ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
call esi
push 0x3ef
push dword [ebp + 8]
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x414f44
push edi
call ebx
cmp dword [ebp - 4], eax
jge 0x414e2f
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push edi
call esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x414f44
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd0]
push eax
push esi
call fcn.004156c9
push 1
push 0x47bcd8
push esi
mov edi, eax
call fcn.004156c9
push esi
push dword [ebp - 8]
movzx ebx, ax
call dword [sym.imp.USER32.dll_ReleaseDC]
and dword [ebp + 8], 0
movzx esi, di
add esi, ebx
shr edi, 0x10
test esi, esi
mov dword [ebp - 0x14], edi
je 0x414f44
test edi, edi
je 0x414f44
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
cmp eax, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
jge 0x414ece
mov edi, esi
push 1
sub edi, eax
add edi, ebx
add esi, ebx
pop ebx
mov dword [ebp - 4], esi
mov dword [ebp + 8], ebx
jmp 0x414ed4
mov edi, dword [ebp + 8]
push 1
pop ebx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jge 0x414ee4
add eax, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x414f44
mov esi, dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x2c
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x34]
push ebx
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, edi
push dword [ebp - 4]
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0x34]
push 1
push dword [ebp - 0xc]
lea eax, [edi + edi]
sub ecx, eax
push dword [ebp - 4]
push dword [ebp - 0x30]
push ecx
push dword [ebp - 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416dfd
Capabilities:
Check os version

Disassembly:
mov eax, 0x4633c1
call fcn.00433ae8
sub esp, 0x180
push ebx
lea eax, [ebp - 0x18c]
push esi
mov dword [ebp - 0x14], ecx
push eax
mov dword [ebp - 0x18c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x188], 5
jne 0x416f79
push 2
pop esi
cmp dword [ebp - 0x184], esi
jne 0x416f79
cmp byte [ebp - 0xf2], 1
je 0x416f79
push 0x47be44
push dword [ebp + 8]
call fcn.004343b0
pop ecx
pop ecx
test eax, eax
push 1
je 0x417013
lea eax, [ebp + 0xb]
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp + 8]
call fcn.00402caf
xor ebx, ebx
mov dword [ebp - 4], esi
cmp dword [ebp - 0x94], ebx
je 0x416f6a
mov al, byte [ebp + 0xb]
push edi
mov byte [ebp - 0x28], al
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xa0]
push eax
push 0x2c
mov byte [ebp - 4], 3
call fcn.00415843
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x469580
mov dword [ebp - 0x30], 0x469578
call fcn.00402b2c
xor edi, edi
mov byte [ebp - 4], 4
xor esi, esi
cmp dword [ebp - 0x24], ebx
je 0x416f51
mov eax, dword [ebp - 0x20]
push 0x28
sub eax, dword [ebp - 0x24]
pop ecx
cdq
idiv ecx
cmp edi, eax
jae 0x416f51
lea eax, [ebp - 0x15]
push 1
push eax
push 0x47be34
lea ecx, [ebp - 0xf0]
call fcn.00402caf
push eax
mov eax, dword [ebp - 0x24]
add eax, esi
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.004213c1
add esp, 0xc
lea ecx, [ebp - 0x50]
push ebx
push ecx
mov ecx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 6
call fcn.0041c9e4
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.00401f95
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 4
call fcn.00401f95
inc edi
add esi, 0x28
jmp 0x416ed6
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00401f95
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00407225
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
jmp 0x41700c
lea eax, [ebp - 0xd]
push 0
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0x469580
mov dword [ebp - 0x58], 0x469578
call fcn.00402b2c
and dword [ebp - 4], 0
push 0x47be44
push dword [ebp + 8]
call fcn.004343b0
pop ecx
test eax, eax
pop ecx
jne 0x417005
lea eax, [ebp + 0xb]
push 1
push eax
push 0x47be34
lea ecx, [ebp - 0x50]
call fcn.00402caf
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x78]
push 1
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.0041c9e4
mov ebx, eax
lea ecx, [ebp - 0x50]
neg ebx
sbb bl, bl
and byte [ebp - 4], 0
inc bl
call fcn.00401f95
test bl, bl
je 0x417005
mov ecx, dword [ebp - 0x14]
call fcn.0041f73a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00401f95
xor eax, eax
jmp 0x417014
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00401f95
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4198a4
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov eax, 0x4638d7
call fcn.00433ae8
sub esp, 0x5c0
and byte [ebp - 0x5cc], 0
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x5cb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x5cc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0xf]
push 1
push eax
lea eax, [ebp - 0x5cc]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040175f
and dword [ebp - 4], 0
mov eax, 0x47c7ec
mov ecx, eax
mov dword [ebp - 0x3c], 0x469540
test ecx, ecx
mov dword [ebp - 0x1c], 0x469538
jne 0x419918
mov eax, 0x483644
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408d40
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.0041fb18
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401bc2
or edi, 0xffffffff
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x1cc]
lea ecx, [ebp - 0x64]
push eax
mov byte [ebp - 4], 2
call fcn.0040198d
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, edi
je 0x419a14
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x4199f2
lea eax, [ebp - 0xd]
push 1
push eax
lea eax, [ebp - 0x5cc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040175f
lea eax, [ebp - 0xe]
push 1
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.0040175f
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 4
call fcn.0041fb18
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.00401bc2
lea ecx, [ebp - 0x3c]
call fcn.0040198d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401bc2
lea eax, [ebp - 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419970
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x419a14
push esi
call eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.00401bc2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41ebd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x46430a
call fcn.00433ae8
sub esp, 0x18c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x12]
mov ebx, 0x469540
mov esi, 0x469538
push edi
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x4c], esi
call fcn.004017e1
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.0041edd7
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040198d
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], edi
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x41ec59
lea ecx, [ebp - 0x10]
call fcn.0040d6e6
mov ecx, dword [ebp + 0xc]
cmp eax, edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
sete byte [ebp + 0xf]
call fcn.00401bc2
cmp byte [ebp + 0xf], 0
je 0x41ed8f
and byte [ebp - 0x198], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x197]
and dword [ebp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0x47d364
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41ecd9
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xf]
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x20], esi
call fcn.004017e1
mov dword [ebp - 0x18], 1
jmp 0x41edab
lea eax, [ebp + 0xf]
push 1
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040175f
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
call fcn.0040950c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401bc2
mov eax, 0x47d360
mov dword [ebp - 0x44], ebx
mov ecx, eax
mov dword [ebp - 0x24], esi
test ecx, ecx
mov edi, 0x483644
jne 0x41ed22
mov eax, edi
lea ecx, [ebp + 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00408d40
mov eax, 0x47d35c
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [ebp - 0x94], ebx
test ecx, ecx
mov dword [ebp - 0x74], esi
jne 0x41ed4b
mov eax, edi
lea ecx, [ebp - 0x11]
push 0
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.00408d40
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 6
call fcn.0041fda2
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.00401bc2
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401bc2
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x20], esi
call fcn.0040f544
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00401bc2
cmp dword [ebp - 0x10], 0
je 0x41edc6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x423111
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x464ac2
call fcn.00433ae8
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
call fcn.00435eb3
mov eax, 0x46abf8
lea edi, [ebx + 0x10]
mov esi, eax
and dword [ebp - 4], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x20]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x30]
lea eax, [ebp - 0xd]
mov edi, 0x469540
mov esi, 0x469538
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.004017e1
lea ecx, [ebx + 0x58]
lea eax, [ebp - 0xe]
push 0
push eax
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.004017e1
mov eax, dword [ebp + 8]
mov ecx, ebx
mov byte [ebp - 4], 2
mov dword [ebx], 0x469768
mov dword [ebx + 0xc], eax
call fcn.0042329f
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4231a3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x464aea
call fcn.00433ae8
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
call fcn.00435eb3
and dword [ebp - 4], 0
lea edi, [ebx + 0x30]
lea eax, [ebp - 0xd]
mov esi, 0x469538
push 0
push eax
mov ecx, edi
mov dword [edi], 0x469540
mov dword [edi + 0x20], esi
call fcn.004017e1
lea ecx, [ebx + 0x58]
lea eax, [ebp - 0xe]
push 0
push eax
mov byte [ebp - 4], 1
mov dword [ecx], 0x469540
mov dword [ecx + 0x20], esi
call fcn.004017e1
mov esi, dword [ebp + 8]
mov dword [ebx], 0x469768
mov ecx, edi
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [esi + 0x30]
push eax
call fcn.0040950c
lea eax, [esi + 0x58]
lea ecx, [ebx + 0x58]
push eax
call fcn.0040950c
add esi, 0x20
lea edi, [ebx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x10]
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42547b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
and dword [ebp - 0x14], 0
push esi
push edi
mov edi, ecx
call fcn.0040104e
push 1
lea eax, [ebp - 0xd0]
pop esi
mov dword [ebp - 0xd0], 0x94
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 4], eax
sub eax, 0
mov dword [ebp - 8], ecx
je 0x42552b
dec eax
je 0x425520
dec eax
jne 0x425532
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x3c]
push 4
dec eax
pop ecx
je 0x425510
dec eax
je 0x425507
dec eax
jne 0x425513
mov dword [ebp - 0x18], 5
jmp 0x425513
mov dword [ebp - 0x18], 3
jmp 0x425513
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0xcc], ecx
jb 0x425532
mov dword [ebp - 0x14], esi
jmp 0x425532
movzx eax, cx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], eax
jmp 0x425532
mov dword [ebp - 0x18], 7
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040104a
mov ecx, eax
call fcn.00426a94
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x42590a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
dec edx
test eax, eax
je 0x425944
mov eax, dword [ecx + 0x70]
push esi
lea esi, [edx + 1]
mov edx, dword [ebp + 8]
push edi
mov ecx, dword [ebp + 0x10]
movzx edi, byte [edx]
and ecx, 0xff
xor ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 8
mov ecx, dword [eax + ecx*4]
inc edx
xor edi, ecx
dec esi
mov dword [ebp + 0x10], edi
jne 0x425922
pop edi
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc
Function at 0x42909c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429152
lea eax, [ebp - 0x118]
push 0xff
push eax
push dword [ebp + 0xc]
call fcn.0042f0c7
add esp, 0xc
cmp dword [ebp + 0xc], 0x452
jne 0x429142
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4290fe
lea eax, [ebp - 0x118]
push 0x47b4cc
push eax
call fcn.004361f0
pop ecx
test eax, eax
pop ecx
jne 0x42911a
mov eax, 0x486
push eax
mov dword [0x485f50], eax
call fcn.0042efda
pop ecx
push dword [0x485f50]
call fcn.004358d8
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.004306b6
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
leave
ret 8
Function at 0x429835
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, 0x47debc
push edi
lea eax, [ebp - 0x14]
push esi
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 4
xor ebx, ebx
pop eax
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x604]
push 0x7f00
push ebx
mov dword [ebp - 0x50], 0x42998d
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [edi + 0x604]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x4298b8
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x42995a
push 0xd0
call fcn.00433b07
mov esi, eax
pop ecx
cmp esi, ebx
je 0x42995a
mov eax, dword [ebp + 8]
push 1
pop ecx
mov dword [esi + 4], ecx
mov edx, dword [eax]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [esi + 8], edx
mov eax, dword [eax]
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x2c]
push eax
push 0x18
push dword [esi]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebx
sub eax, dword [ebp - 0x28]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 8], eax
call ebx
sub eax, dword [ebp - 0x24]
push esi
push dword [edi + 0x604]
xor ecx, ecx
cdq
push ecx
push ecx
push dword [ebp - 0x24]
sub eax, edx
sar eax, 1
push dword [ebp - 0x28]
mov dword [edi + 0x1c0], ecx
push eax
push dword [ebp + 8]
push 0x86000000
push 0x47deac
push 0x47debc
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
test ebx, ebx
jne 0x42995e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x429986
push esi
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 5
push ebx
mov dword [edi + 0x1c0], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x1c0]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x429d9a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x465366
call fcn.00433ae8
sub esp, 0x4a4
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x4af]
mov byte [ebp - 0x4b0], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4b0]
lea ecx, [esi + 0x18]
push eax
push 0x483640
push 0x47dee0
push 0x47b2a4
call fcn.004028b8
cmp byte [ebp - 0x4b0], bl
jne 0x429dfb
xor eax, eax
jmp 0x429efb
push 1
lea eax, [ebp - 0xe]
pop edi
mov ecx, esi
push edi
push eax
call fcn.00426b5d
push eax
lea ecx, [ebp - 0x38]
call fcn.0040175f
lea eax, [ebp - 0xd]
push edi
push eax
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0040175f
push ebx
lea eax, [ebp - 0x88]
push ebx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040e0f2
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.0040e067
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040950c
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.00401bc2
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00401bc2
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00401bc2
lea ecx, [ebp - 0x38]
call fcn.0040198d
push eax
call fcn.0042fbda
test eax, eax
jne 0x429ecc
lea eax, [ebp - 0xd]
push edi
push eax
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040175f
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 4
call fcn.0040950c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00401bc2
push edi
push ebx
push ebx
lea ecx, [ebp - 0x38]
call fcn.0040198d
push eax
push 0x47def4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
lea ecx, [ebp - 0x38]
sbb esi, esi
or dword [ebp - 4], 0xffffffff
neg esi
call fcn.00401bc2
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret