joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2ecd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a2f05
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a0f72
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a0f4a
jmp 0x4a2f11
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a46c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a4709
call fcn.004aa8fd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a4709
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a4700
xor eax, eax
jmp 0x4a4711
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a4717
pop edi
pop esi
pop ebx
ret 4

Function at 0x4aae2d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4aae5b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aae79
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004aad93
jmp 0x4aae79
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4aae79
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004aad93
test edi, edi
mov eax, edi
jne 0x4aae63
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4402bb
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0044046b
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4403b9
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x44035c
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x44039f
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x440373
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x44038e
test al, 0x40
je 0x440385
mov ecx, dword [edi + 0x20]
jmp 0x44038c
test al, 0x80
je 0x44039f
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x44039f
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x44032b
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x409e40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x4c5d4c
call fcn.00403f10
mov dword [ebp - 8], eax
cmp dword [ebp - 0x18], 0
je 0x409e6e
mov eax, dword [ebp - 0x18]
add eax, 0x20
mov dword [ebp - 0x1c], eax
jmp 0x409e75
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00403ed0
cmp dword [ebp - 0x18], 0
je 0x409e92
mov edx, dword [ebp - 0x18]
add edx, 0x24
mov dword [ebp - 0x20], edx
jmp 0x409e99
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
call fcn.00403ef0
push 0x3ff
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00404060
mov ecx, eax
call fcn.00404010
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.0040a240
push 0x4a2d48
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.0040a340
push 0x4a2d58
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.0040a340
push 0x4a2d64
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.0040a340
call fcn.004047b0
mov ecx, eax
call fcn.0040a2b0
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 1
je 0x409f1f
cmp dword [ebp - 0x24], 2
je 0x409f2e
jmp 0x409f3d
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.0040a310
jmp 0x409f4a
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.0040a310
jmp 0x409f4a
push 2
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.0040a310
push 0
push 1
push 0x401
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00404060
mov ecx, eax
call fcn.00404010
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fe
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00404060
mov ecx, eax
call fcn.00404010
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
call fcn.0040a240
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0040a260
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
call fcn.00404040
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a370
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x40a38a
mov eax, dword [ebp - 0x40]
sub eax, 0x28
mov dword [ebp - 0x44], eax
jmp 0x40a391
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x40a41d
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00404060
mov ecx, eax
call fcn.00404010
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040a580
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40a40c
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.0040a4f0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jge 0x40a41b
mov dword [ebp - 4], 0
jmp 0x40a438
mov ecx, dword [ebp + 0xc]
call fcn.00405180
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0040a4c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40a453
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.0040a5d0
jmp 0x40a4b6
cmp dword [ebp + 0x14], 0
je 0x40a4b6
cmp dword [ebp + 0x18], 0
je 0x40a4b6
mov ecx, dword [ebp + 0xc]
call fcn.004072e0
cmp eax, dword [ebp + 0x1c]
jle 0x40a4b6
mov dword [ebp - 0x38], 1
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.004072e0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.0040a630
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x40e310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x4c437c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x514], ecx
mov dword [ebp - 0x50c], 0
mov eax, dword [0x4c599c]
mov edx, dword [eax]
mov ecx, dword [0x4c599c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x50c], eax
push 0x100
mov ecx, dword [ebp - 0x50c]
push ecx
lea edx, [ebp - 0x508]
push edx
call fcn.0046a790
add esp, 0xc
push 0x200
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x508]
push ecx
call fcn.00402a50
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.004050a0
lea edx, [ebp - 0x408]
push edx
push 0x4a3070
lea eax, [ebp - 4]
push eax
call fcn.00411bd0
add esp, 0xc
push 4
push 0x4a3078
lea ecx, [ebp - 4]
call fcn.00405180
push eax
mov ecx, dword [ebp - 0x514]
add ecx, 4
call fcn.0040f890
push 3
push 0
push 0
lea ecx, [ebp - 4]
call fcn.00405180
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x510], 0
lea ecx, [ebp - 4]
call fcn.00405100
mov eax, dword [ebp - 0x510]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046a1be
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40e680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push 0x128
call fcn.004047b0
mov ecx, eax
call fcn.004131e0
mov ecx, eax
call fcn.00405180
push eax
push 0x4a307c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4198b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x4c437c]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.00401030
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.0041c3a0
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.00419ba0
lea ecx, [ebp - 0x438]
call fcn.0041c7e0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.00419680
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41992e
call fcn.004192b0
mov dword [ebp - 0x444], eax
jmp 0x419a83
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x41995f
call fcn.004192b0
mov dword [ebp - 0x444], eax
jmp 0x419a83
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x41998f
call fcn.004192b0
mov dword [ebp - 0x444], eax
jmp 0x419a83
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x4199df
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.0041c800
lea ecx, [ebp - 0x2c]
call fcn.0041c3c0
mov eax, dword [ebp - 0x44c]
jmp 0x419ab8
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.0041c830
lea ecx, [ebp - 0x438]
call fcn.0041c820
test eax, eax
jne 0x419a0c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x419a83
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0041c820
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.00401030
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x419a4e
call fcn.004192b0
mov dword [ebp - 0x444], eax
jmp 0x419a83
lea ecx, [ebp - 0x438]
call fcn.0041c820
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.0041c820
push eax
lea ecx, [ebp - 0x18]
call fcn.00419bd0
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x419a93
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.0041c800
lea ecx, [ebp - 0x2c]
call fcn.0041c3c0
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0046a1be
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41b400
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4c437c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0041b1c0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041b3a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41b46b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0041b1f0
mov eax, dword [ebp - 0x224]
jmp 0x41b4fc
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41b4d1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041b400
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41b4c8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0041b1f0
mov eax, dword [ebp - 0x228]
jmp 0x41b4fc
mov dword [ebp - 4], 0x100
jmp 0x41b472
lea ecx, [ebp - 0x14]
call fcn.0041b2e0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0041b280
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0041b1f0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046a1be
mov esp, ebp
pop ebp
ret 4
Function at 0x41ba60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x41ba69
xor ecx, ecx
jne 0x41ba69
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x41ba8a
mov eax, 0xd
jmp 0x41bae5
xor eax, eax
jne 0x41ba71
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x41ba9b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x41e600
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x41e61a
mov eax, dword [ebp - 0x40]
sub eax, 0x28
mov dword [ebp - 0x44], eax
jmp 0x41e621
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x41e6ad
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00404060
mov ecx, eax
call fcn.00404010
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040a580
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41e69c
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.0040a4f0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jge 0x41e6ab
mov dword [ebp - 4], 0
jmp 0x41e6c8
mov ecx, dword [ebp + 0xc]
call fcn.00405180
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0040a4c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41e6e3
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.0041e750
jmp 0x41e746
cmp dword [ebp + 0x14], 0
je 0x41e746
cmp dword [ebp + 0x18], 0
je 0x41e746
mov ecx, dword [ebp + 0xc]
call fcn.004072e0
cmp eax, dword [ebp + 0x1c]
jle 0x41e746
mov dword [ebp - 0x38], 1
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.004072e0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.0041e7b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x420030
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x42004a
mov eax, dword [ebp - 0x40]
sub eax, 0x28
mov dword [ebp - 0x44], eax
jmp 0x420051
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x4200dd
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00404060
mov ecx, eax
call fcn.00404010
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040a580
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4200cc
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.0040a4f0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jge 0x4200db
mov dword [ebp - 4], 0
jmp 0x4200f8
mov ecx, dword [ebp + 0xc]
call fcn.00405180
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0040a4c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420113
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.00420220
jmp 0x420176
cmp dword [ebp + 0x14], 0
je 0x420176
cmp dword [ebp + 0x18], 0
je 0x420176
mov ecx, dword [ebp + 0xc]
call fcn.004072e0
cmp eax, dword [ebp + 0x1c]
jle 0x420176
mov dword [ebp - 0x38], 1
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.004072e0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.00420280
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4224f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4c670c], 0
mov dword [0x4c66fc], 0
mov dword [0x4c6704], 0
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4c670c], eax
cmp dword [0x4c670c], 0
jne 0x422533
jmp 0x4225bd
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4c66fc], eax
cmp dword [0x4c66fc], 0
jne 0x422551
jmp 0x4225bd
mov eax, dword [0x4c2ca0]
push eax
call fcn.0046bc89
add esp, 4
mov dword [0x4c6704], eax
cmp dword [0x4c6704], 0
jne 0x422577
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4225bd
mov dword [0x4c6700], 0
mov dword [0x4c6710], 0
push 0
push 0
push 0x422620
call fcn.0046cc01
add esp, 0xc
mov dword [0x4c6708], eax
cmp dword [0x4c6708], 0xffffffff
jne 0x4225ac
jmp 0x4225bd
mov dword [0x4c671c], 1
mov eax, 1
jmp 0x422615
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [0x4c670c], 0
je 0x4225dc
mov ecx, dword [0x4c670c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4c66fc], 0
je 0x4225f2
mov edx, dword [0x4c66fc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4c6704], 0
je 0x422609
mov eax, dword [0x4c6704]
push eax
call fcn.0046a248
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x425040
Capabilities:
Get disk information

Disassembly:
sub esp, 0x10
mov eax, dword [0x4c437c]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x41
mov word [esp + 4], ax
mov edx, 0x3a
mov word [esp + 6], dx
xor edx, edx
push edx
push edx
mov eax, 0x5c
mov word [esp + 0x10], ax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x28]
push edx
push edx
mov word [esp + 0x1e], dx
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0046a1be
add esp, 0x10
ret

Function at 0x425d00
Capabilities:
Get disk information

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, 0x19
jmp 0x425d10
mov edx, 1
shl edx, cl
test eax, edx
je 0x425d25
dec ecx
cmp ecx, 2
jg 0x425d10
or eax, 0xffffffff
ret
mov eax, ecx
ret