joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x72f92b2a
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x23ac3b38
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4012bc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp esi, 1
jl 0x4012cd
cmp esi, 9
jle 0x4012d8
push str.Invalid_compression_level
call fcn.004052b4
pop ecx
mov edi, 0x10000
xor ebx, ebx
push edi
push ebx
push 0x44edc0
mov dword [0x4323f8], esi
call fcn.00427c50
mov eax, esi
add esp, 0xc
shl eax, 3
cmp esi, 1
movzx ecx, word [eax + 0x42f07a]
mov dword [0x4323e4], ecx
movzx ecx, word [eax + 0x42f078]
mov dword [0x4323fc], ecx
movzx ecx, word [eax + 0x42f07c]
movzx eax, word [eax + 0x42f07e]
mov dword [0x4323f0], ecx
mov dword [0x4323f4], eax
jne 0x40133a
mov eax, dword [esp + 0x14]
or byte [eax], 4
jmp 0x401346
cmp esi, 9
jne 0x401346
mov eax, dword [esp + 0x14]
or byte [eax], 2
push edi
push 0x45edc0
mov dword [0x4323e0], ebx
mov dword [0x432404], ebx
call dword [0x4323d8]
pop ecx
cmp eax, ebx
pop ecx
mov dword [0x432408], eax
je 0x4013ba
cmp eax, 0xffffffff
je 0x4013ba
mov esi, 0x106
mov dword [0x4323ec], ebx
cmp eax, esi
jae 0x401392
cmp dword [0x4323ec], ebx
jne 0x401392
call fcn.0040150b
cmp dword [0x432408], esi
jb 0x40137d
xor eax, eax
xor ecx, ecx
movzx edx, byte [ecx + 0x45edc0]
and eax, 0x3ff
and edx, 0x7fff
shl eax, 5
xor eax, edx
inc ecx
cmp ecx, 2
jb 0x401396
mov dword [0x4323e8], eax
jmp 0x4013ca
mov dword [0x4323ec], 1
mov dword [0x432408], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4015e9
Capabilities:
Encode data using xor

Disassembly:
push ecx
and dword [esp], 0
cmp dword [0x4323f8], 3
push edi
push 2
pop edi
jg 0x401606
call fcn.0040186b
jmp 0x401868
cmp dword [0x432408], 0
je 0x401840
mov ecx, dword [0x4323e0]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebp, 0x3ff
movzx eax, byte [ecx + 0x45edc2]
mov edx, dword [0x4323e8]
and eax, esi
and edx, ebp
mov ebx, ecx
shl edx, 5
xor eax, edx
and ebx, esi
movzx edx, word [eax*2 + 0x44edc0]
mov dword [0x4323e8], eax
lea eax, [eax*2 + 0x44edc0]
mov word [ebx*2 + 0x43edc0], dx
mov ebx, dword [0x432400]
mov word [eax], cx
mov eax, edi
push 2
mov dword [0x4323dc], eax
test edx, edx
pop edi
je 0x4016b7
cmp eax, dword [0x4323e4]
jae 0x4016b7
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x4016b7
push edx
call fcn.004013ce
mov edi, eax
mov eax, dword [0x432408]
cmp edi, eax
pop ecx
jbe 0x40169a
mov edi, eax
mov ecx, dword [0x4323e0]
cmp edi, 3
jne 0x4016b7
mov eax, ecx
sub eax, dword [0x432400]
cmp eax, 0x1000
jbe 0x4016b7
push 2
pop edi
mov eax, dword [0x4323dc]
cmp eax, 3
jb 0x401781
cmp edi, eax
ja 0x401781
sub ecx, ebx
add eax, 0xfffffffd
dec ecx
push eax
push ecx
call fcn.00403af8
pop ecx
pop ecx
push 1
pop ecx
sub ecx, dword [0x4323dc]
add dword [0x432408], ecx
sub dword [0x4323dc], 2
mov ecx, dword [0x4323e0]
movzx edx, byte [ecx + 0x45edc3]
mov edi, dword [0x4323e8]
inc ecx
and edi, ebp
and edx, esi
shl edi, 5
xor edx, edi
mov edi, ecx
mov dword [0x4323e8], edx
and edi, esi
mov bx, word [edx*2 + 0x44edc0]
dec dword [0x4323dc]
lea edx, [edx*2 + 0x44edc0]
mov word [edi*2 + 0x43edc0], bx
mov word [edx], cx
jne 0x4016f8
and dword [esp + 0x10], 0
push 2
inc ecx
pop edi
test eax, eax
mov dword [0x4323e0], ecx
je 0x4017ef
mov eax, dword [0x432404]
test eax, eax
jl 0x401763
lea edx, [eax + 0x45edc0]
jmp 0x401765
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.004032ff
mov ecx, dword [0x4323e0]
add esp, 0xc
mov dword [0x432404], ecx
jmp 0x4017ef
cmp dword [esp + 0x10], 0
je 0x4017da
movzx eax, byte [ecx + 0x45edbf]
push eax
push 0
call fcn.00403af8
pop ecx
test eax, eax
pop ecx
je 0x4017d2
mov eax, dword [0x432404]
test eax, eax
jl 0x4017ae
lea ecx, [eax + 0x45edc0]
jmp 0x4017b0
xor ecx, ecx
mov edx, dword [0x4323e0]
push 0
sub edx, eax
push edx
push ecx
call fcn.004032ff
mov ecx, dword [0x4323e0]
add esp, 0xc
mov dword [0x432404], ecx
jmp 0x4017e2
mov ecx, dword [0x4323e0]
jmp 0x4017e2
mov dword [esp + 0x10], 1
inc ecx
dec dword [0x432408]
mov dword [0x4323e0], ecx
mov ebx, 0x106
cmp dword [0x432408], ebx
jae 0x401818
cmp dword [0x4323ec], 0
jne 0x401818
call fcn.0040150b
cmp dword [0x432408], ebx
mov ecx, dword [0x4323e0]
jb 0x4017fc
cmp dword [0x432408], 0
jne 0x401626
cmp dword [esp + 0x10], 0
pop esi
pop ebp
pop ebx
je 0x401846
movzx eax, byte [ecx + 0x45edbf]
push eax
push 0
call fcn.00403af8
pop ecx
pop ecx
mov ecx, dword [0x4323e0]
mov edx, dword [0x432404]
test edx, edx
jl 0x401858
lea eax, [edx + 0x45edc0]
jmp 0x40185a
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.004032ff
add esp, 0xc
pop edi
pop ecx
ret
Function at 0x40186b
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x432408], edi
mov dword [0x4323dc], 2
je 0x401a32
mov ecx, dword [0x4323e0]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebx, 0x3ff
movzx eax, byte [ecx + 0x45edc2]
mov edx, dword [0x4323e8]
and eax, esi
and edx, ebx
mov ebp, ecx
shl edx, 5
xor eax, edx
and ebp, esi
movzx edx, word [eax*2 + 0x44edc0]
mov dword [0x4323e8], eax
lea eax, [eax*2 + 0x44edc0]
mov word [ebp*2 + 0x43edc0], dx
test edx, edx
mov word [eax], cx
je 0x4018fa
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x4018fa
push edx
call fcn.004013ce
mov edi, eax
mov eax, dword [0x432408]
cmp edi, eax
pop ecx
jbe 0x4018f4
mov edi, eax
mov ecx, dword [0x4323e0]
cmp edi, 3
jb 0x40199b
sub ecx, dword [0x432400]
lea eax, [edi - 3]
push eax
push ecx
call fcn.00403af8
sub dword [0x432408], edi
cmp edi, dword [0x4323e4]
pop ecx
mov dword [esp + 0x14], eax
pop ecx
ja 0x40196d
mov ecx, dword [0x4323e0]
dec edi
movzx eax, byte [ecx + 0x45edc3]
mov edx, dword [0x4323e8]
inc ecx
and edx, ebx
and eax, esi
shl edx, 5
xor eax, edx
mov dword [0x4323e8], eax
mov bp, word [eax*2 + 0x44edc0]
lea edx, [eax*2 + 0x44edc0]
mov eax, ecx
and eax, esi
dec edi
mov word [eax*2 + 0x43edc0], bp
mov word [edx], cx
jne 0x40192e
jmp 0x4019bc
mov ecx, dword [0x4323e0]
add ecx, edi
xor edi, edi
mov dword [0x4323e0], ecx
movzx eax, byte [ecx + 0x45edc0]
movzx edx, byte [ecx + 0x45edc1]
and eax, ebx
and edx, esi
shl eax, 5
xor eax, edx
mov dword [0x4323e8], eax
jmp 0x4019c3
movzx eax, byte [ecx + 0x45edc0]
push eax
push 0
call fcn.00403af8
dec dword [0x432408]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, dword [0x4323e0]
inc ecx
mov dword [0x4323e0], ecx
cmp dword [esp + 0x10], 0
je 0x4019f7
mov eax, dword [0x432404]
test eax, eax
jl 0x4019db
lea edx, [eax + 0x45edc0]
jmp 0x4019dd
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.004032ff
mov ecx, dword [0x4323e0]
add esp, 0xc
mov dword [0x432404], ecx
mov ebp, 0x106
cmp dword [0x432408], ebp
jae 0x401a20
cmp dword [0x4323ec], 0
jne 0x401a20
call fcn.0040150b
cmp dword [0x432408], ebp
mov ecx, dword [0x4323e0]
jb 0x401a04
cmp dword [0x432408], 0
jne 0x401898
pop esi
pop ebp
pop ebx
jmp 0x401a38
mov ecx, dword [0x4323e0]
mov edx, dword [0x432404]
pop edi
test edx, edx
jl 0x401a4b
lea eax, [edx + 0x45edc0]
jmp 0x401a4d
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.004032ff
add esp, 0x10
ret

