joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ax, word [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, 0x13da
cmp ax, cx
jne 0x475ed5
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x8c]
push eax
call fcn.00406330
add esp, 4
mov dword [edi + 0x48], eax
mov eax, 1
pop edi
pop ebp
ret 0xc
cmp ax, 2
jne 0x475f28
cmp dword [edi + 0x4c], 0
je 0x475f04
push dword [edi + 0x10]
push str.EXPAND_CANCEL_WARNING
call fcn.004194f0
add esp, 8
cmp eax, 7
je 0x475fd6
mov dword [0x57c0b0], 1
push 0xff
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 0xf4]
mov eax, 1
pop edi
pop ebp
ret 0xc
cmp ax, 1
jne 0x475fd6
push 0xff
push dword [edi + 0x10]
mov dword [edi + 0x48], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi]
mov ecx, edi
push 0
push 1
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x13da
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push str.EXPAND_STARTTING_EXPAND
call fcn.004bb8b0
push eax
push dword [edi + 0x10]
call fcn.00477420
mov dword [edi + 0x4c], 1
mov dword [0x57c0b0], 0
mov ecx, dword [edi + 0x50]
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x38], eax
push dword [edi + 0x50]
push 0
push 0x4a2dd0
call fcn.004f1e00
add esp, 0x18
cmp eax, 0xffffffff
jne 0x475fd1
push 1
push dword [edi + 0x10]
call fcn.00417830
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push 1
call dword [eax + 0xf4]
call fcn.00421850
mov eax, 1
pop edi
pop ebp
ret 0xc
Function at 0x4770f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
push 0x540
mov eax, dword [ebx]
call dword [eax + 0x8c]
push eax
call fcn.00406330
mov ecx, dword [ebx + 0x24]
add esp, 4
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x28], 0
jne 0x477248
push 0x1000
lea eax, [ebp - 0x2004]
mov ecx, ebx
push eax
mov eax, dword [ebx]
push 0x536
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebx + 0x10]
call fcn.00476e80
mov edi, eax
mov esi, edx
lea eax, [ebp - 0x2004]
push eax
call fcn.004ed38b
add esp, 8
push edx
push eax
push esi
push edi
call fcn.004e2b40
mov ecx, dword [ebx + 0x24]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebx + 0x24]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
add ecx, 0x10000
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 8]
adc eax, 0
cmp edi, eax
ja 0x4771df
jb 0x4771a5
cmp esi, ecx
jae 0x4771df
push 0
push 0x40
push str.EXPAND_SIZE_SMALL
call fcn.004bb8b0
add esp, 4
push eax
lea eax, [ebp - 0x2004]
push 0x1000
push eax
call fcn.00405500
push dword [ebx + 0x10]
lea eax, [ebp - 0x2004]
push eax
call fcn.00419c80
add esp, 0x1c
jmp 0x47729d
mov ecx, esi
mov eax, edi
sub ecx, dword [edx]
sbb eax, dword [edx + 4]
cmp eax, dword [edx + 0x14]
jb 0x477209
ja 0x4771f4
cmp ecx, dword [edx + 0x10]
jbe 0x477209
push dword [ebx + 0x10]
push str.EXPAND_SIZE_NO_SPACE
call fcn.00419c20
add esp, 8
jmp 0x47729d
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x18]
cmp edi, eax
jb 0x477229
ja 0x477219
cmp esi, ecx
jbe 0x477229
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push str.EXPAND_SIZE_THAN_MAX_FS
jmp 0x4771ae
cmp edi, 0x40000
jb 0x477291
ja 0x477237
test esi, esi
je 0x477291
push 0
push 0x400
push str.EXPAND_SIZE_THAN_MAX
jmp 0x4771ae
cmp dword [eax + 0xc], 0x40000
jb 0x477291
ja 0x477259
cmp dword [eax + 8], 0
jbe 0x477291
push 0
push 0x400
push str.EXPAND_SIZE_THAN_MAX
call fcn.004bb8b0
add esp, 4
push eax
lea eax, [ebp - 0x2004]
push 0x1000
push eax
call fcn.00405500
push dword [ebx + 0x10]
lea eax, [ebp - 0x2004]
push eax
call fcn.00419c80
add esp, 0x1c
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0xf4]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x47b2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x2a3
jne 0x47b32c
cmp dword [ecx + 0x14], 0
je 0x47b323
push 2
push 0xc8
push 0
push dword [ecx + 0x10]
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, 1
pop ebp
ret 0xc
cmp eax, 0x2a1
jne 0x47b35b
cmp dword [ecx + 0x14], 0
jne 0x47b323
push 2
push 0xff
push 0
push dword [ecx + 0x10]
mov dword [ecx + 0x14], 1
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, 1
pop ebp
ret 0xc
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00424c20
Function at 0x47b990
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
cmp dword [0x575108], edi
jne 0x47b9ab
cmp dword [0x575114], edi
je 0x47bac9
mov esi, dword [0x55bae4]
cmp esi, 0xffffffff
jne 0x47b9bd
call fcn.00427e60
mov esi, eax
cmp dword [0x57f7bc], edi
je 0x47b9fe
cmp dword [0x568600], edi
jne 0x47b9e5
cmp dword [0x58d384], edi
jne 0x47b9e5
call fcn.004cb060
test eax, eax
je 0x47b9e5
mov eax, 1
jmp 0x47b9e7
xor eax, eax
push eax
push esi
push dword [ebx + 0x10]
call fcn.004cf9e0
add esp, 0xc
test eax, eax
mov eax, 1
cmove edi, eax
cmp dword [0x57f7c0], 0
je 0x47ba21
push 0
push dword [0x57f7b8]
call fcn.004d0930
add esp, 8
test eax, eax
mov eax, 1
cmove edi, eax
cmp dword [0x575114], 0
je 0x47bac9
push 0x575118
call fcn.00429ee0
add esp, 4
test eax, eax
je 0x47ba6e
cmp dword [0x57f79c], 0
je 0x47ba5d
push 0x575118
call fcn.00428c00
push eax
call fcn.00416d60
add esp, 8
jmp 0x47baaa
push 0
push str.ERR_VOL_ALREADY_MOUNTED
call fcn.00419c20
add esp, 8
jmp 0x47baaa
cmp esi, 0xffffffff
je 0x47ba8d
push esi
call fcn.004cf8d0
add esp, 4
test eax, eax
jne 0x47ba8d
or eax, 0xffffffff
cmp dword [0x57591c], 0
cmovne esi, eax
push 0
push 0x575118
push esi
push dword [ebx + 0x10]
call fcn.004cf910
add esp, 0x10
test eax, eax
mov eax, 1
cmove edi, eax
push 0x575118
call fcn.00428c00
mov ecx, dword [0x55e048]
add esp, 4
cmp eax, 0xffffffff
cmovne ecx, eax
mov dword [0x55e048], ecx
cmp dword [0x575998], 0
je 0x47badf
push dword [0x568600]
mov ecx, ebx
call fcn.00483bc0
cmp dword [0x58d388], 0
je 0x47bb12
mov eax, 0x58d388
mov ecx, 0x48
mov esi, ecx
mov edx, eax
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x47baf6
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x47bb01
mov dword [0x58d388], ecx
cmp dword [0x58d3d0], 0
je 0x47bb48
push 0x58d3d0
call fcn.004b9bc0
add esp, 4
cmp dword [0x57e22c], 0
je 0x47bb3e
push 0x57e22c
call fcn.004b9bc0
add esp, 4
mov dword [0x57e228], 0
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x47bb50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
push 0x3ef
mov eax, dword [ebx]
mov dword [ebp - 0xc], ebx
call dword [eax + 0x8c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 0
push 0
push 0x101c
push esi
call edi
test eax, eax
jne 0x47bb73
push 0x8000
push 0x2b
push str.DRIVE
push eax
push esi
call fcn.004063a0
push 0
push 0xee
push str.VOLUME
push 1
push esi
call fcn.004063a0
push 1
push 0x41
push str.SIZE
push 2
push esi
call fcn.004063a0
push 0
push 0x79
push str.ENCRYPTION_ALGORITHM_LV
push 3
push esi
call fcn.004063a0
add esp, 0x50
push 0
push 0x34
push str.TYPE
push 4
push esi
call fcn.004063a0
add esp, 0x14
cmp dword [0x55baf0], 0
je 0x47bce7
push 2
push 2
push 0x20
push 0x10
push 0x10
mov dword [0x55baf0], 0
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0x385
push dword [0x568608]
mov ebx, eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 8], eax
test eax, eax
je 0x47bd30
push eax
push 0xffffffffffffffff
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 8]
cmp eax, 0xffffffff
jne 0x47bc4a
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push 0x386
push dword [0x568608]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 8], eax
test eax, eax
je 0x47bd30
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 8]
cmp eax, 0xffffffff
jne 0x47bc8b
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
push 0x386
push dword [0x568608]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 8], eax
test eax, eax
je 0x47bd30
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 8]
cmp eax, 0xffffffff
je 0x47bc82
call ebx
mov ebx, dword [ebp - 4]
push ebx
push 0
push 0x1003
push esi
call edi
push ebx
push 1
push 0x1003
push esi
call edi
push 0x30
push 0
push 0x1036
push esi
call edi
mov ebx, dword [ebp - 0xc]
push 1
push 0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00482420
push dword [0x55e048]
mov ecx, ebx
call fcn.0047dd90
push eax
push esi
call fcn.00406850
add esp, 8
push 3
push 0
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47bd40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
jne 0x47bdcb
push dword [edi + 0x10]
mov dword [edi + 0x838], 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [edi]
mov ecx, edi
push 3
push 0
push 0
push 0
push 0
push 1
push 0x3ef
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi]
mov ecx, edi
push 1
push 0
push 0x3ef
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 5
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 9
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov ecx, edi
push 0x3ef
call dword [eax + 0x8c]
pop edi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [edi + 0x10]
mov dword [edi + 0x838], 1
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
ret 4
Function at 0x47be90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push esi
call fcn.0047c4d0
mov dword [0x55bae0], eax
test eax, eax
je 0x47beb5
call fcn.004cbb40
call fcn.004ba340
jmp 0x47bedd
push 0
push str.SaveVolumeHistory
mov dword [0x57f7e8], 1
mov dword [0x55932c], 1
call fcn.00405640
add esp, 8
mov dword [0x559304], eax
push esi
mov ecx, ebx
call fcn.0047cb90
cmp word [0x57ec70], 0
je 0x47bef4
call fcn.004c4980
cmp dword [0x559304], 0
je 0x47bf10
cmp dword [0x55baec], 0
mov dword [0x559304], 1
jne 0x47bf1a
mov dword [0x559304], 0
cmp dword [0x575924], 0
push edi
je 0x47bf38
mov ecx, 0x1c
mov esi, 0x575928
mov edi, 0x57f7e0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov eax, dword [0x575110]
test eax, eax
je 0x47bf5c
cmp eax, 2
jne 0x47bf58
push 0x51a1b0
push esi
call fcn.0042c560
add esp, 8
test eax, eax
jne 0x47bf5c
xor edi, edi
jmp 0x47bf68
mov ecx, ebx
mov edi, 1
call fcn.0047c3e0
push dword [ebx + 0x10]
call fcn.004ccab0
add esp, 4
mov ecx, ebx
call fcn.004840f0
call fcn.004a3750
mov ecx, ebx
mov dword [0x57f7dc], 1
call fcn.0047b990
mov ecx, ebx
mov dword [0x57f7dc], 0
call fcn.0047b900
cmp dword [0x575998], 0
mov esi, eax
je 0x47bfb9
push dword [0x568600]
mov ecx, ebx
call fcn.00483bc0
cmp dword [ebx + 0x24], 0
je 0x47bfc6
mov ecx, ebx
call fcn.004841e0
cmp dword [0x575114], 0
je 0x47bfef
cmp dword [0x559304], 0
je 0x47bfef
call fcn.00418ac0
push 0x575118
call fcn.00418660
add esp, 4
call fcn.00418a40
cmp dword [0x57510c], 0
je 0x47c016
cmp dword [0x57f7a8], 0
je 0x47c07a
mov ecx, ebx
mov dword [ebx + 0x838], 1
call fcn.00482130
test eax, eax
jne 0x47c080
test edi, edi
pop edi
jne 0x47c024
cmp dword [0x575114], 0
je 0x47c02f
mov ecx, ebx
call fcn.00481ee0
test eax, eax
jne 0x47c086
cmp dword [0x57f7a8], 0
je 0x47c04c
push dword [ebx + 0x10]
call fcn.004ce3a0
add esp, 4
call fcn.00419e70
test eax, eax
je 0x47c08d
pop esi
mov dword [0x568600], 0
mov dword [0x58d3d8], 0
mov dword [0x58d3d4], 0
mov dword [0x55bae0], 1
pop ebx
pop ebp
ret 4
push esi
call fcn.004f7120
push esi
call fcn.004f7120
push 0
call fcn.004f7120
mov ecx, ebx
call fcn.00481ee0
push esi
call fcn.004f7120
int3
Function at 0x47c160
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xd1dc
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x58e8c0]
push esi
push edi
mov edi, ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x57647c]
cmp eax, dword [edx + 4]
jle 0x47c1c4
push 0x57647c
call fcn.004e25b0
add esp, 4
cmp dword [0x57647c], 0xffffffff
jne 0x47c1c4
mov eax, dword [0x55e020]
push 0x57647c
mov dword [0x576478], eax
call fcn.004e2571
add esp, 4
lea eax, [ebp - 0xd1dc]
push eax
call fcn.00428bc0
mov eax, dword [ebp - 0xd1dc]
add esp, 4
cmp eax, dword [0x576480]
jne 0x47c1ee
mov eax, dword [0x55e020]
cmp eax, dword [0x576478]
je 0x47c250
call fcn.004ce1a0
test eax, eax
je 0x47c250
mov eax, dword [ebp - 0xd1dc]
mov ecx, dword [0x55e020]
mov dword [0x576480], eax
mov dword [0x576478], ecx
test eax, eax
je 0x47c21b
mov eax, 0x384
test ecx, ecx
jne 0x47c220
mov eax, 0x1f5
push eax
push dword [edi + 0x10]
call fcn.004ce2b0
add esp, 8
cmp dword [ebp - 0xd1dc], 0
je 0x47c245
cmp dword [0x55e020], 0
je 0x47c245
mov eax, 1
jmp 0x47c247
xor eax, eax
push eax
call fcn.0047afe0
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
cmp dword [0x58d380], eax
jne 0x47c29e
mov ecx, 0x5801a8
lea edx, [ebp - 0xd1dc]
mov esi, 0xd1d4
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x47c29e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x47c270
push dword [edi + 0x10]
call fcn.004ccce0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 4
call fcn.00421850
push 0
push 0xffffffffffffffff
push 0x80cb
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00421690
mov esi, dword [ebp + 8]
cmp esi, 0xfffffffe
je 0x47c281
call fcn.00428e80
movsx eax, al
sub eax, 0x41
cmp esi, eax
je 0x47c281
cmp esi, 0xffffffff
je 0x47c281
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [ebp - 0xd1dc], eax
jne 0x47c281
push esi
call fcn.00429be0
add esp, 4
test eax, eax
jne 0x47c281
push eax
push eax
mov dword [edi + 0x840], 0xffffffff
push 0x80cc
mov dword [0x55e048], 0xffffffff
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 4
Function at 0x47c680
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x864
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ebx, ecx
call esi
cmp eax, dword [0x576200]
jbe 0x47c6ba
call esi
sub eax, dword [0x576200]
cmp eax, 0xea60
jb 0x47c842
push edi
call esi
mov dword [0x576200], eax
xor esi, esi
mov edi, 1
nop dword [eax]
test dword [0x5801a8], edi
je 0x47c835
lea eax, [ebp - 0x860]
push eax
push esi
call fcn.00429680
add esp, 8
test eax, eax
je 0x47c835
mov eax, dword [ebp - 0x2a]
cmp dword [esi*8 + 0x5762d8], eax
mov eax, dword [ebp - 0x1e]
mov ecx, dword [ebp - 0x22]
mov edx, dword [ebp - 0x26]
jne 0x47c7fb
cmp dword [esi*8 + 0x5762dc], edx
jne 0x47c7fb
cmp dword [esi*8 + 0x5763a8], ecx
jne 0x47c7fb
cmp dword [esi*8 + 0x5763ac], eax
jne 0x47c7fb
mov edx, dword [ebp - 0x85c]
cmp dword [esi*4 + 0x576208], edx
mov edx, dword [ebp - 0x26]
jne 0x47c7fb
inc dword [esi*4 + 0x576270]
mov eax, dword [esi*4 + 0x576270]
cmp eax, dword [0x55e040]
jl 0x47c835
push 0
push esi
push 0x8003
call fcn.004ca970
add esp, 0xc
cmp dword [0x55e024], 0
je 0x47c799
push esi
call fcn.00415b70
add esp, 4
test eax, eax
je 0x47c799
mov eax, dword [ebx]
mov ecx, ebx
push 0xfa
call dword [eax + 0xd0]
push dword [0x55e034]
push esi
push dword [ebx + 0x10]
call fcn.004cab40
add esp, 0xc
test eax, eax
jne 0x47c835
push eax
push esi
push 0x8004
mov dword [esi*4 + 0x576270], eax
call fcn.004ca970
add esp, 0xc
cmp dword [0x55e028], 0
je 0x47c835
push 0
lea eax, [ebp - 0x864]
push eax
push 0
push 0
push 0
push 0
push 0x222030
push dword [0x559328]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
call fcn.004c2be0
jmp 0x47c835
mov eax, dword [ebp - 0x2a]
mov dword [esi*8 + 0x5762d8], eax
mov eax, dword [ebp - 0x1e]
mov dword [esi*8 + 0x5763ac], eax
mov eax, dword [ebp - 0x85c]
mov dword [esi*4 + 0x576270], 0
mov dword [esi*8 + 0x5762dc], edx
mov dword [esi*8 + 0x5763a8], ecx
mov dword [esi*4 + 0x576208], eax
inc esi
rol edi, 1
cmp esi, 0x1a
jl 0x47c6d0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x47e210
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0x40a
mov eax, dword [esi]
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push eax
call fcn.0042a830
lea ecx, [ebp - 0x808]
add esp, 4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47e260
sub ecx, edx
sar ecx, 1
jne 0x47e292
push dword [esi + 0x10]
push str.NO_VOLUME_SELECTED
call fcn.00419c20
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x808]
push eax
call fcn.0042ad90
add esp, 4
test eax, eax
jne 0x47e2c6
push dword [esi + 0x10]
push str.INVALID_PATH
call fcn.00419c20
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 0xc
push edi
lea eax, [ebp - 0x808]
mov ecx, esi
push eax
mov eax, dword [esi]
push 0x40a
call dword [eax + 0x8c]
push eax
call fcn.00418340
add esp, 8
mov ecx, esi
call fcn.0047c880
or edi, 0xffffffff
cmp dword [ebp + 0xc], 0
jne 0x47e36d
mov eax, dword [esi + 0x840]
test eax, eax
js 0x47e31d
push eax
mov eax, dword [esi]
mov ecx, esi
push 0x3ef
call dword [eax + 0x8c]
push eax
call fcn.00406350
add esp, 8
mov edi, eax
jmp 0x47e320
or edi, 0xffffffff
mov eax, dword [esi + 0x840]
shr edi, 0x10
test eax, eax
js 0x47e34b
push eax
mov eax, dword [esi]
mov ecx, esi
push 0x3ef
call dword [eax + 0x8c]
push eax
call fcn.00406350
add esp, 8
test ax, ax
je 0x47e36d
push dword [esi + 0x10]
push str.SELECT_FREE_DRIVE
call fcn.00419c20
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 0xc
push edi
mov ecx, esi
call fcn.0047c160
test eax, eax
je 0x47e406
cmp dword [ebp + 0x10], 0
jne 0x47e3b5
cmp dword [ebp + 8], 0
jne 0x47e39a
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x47e39a
xor eax, eax
jmp 0x47e39f
mov eax, 1
push eax
lea eax, [ebp - 0x808]
push eax
push edi
push dword [esi + 0x10]
call fcn.004cf910
add esp, 0x10
jmp 0x47e3e0
push 0
lea eax, [ebp - 0x808]
push eax
push dword [esi + 0x10]
call fcn.004ccb60
add esp, 0xc
test eax, eax
je 0x47e41c
lea eax, [ebp - 0x808]
push eax
push edi
push dword [esi + 0x10]
call fcn.004d1280
add esp, 0xc
test eax, eax
je 0x47e406
cmp dword [0x55e044], 0
je 0x47e3ff
push str.MOUNTED_VOLUMES_MOUNTED
push str.SUCCESSFULLY_MOUNTED
call fcn.004ce1b0
add esp, 8
mov ecx, esi
call fcn.0047c880
mov eax, dword [esi]
mov ecx, esi
push 0x3ef
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47e5f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.00405570
push 0
push str.SaveVolumeHistory
call fcn.00405640
mov ecx, eax
add esp, 8
mov dword [0x559304], ecx
test ecx, ecx
jne 0x47e631
call fcn.004188c0
mov ecx, dword [0x559304]
xor eax, eax
test ecx, ecx
mov ecx, esi
sete al
push eax
mov eax, dword [esi]
push 0x3ee
call dword [eax + 0x8c]
push eax
call fcn.00405b70
add esp, 8
lea eax, [ebp - 0x808]
mov ecx, esi
push 0x400
push eax
mov eax, dword [esi]
push 0x40a
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.00418ac0
lea eax, [ebp - 0x808]
mov ecx, esi
push eax
mov eax, dword [esi]
push 0x40a
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 8
Function at 0x47efc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0x40a
mov eax, dword [esi]
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push eax
call fcn.0042a830
lea ecx, [ebp - 0x808]
add esp, 4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f010
sub ecx, edx
sar ecx, 1
jne 0x47f040
push dword [esi + 0x10]
push str.NO_VOLUME_SELECTED
call fcn.00419c20
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x808]
push eax
call fcn.0042ad90
add esp, 4
test eax, eax
jne 0x47f072
push dword [esi + 0x10]
push str.INVALID_PATH
call fcn.00419c20
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x808]
mov ecx, esi
push eax
mov eax, dword [esi]
push 0x40a
call dword [eax + 0x8c]
push eax
call fcn.00418340
add esp, 8
mov ecx, esi
call fcn.0047c880
call fcn.00416ae0
test eax, eax
je 0x47f0d7
lea eax, [ebp - 0x808]
push eax
call fcn.00429b60
add esp, 4
test eax, eax
je 0x47f0d7
push 1
lea eax, [ebp - 0x808]
push eax
push dword [esi + 0x10]
call fcn.004a5190
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 0x808]
push eax
push dword [esi + 0x10]
call fcn.004d1e60
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret