joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43dd30
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0xa68
push ebx
push esi
mov esi, dword [esp + 0xa74]
mov ebx, ecx
mov dword [esp + 0x10], ebx
test esi, esi
je 0x43df21
cmp word [esi], 0
je 0x43df21
push str.List
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x43dd71
lea esi, [eax + 1]
jmp 0x43df23
push str.FileSystem
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x43df1a
push 0x4c55e0
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x43df1a
push str.Label
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x43ddb7
lea esi, [eax + 3]
jmp 0x43df23
push 9
push str.SetLabel:
push esi
call fcn.00491336
add esp, 0xc
test eax, eax
je 0x43de7a
push str.Serial
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x43dde9
lea esi, [eax + 5]
jmp 0x43df23
push str.Type
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x43de03
lea esi, [eax + 6]
jmp 0x43df23
push str.Status
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x43de1d
lea esi, [eax + 7]
jmp 0x43df23
push str.StatusCD
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x43de37
lea esi, [eax + 8]
jmp 0x43df23
push str.Capacity
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x43de5f
push 0x4c5644
push esi
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x43df21
push 0
push dword [esp + 0xa7c]
mov ecx, ebx
call fcn.0043d800
pop esi
pop ebx
add esp, 0xa68
ret 8
push 0x103
push dword [esp + 0xa7c]
lea eax, [esp + 0x6c]
push eax
call fcn.00497e59
add esp, 0xc
lea ecx, [esp + 0x64]
xor eax, eax
lea edx, [ecx + 2]
mov word [esp + 0x26a], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43dea4
sub ecx, edx
sar ecx, 1
je 0x43dec7
cmp word [esp + ecx*2 + 0x62], 0x5c
je 0x43dec7
mov eax, 0x5c
mov word [esp + ecx*2 + 0x64], ax
lea eax, [esi + 0x12]
nop word [eax + eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43dedd
cmp ecx, 9
jne 0x43dee2
add eax, 2
jmp 0x43ded0
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 1
test eax, eax
mov edx, 0x4bf994
push 0
mov ecx, 0x4ac300
cmove ecx, edx
push 0xffffffffffffffff
push ecx
mov ecx, dword [0x4d166c]
call fcn.00475930
pop esi
pop ebx
add esp, 0xa68
ret 8
mov esi, 2
jmp 0x43df23
xor esi, esi
push ebp
mov ebp, dword [0x4d3d98]
mov ecx, ebp
push edi
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.00475930
jmp dword [esi*4 + 0x43e3a0]
Function at 0x43f910
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x218
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x43f97b
cmp byte [0x4d49ac], al
je 0x43fa2b
mov eax, dword [0x4ce8c8]
cmp byte [eax + 0x108], 0
jne 0x43f95c
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf994
call fcn.00475930
pop esi
add esp, 0x218
ret
mov ecx, dword [0x4d4510]
push 0x4ac22c
push 0
push 0x4bf994
call fcn.0042cf00
pop esi
add esp, 0x218
ret
cmp byte [0x4d49ac], 0
lea eax, [esp + 0x14]
push edi
mov edi, 0x4d1460
cmove edi, eax
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x43f9f3
cmp word [esi], 0
je 0x43fa0b
cmp word [esi + 2], 0x3a
jne 0x43fa0b
cmp word [esi + 4], 0
jne 0x43fa0b
push edi
push esi
call fcn.0048f253
add esp, 8
test eax, eax
je 0x43fa0b
push esi
lea eax, [esp + 0xc]
push 0x4c696c
push eax
call fcn.004053a0
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x43fa0b
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x43fa0b
push 0x103
push esi
push edi
call fcn.00497e59
add esp, 0xc
xor eax, eax
mov word [edi + 0x206], ax
cmp byte [0x4d49ac], 0
pop edi
je 0x43fa2b
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4ac300
call fcn.00475930
pop esi
add esp, 0x218
ret
Function at 0x4400b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
je 0x4401ee
cmp word [edi], 0
je 0x4401ee
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44010a
mov ecx, dword [0x4ce8c8]
shr eax, 4
not al
and al, 1
movzx eax, al
mov dword [ecx + 0x30], 0xb7
mov ecx, ebx
push eax
call fcn.0042cfe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5c
push edi
call fcn.0048ca9c
mov edx, eax
add esp, 8
mov dword [esp + 0xc], edx
cmp edx, edi
jbe 0x4401bb
mov ecx, edi
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440130
sub ecx, esi
sar ecx, 1
cmp ecx, 0x104
jb 0x440165
mov eax, dword [0x4ce8c8]
mov ecx, ebx
push 1
mov dword [eax + 0x30], 0x6f
call fcn.0042cfe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, edx
lea eax, [esp + 0x10]
sub esi, edi
sar esi, 1
push esi
push edi
push eax
call fcn.00497e59
xor eax, eax
add esp, 0xc
mov word [esp + esi*2 + 0x10], ax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.004400b0
mov eax, dword [esp + 0xc]
cmp word [eax + 2], 0
je 0x4401ad
mov ecx, dword [0x4d166c]
push 0
push 1
call fcn.00401c20
cmp word [eax], 0x31
jne 0x4401bb
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete byte [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ce8c8]
push dword [esp + 0xc]
mov dword [ecx + 0x30], eax
mov ecx, ebx
call fcn.0042cfe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4ce8c8]
push 1
mov dword [eax + 0x30], 0x57
call fcn.0042cfe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440d20
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
test edi, edi
je 0x440de8
cmp byte [edi + 0x17], 0
jne 0x440d42
mov esi, dword [edi + 0xc]
jmp 0x440d44
mov esi, edi
test byte [esi + 0x15], 8
je 0x440d51
mov ecx, esi
call fcn.00401b40
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x440d69
test byte [esi + 0x15], 4
je 0x440d64
push esi
call fcn.0042db20
mov esi, dword [esi + 8]
jmp 0x440db7
cmp al, 2
jne 0x440db2
mov esi, dword [0x4d3e90]
test esi, esi
jne 0x440db7
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x440d9a
push 0xf
call esi
test eax, eax
mov esi, 0x4ac220
mov ecx, 0x4ac22c
cmove esi, ecx
jmp 0x440db7
push 0
call fcn.004053d0
cmp eax, 0xffffffff
mov esi, 0x4ac22c
cmovne esi, dword [0x4d3e8c]
jmp 0x440db7
mov esi, 0x4d3e58
cmp byte [edi + 0x17], 0
jne 0x440dc2
mov ebx, dword [edi + 0xc]
jmp 0x440dc4
mov ebx, edi
cmp byte [ebx + 0x17], 1
jne 0x440ddf
test byte [ebx + 0x15], 8
je 0x440dd7
mov ecx, ebx
call fcn.00401b40
mov ebp, dword [ebx + 0xc]
add ebx, 0xc
jmp 0x440e1f
mov ebx, 0x4d5644
mov ebp, dword [ebx]
jmp 0x440e1f
lea eax, [esp + 0x10]
xor ecx, ecx
push eax
lea edx, [esp + 0x24]
call fcn.00475360
add esp, 4
test eax, eax
jne 0x440e17
mov eax, dword [0x4ce8c8]
pop edi
pop esi
pop ebp
mov dword [eax + 0x30], 0
xor eax, eax
pop ebx
add esp, 8
ret 8
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0x20], 1
cmp ebx, 0xffffffff
je 0x440e6f
xor eax, eax
mov dword [esp + 0x20], eax
test esi, esi
je 0x440e64
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp eax, ebp
setne cl
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ce8c8]
mov dword [ecx + 0x30], eax
cmp ebx, 0xffffffff
je 0x440e8a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x440e97
push esi
call fcn.004914e4
add esp, 4
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
call fcn.0042cfe0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x441120
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x21c]
push edi
mov edi, ecx
mov ecx, esi
call fcn.0040ded0
test al, al
je 0x44114b
push 0x10
push 0
push esi
call fcn.00492e76
add esp, 0xc
jmp 0x441154
push esi
call fcn.00492a15
add esp, 4
mov esi, dword [esp + 0x21c]
cmp eax, 1
je 0x4411b8
mov ecx, esi
call fcn.004537a0
test al, al
je 0x4411b8
mov eax, dword [0x4ce8c8]
cmp byte [eax + 0x108], 0
jne 0x44119a
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf994
call fcn.00475930
pop edi
pop esi
add esp, 0x20c
ret 0xc
push 0x4ac22c
push 0
push 0x4bf994
mov ecx, edi
call fcn.0042cf00
pop edi
pop esi
add esp, 0x20c
ret 0xc
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44116b
mov edx, dword [esp + 0x218]
mov ecx, edx
push ebx
push ebp
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4411e3
sub ecx, ebx
mov eax, 0x103
sar ecx, 1
cmp ecx, 0x104
cmovae ecx, eax
lea eax, [ecx*2 + 2]
push eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0048ea30
lea eax, [esp + 0x20]
push eax
call fcn.00497677
add esp, 0x10
lea eax, [esp + 0x14]
push 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x441271
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x441271
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x441271
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
sete byte [esp + 0x10]
jmp 0x441276
mov byte [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x10]
mov ecx, edi
call fcn.0042cfe0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20c
ret 0xc