Function at 0x4050f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x405100
or eax, 0xffffffff
jmp 0x40512e
cmp dword [esp + 8], 0
mov eax, dword [0x42f4a4]
je 0x40512e
push esi
movzx esi, byte [ecx]
mov edx, eax
and edx, 0xff
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x42f4a8]
xor eax, edx
inc ecx
dec dword [esp + 0xc]
jne 0x40510d
pop esi
mov dword [0x42f4a4], eax
not eax
ret
Function at 0x40521c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40523d
call fcn.00405411
mov eax, dword [0x482ac4]
mov ecx, dword [0x4835dc]
add eax, dword [ebp + 0x10]
mov dword [0x482ac4], eax
lea edx, [eax - 0x8400]
cmp edx, ecx
jle 0x405276
cmp byte [0x483666], 0
je 0x405276
sub eax, ecx
push eax
call fcn.0041738f
mov eax, dword [0x482ac4]
pop ecx
mov dword [0x4835dc], eax
pop ebp
ret

Function at 0x405acb
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, 0x482668
push edi
push 0x9c
mov ecx, esi
call fcn.0041f63e
push 0xa0
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041f63e
push 0xa4
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0041f63e
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and byte [ebp - 1], 0
mov edi, eax
mov ebx, 0x3ff
lea ecx, [ebp - 0x2c]
shr ax, 0xa
and edi, ebx
mov dword [ebp - 0x20], eax
call fcn.0041eab0
and dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
jbe 0x405c06
push 8
push esi
mov ecx, 0x482ab8
call fcn.0041fa6a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f806
test eax, eax
jl 0x405c06
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041f63e
push 8
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xc], eax
call fcn.0041f63e
lea eax, [eax + esi + 8]
mov ecx, 0x482ab8
push eax
call fcn.0041fa6a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f806
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041f63e
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
call fcn.0041f63e
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
and dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], eax
cmp di, word [ebp - 0xc]
lea esi, [esi + ecx + 4]
je 0x405bbf
cmp byte [ebp - 1], 0
jne 0x405bf7
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x14]
jne 0x405bf7
cmp dword [0x482994], 0
mov byte [ebp - 1], 1
je 0x405bde
push dword [ebp - 8]
mov ecx, 0x482320
call fcn.00417b93
mov eax, dword [ebp - 0x18]
jmp 0x405be7
mov ecx, dword [ebp - 0x1c]
mov dword [0x4829bc], ecx
cmp di, word [ebp - 0xc]
jne 0x405bf7
shr ax, 0xa
cmp word [ebp - 0x20], ax
je 0x405c06
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x405b35
lea ecx, [ebp - 0x2c]
call fcn.0041ebe6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406cd7
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push 0x10
lea eax, [ebp - 0x2c]
push 0
push eax
or esi, 0xffffffff
call fcn.00427c50
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x406d8d
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push ebx
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x14]
push eax
call edi
mov eax, 0x80000000
mov bx, 0xfa0
bsf ecx, eax
dec bx
jne 0x406d21
lea eax, [ebp - 0xc]
push eax
call edi
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cmp eax, esi
jae 0x406d3a
mov esi, eax
dec dword [ebp - 4]
jne 0x406d12
mov ecx, dword [ebp - 0x1c]
push 0xa
mov eax, ecx
xor edx, edx
pop edi
imul esi, esi, 0x186a0
div edi
xor edx, edx
pop ebx
mov edi, eax
mov eax, esi
div edi
xor edx, edx
mov esi, eax
div ecx
shr ecx, 1
cmp edx, ecx
jbe 0x406d67
inc esi
mov edi, dword [ebp + 0xc]
xor edx, edx
mov eax, edi
div esi
xor edx, edx
mov ecx, eax
mov eax, edi
div esi
mov eax, esi
mov dword [ebp - 0x24], ecx
shr eax, 1
cmp edx, eax
jbe 0x406d84
inc ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x2c]
mov edi, 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]
pop edi
pop esi
leave
ret

Function at 0x406d9d
Capabilities:
Check for time delay via gettickcount
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c628
push 0x428630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, eax
mov dword [ebp - 0x30], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebp - 0x24], eax
push 0xf
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x20], eax
call esi
sub eax, dword [ebp - 0x20]
je 0x406dee
call esi
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
rdtsc
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x24]
push ebx
call edi
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf
push ebx
call edi
call esi
mov dword [ebp - 0x2c], eax
call esi
sub eax, dword [ebp - 0x2c]
je 0x406e1f
call esi
mov esi, eax
rdtsc
mov dword [ebp - 0x34], eax
push dword [ebp - 0x24]
push ebx
call edi
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x20]
xor edx, edx
div esi
mov esi, eax
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ecx, eax
mov eax, esi
xor edx, edx
push 0x64
pop esi
div esi
lea edx, [ecx + ecx*4]
shl edx, 1
sub eax, edx
cmp eax, 5
jb 0x406e65
inc ecx
mov eax, ecx
jmp 0x406e82
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40750c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [0x4822c8], esi
call fcn.00408897
mov ebx, eax
xor edi, edi
cmp ebx, edi
jge 0x40755e
lea ecx, [ebp - 0xc]
call fcn.0041eab0
push ebx
lea eax, [ebp - 0xc]
push str.Load_template_failed___d_
push eax
call fcn.0041f193
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.0041fa6a
push eax
call fcn.00420722
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0041ebe6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 0x10]
call fcn.0040981d
mov eax, dword [ebp + 0x14]
mov dword [0x4822c8], edi
cmp eax, edi
je 0x40757a
mov dword [eax], esi
cmp dword [esi + 4], edi
mov dword [esi + 0x6c], eax
jne 0x40758a
or eax, 0xffffffff
jmp 0x40770d
push dword [0x4822c0]
inc dword [0x4822b8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [0x4822b8]
push 0x42
shl eax, 2
push eax
push dword [0x4822c0]
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
push eax
mov dword [0x4822c0], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [0x4822c0], edi
mov dword [0x4822bc], eax
jne 0x4075dd
mov ecx, 0x482cfc
call fcn.0041fa6a
push eax
call fcn.00420722
pop ecx
mov eax, dword [0x4822b8]
mov ecx, dword [0x4822bc]
mov dword [ecx + eax*4 - 4], esi
mov ecx, esi
call fcn.00409bd4
mov ecx, esi
call fcn.004083ef
test al, al
je 0x407642
mov eax, dword [0x4822c4]
cmp eax, edi
je 0x407642
mov ecx, dword [eax + 0x18]
cmp ecx, dword [esi + 0x18]
jne 0x407642
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [esi + 0x1c]
jne 0x407642
mov ecx, dword [eax + 0x20]
cmp ecx, dword [esi + 0x20]
jne 0x407642
lea ecx, [ebp - 0x10]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push edi
push edi
push 0x110
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
cmp dword [esi + 0x7c], edi
jle 0x407682
push ebx
lea ecx, [esi + 0x70]
call fcn.00421b62
cmp dword [eax + 0x10], 1
je 0x407670
inc ebx
cmp ebx, dword [esi + 0x7c]
jl 0x407659
jmp 0x407682
push ebx
lea ecx, [esi + 0x70]
call fcn.00421b62
push dword [eax + 0x50]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.004083ef
test al, al
je 0x40770a
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov ebx, eax
push edi
mov edi, dword [sym.imp.USER32.dll_DeleteMenu]
push 0xf120
push ebx
call edi
push 0
push 0xf020
push ebx
call edi
push 0
push 0xf030
push ebx
call edi
push 0
push 0xf000
push ebx
call edi
push 0x400
push 1
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
push 0x42f9e4
push 2
push 0x800
push ebx
call edi
push str.About...
push 1
push 0
push ebx
call edi
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.00408195
pop ecx
mov dword [0x482484], esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x407c81
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x50]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
push 0xfffffffffffffff0
push edi
sete byte [ebp - 1]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [ebp + 0xc]
mov ecx, eax
mov eax, 0x8000000
push 0
and ecx, eax
pop edi
cmp ecx, eax
mov al, byte [ebx + 0x10]
sete byte [ebp + 0xb]
and al, 1
mov byte [ebp + 0xf], al
mov eax, edi
je 0x407cce
mov eax, dword [esi + 0x1c]
jmp 0x407d11
cmp byte [ebp + 0xb], 0
je 0x407cdb
mov eax, dword [esi + 0x1c]
shl eax, 1
jmp 0x407d11
mov ecx, dword [ebx + 0x10]
and ecx, 0x40
cmp cl, 0x40
jne 0x407cf7
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*2 + 3]
cmp dword [esi + 0x64], edx
jle 0x407cf7
lea eax, [ecx + ecx*2]
jmp 0x407d11
cmp byte [ebp - 1], 0
je 0x407d11
mov ecx, dword [esi + 0x1c]
lea edx, [ecx*4 + 4]
cmp dword [esi + 0x64], edx
jle 0x407d11
mov eax, ecx
shl eax, 2
push 0xcc0020
push edi
push eax
push dword [esi + 0x5c]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edi
push edi
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
and byte [ebp - 0xf4], 0
push 0x31
pop ecx
xor eax, eax
lea edi, [ebp - 0xf3]
push 0xc8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xf4]
push eax
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, eax
push 1
test edi, edi
jle 0x407e38
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [ebp + 0xb], 0
je 0x407d7a
push 0xa0a0a0
jmp 0x407d7d
push dword [esi + 0x2c]
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xf4]
push edi
push eax
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 0
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, dword [esi + 0x1c]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
and dword [ebp - 0x18], 0
push 0x25
push eax
lea eax, [ebp - 0xf4]
push edi
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawTextA]
cmp byte [ebp - 1], 0
je 0x407e36
mov eax, dword [esi + 0x1c]
lea ecx, [eax*4 + 4]
cmp dword [esi + 0x64], ecx
jg 0x407e36
add dword [ebp - 0xc], 6
add dword [ebp - 8], 4
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar ecx, 1
mov edi, eax
mov eax, ecx
sar edi, 1
sub eax, edi
add edi, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x20]
cdq
sub eax, edx
mov dword [ebp - 0x24], edi
mov esi, eax
mov eax, dword [ebp - 8]
cdq
sar esi, 1
sub eax, edx
mov edx, esi
sar eax, 1
sub edx, eax
add eax, esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x28], edx
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40c3bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 8]
push edi
mov edi, ecx
push eax
push 0xa
push dword [edi + 4]
call fcn.004209fe
mov ecx, dword [ebp + 8]
add esp, 0xc
push dword [ebp - 8]
call fcn.0041ec53
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
xor ebx, ebx
mov dword [esi], eax
cmp byte [eax], bl
jne 0x40c400
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483008
jmp 0x40c5d2
push eax
call fcn.004280c0
cmp eax, 2
pop ecx
jb 0x40c5c8
mov ecx, dword [ebp - 8]
mov byte [ebp + 0xb], bl
mov al, byte [ecx]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 4], al
mov eax, dword [esi]
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], bl
cmp byte [eax], 0x5c
jne 0x40c4c4
cmp byte [eax + 1], 0x5c
jne 0x40c4c4
mov byte [ebp + 0xb], 1
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [ebp + 0xb]
neg cl
sbb ecx, ecx
and ecx, 2
cmp ecx, eax
jge 0x40c54f
mov esi, dword [ebp - 8]
mov dl, byte [ecx + esi]
cmp dl, 0x3a
jne 0x40c46c
cmp ecx, 1
jne 0x40c540
cmp dl, 0x7c
je 0x40c540
cmp dl, 0x2a
je 0x40c540
cmp dl, 0x2f
je 0x40c540
cmp dl, 0x3e
je 0x40c540
cmp dl, 0x3c
je 0x40c540
cmp dl, 0x3f
je 0x40c540
cmp dl, 0x22
je 0x40c540
cmp ecx, ebx
jle 0x40c4ba
cmp dl, 0x5c
jne 0x40c4ba
cmp byte [ecx + esi - 1], dl
je 0x40c531
inc ecx
cmp ecx, eax
jl 0x40c45b
jmp 0x40c54f
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, dword [ebp - 8]
cmp byte [ecx + 1], 0x3a
jne 0x40c5c8
mov dl, byte [ecx + 2]
cmp dl, 0x5c
je 0x40c4eb
cmp dl, bl
jne 0x40c5c8
cmp eax, 1
jne 0x40c4ff
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483020
jmp 0x40c5d2
cmp eax, 3
je 0x40c43f
cmp eax, 4
je 0x40c43f
cmp eax, 2
je 0x40c43f
cmp eax, ebx
je 0x40c43f
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x48302c
jmp 0x40c5d2
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483038
jmp 0x40c5d2
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483044
jmp 0x40c5d2
cmp byte [ebp + 0xb], bl
jne 0x40c5c4
lea eax, [ebp - 4]
push 1
push eax
call fcn.0040f156
cmp edx, dword [0x482a0c]
pop ecx
pop ecx
mov dword [0x482a00], eax
mov dword [0x482a04], edx
ja 0x40c5c4
jb 0x40c57e
cmp eax, dword [0x482a08]
jae 0x40c5c4
lea ecx, [ebp - 0x14]
call fcn.0041eab0
lea eax, [ebp - 4]
mov ecx, 0x483050
push eax
call fcn.0041fa6a
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041f193
mov edi, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp - 0x14]
push ebx
push ebx
call fcn.0041fa6a
push eax
push edi
mov ecx, 0x482320
call fcn.0041df8b
lea ecx, [ebp - 0x14]
call fcn.0041ebe6
jmp 0x40c5e3
mov al, 1
jmp 0x40c5e5
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483014
call fcn.0041fa6a
push eax
push edi
mov ecx, 0x482320
call fcn.0041df8b
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40c5ec
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x144]
push eax
call fcn.0041fa6a
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x40c6ba
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
xor ebx, ebx
test byte [ebp - 0x144], 0x10
je 0x40c69f
cmp byte [ebp - 0x118], 0x2e
je 0x40c69f
cmp byte [ebp - 0x118], bl
je 0x40c69f
push ebx
push ebx
push 0x18b
push 0xb
push dword [ebp + 8]
call esi
xor edi, edi
cmp eax, ebx
mov dword [ebp - 4], eax
jle 0x40c68b
lea eax, [ebp - 0x248]
mov byte [ebp - 0x248], bl
push eax
push edi
push 0x189
push 0xb
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40c69f
inc edi
cmp edi, dword [ebp - 4]
jl 0x40c653
lea eax, [ebp - 0x118]
push eax
push ebx
push 0x180
push 0xb
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c622
pop edi
pop esi
pop ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
leave
ret 8