Function at 0x4412a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x100
push esi
push 1
push 0
push 0xffffffffffffffff
mov esi, ecx
mov ecx, dword [0x4d3d98]
push 0
call fcn.00475930
mov eax, dword [esp + 0x108]
test eax, eax
je 0x44133c
cmp word [eax], 0
je 0x44133c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4412ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ce8c8]
push 1
mov dword [ecx + 0x30], eax
mov ecx, esi
call fcn.0042cfe0
pop edi
pop esi
add esp, 0x100
ret 4
mov eax, dword [0x4ce8c8]
mov ecx, esi
push 0
mov dword [eax + 0x30], 0
call fcn.0042cfe0
mov edx, edi
lea ecx, [esp + 8]
call fcn.00473cf0
mov ecx, dword [0x4d3d98]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.00475930
pop edi
pop esi
add esp, 0x100
ret 4
mov eax, dword [0x4ce8c8]
mov ecx, esi
push 1
mov dword [eax + 0x30], 0x57
call fcn.0042cfe0
pop esi
add esp, 0x100
ret 4
Function at 0x4420b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push esi
push edi
push 1
push 0
mov esi, ecx
mov ecx, dword [0x4d3d98]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x2c], esi
call fcn.00475930
mov edi, dword [ebp + 8]
test edi, edi
je 0x4421e8
cmp word [edi], 0
je 0x4421e8
push 0
push 0
push 3
push 0
push 7
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x442127
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x442172
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x442159
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ce8c8]
push 1
mov dword [ecx + 0x30], eax
mov ecx, esi
call fcn.0042cfe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x3c]
xor eax, eax
or eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov cx, word [eax]
call fcn.0040ab40
movzx eax, ax
sub eax, 0x4b
je 0x442192
sub eax, 2
jne 0x4421ae
push eax
push 0x100000
jmp 0x442199
push 0
push 0x400
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.004a4730
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x4ce8c8]
mov ecx, dword [esp + 0x1c]
push 0
mov dword [eax + 0x30], 0
call fcn.0042cfe0
mov ecx, dword [0x4d3d98]
push 0x18
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.00401ac0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4ce8c8]
mov ecx, esi
push 1
mov dword [eax + 0x30], 0x57
call fcn.0042cfe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44ed60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, cl
test bl, bl
jne 0x44ed6b
xor al, al
pop ebx
ret
sub edx, 1
je 0x44ed90
movzx eax, bl
push eax
sub edx, 1
je 0x44ed86
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
pop ebx
ret
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
pop ebx
ret
mov al, bl
dec al
cmp al, 5
ja 0x44ed9d
cmp bl, 3
jne 0x44eda5
mov al, bl
add al, 0x66
cmp al, 5
ja 0x44edbc
cmp dword [0x4d169c], 0
movzx eax, bl
je 0x44edef
mov al, byte [eax + 0x4d2018]
shr al, 7
pop ebx
ret
cmp dword [0x4d16a0], 0
je 0x44edec
push 0
xor edx, edx
mov cl, bl
call fcn.00411ed0
add esp, 4
test al, al
je 0x44edde
mov cl, 1
call fcn.00411ce0
movzx eax, bl
pop ebx
mov al, byte [eax + 0x4d2018]
shr al, 7
ret
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
pop ebx
ret
Function at 0x44f4b0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x210
xor eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push esi
push edi
mov esi, ecx
mov edi, edx
push esi
push eax
push 0x410
mov word [edi], ax
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44f4f2
push esi
push eax
push 0x1000
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44f4f2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
cmp byte [esp + 0x228], 0
push 0x104
push edi
push 0
push ebp
je 0x44f50d
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
jmp 0x44f513
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov ebx, eax
test ebx, ebx
jne 0x44f63d
mov eax, dword [0x4c7120]
test eax, eax
je 0x44f63d
push 0x104
push edi
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x44f63d
cmp byte [esp + 0x228], 0
je 0x44f595
push 0x5c
push edi
call fcn.0048ca9c
mov edx, eax
add esp, 8
test edx, edx
je 0x44f63d
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f561
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [edx + 2]
push eax
push edi
call fcn.0048cfe0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x210
ret
mov eax, 0x41
mov dword [esp + 0x12], 0x3a
mov word [esp + 0x10], ax
nop word [eax + eax]
push 0x104
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
cmp esi, 2
jbe 0x44f5ec
sub esi, 2
lea eax, [esp + 0x18]
push esi
push edi
push eax
call fcn.00496b13
add esp, 0xc
test eax, eax
jne 0x44f5ec
cmp word [edi + esi*2], 0x5c
lea ecx, [edi + esi*2]
je 0x44f612
mov ax, word [esp + 0x10]
inc ax
mov word [esp + 0x10], ax
cmp ax, 0x5a
jbe 0x44f5b0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x210
ret
movzx eax, word [esp + 0x10]
sub ebx, esi
mov word [edi], ax
movzx eax, word [esp + 0x12]
mov word [edi + 2], ax
lea eax, [ebx*2 + 2]
push eax
push ecx
lea eax, [edi + 4]
push eax
call fcn.0048cfe0
add esp, 0xc
add ebx, 2
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x210
ret
Function at 0x4525d0
Capabilities:
Create shortcut via ishelllink
Get keyboard layout

Disassembly:
sub esp, 0x210
push ebx
push ebp
push 0
mov ebp, ecx
xor bl, bl
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x4a67a0
push 1
push 0
push 0x4a67b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4527a6
mov eax, dword [esp + 8]
push dword [esp + 0x21c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [esp + 0x224]
cmp word [edx], 0
je 0x45262e
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [esp + 0x228]
cmp word [edx], 0
je 0x452646
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [esp + 0x22c]
cmp word [edx], 0
je 0x45265e
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x238]
cmp word [edi], 0
je 0x4526b3
mov esi, dword [esp + 0x240]
cmp word [esi], 0
je 0x4526a5
mov ecx, esi
call fcn.0040ded0
test al, al
je 0x452697
push 0x10
push 0
push esi
call fcn.00492e76
add esp, 0xc
lea edx, [eax - 1]
jmp 0x4526a7
push esi
call fcn.00492a15
add esp, 4
lea edx, [eax - 1]
jmp 0x4526a7
xor edx, edx
mov eax, dword [esp + 0x10]
push edx
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, dword [esp + 0x23c]
cmp word [esi], 0
je 0x4526f6
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 0
xor edx, edx
mov ecx, esi
call fcn.00412680
add esp, 0xc
test al, al
je 0x4526f6
mov ecx, dword [esp + 0x10]
mov esi, 0x600
movzx eax, al
or ax, si
movzx eax, ax
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x34]
mov esi, dword [esp + 0x244]
cmp word [esi], 0
je 0x452733
mov ecx, esi
call fcn.0040ded0
test al, al
je 0x45271d
push 0x10
push 0
push esi
call fcn.00492e76
add esp, 0xc
jmp 0x452726
push esi
call fcn.00492a15
add esp, 4
mov edx, eax
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x4a67c0
push eax
mov ecx, dword [eax]
call dword [ecx]
pop edi
pop esi
test eax, eax
js 0x45279c
push 0
lea eax, [esp + 0x14]
push eax
push 0x104
push dword [esp + 0x22c]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x452792
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4ac300
call fcn.00475930
mov bl, 1
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
test bl, bl
je 0x4527c0
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret 0x24
mov eax, dword [0x4ce8c8]
cmp byte [eax + 0x108], 0
jne 0x4527ef
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf994
call fcn.00475930
pop ebp
pop ebx
add esp, 0x210
ret 0x24
push 0x4ac22c
push 0
push 0x4bf994
mov ecx, ebp
call fcn.0042cf00
pop ebp
pop ebx
add esp, 0x210
ret 0x24
Function at 0x452810
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x230
push esi
mov esi, ecx
test eax, eax
je 0x4528e0
cmp word [eax], 0
je 0x4528e0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452850
sub ecx, edx
sar ecx, 1
je 0x452870
cmp word [esp + ecx*2 + 0x26], 0x5c
jne 0x452870
xor eax, eax
mov word [esp + ecx*2 + 0x26], ax
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452877
xor eax, eax
mov dword [esp + 8], 3
sub ecx, edx
mov dword [esp + 0x1a], eax
sar ecx, 1
mov dword [esp + 0x1e], eax
mov dword [esp + 0x16], eax
mov dword [esp + 4], eax
mov word [esp + ecx*2 + 0x2a], ax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, 0x4054
mov word [esp + 0x14], ax
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.0042cfe0
pop esi
add esp, 0x230
ret 4
mov eax, dword [0x4ce8c8]
cmp byte [eax + 0x108], 0
jne 0x45290e
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf994
call fcn.00475930
pop esi
add esp, 0x230
ret 4
push 0x4ac22c
push 0
push 0x4bf994
call fcn.0042cf00
pop esi
add esp, 0x230
ret 4
Function at 0x452930
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10c
push ebx
push esi
push 1
push 0
push 0xffffffffffffffff
mov ebx, ecx
mov ecx, dword [0x4d3d98]
push 0
call fcn.00475930
mov esi, dword [esp + 0x118]
test esi, esi
je 0x452aae
cmp word [esi], 0
je 0x452aae
push ebp
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test ebp, ebp
jne 0x45299d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ce8c8]
push 1
mov dword [ecx + 0x30], eax
mov ecx, ebx
call fcn.0042cfe0
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
push edi
push ebp
call fcn.0048f3be
add esp, 4
mov edi, eax
push edi
push ebp
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x452a45
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push 0x4c029c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x452a45
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [esp + 0x28]
push edx
push str._u._u._u._u
push 0x80
push eax
call fcn.00472ce0
push edi
call fcn.004914e4
mov eax, dword [0x4ce8c8]
add esp, 0x20
mov ecx, ebx
push 0
mov dword [eax + 0x30], 0
call fcn.0042cfe0
mov ecx, dword [0x4d3d98]
lea eax, [esp + 0x1c]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.00475930
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4ce8c8]
push edi
mov dword [ecx + 0x30], eax
call fcn.004914e4
mov eax, dword [0x4ce8c8]
add esp, 4
cmp byte [eax + 0x108], 0
jne 0x452a8e
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf994
call fcn.00475930
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
push 0x4ac22c
push 0
push 0x4bf994
mov ecx, ebx
call fcn.0042cf00
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [0x4ce8c8]
mov ecx, ebx
push 1
mov dword [eax + 0x30], 0x57
call fcn.0042cfe0
pop esi
pop ebx
add esp, 0x10c
ret 4