joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63808c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x63812e
cmp dword [ebx + 0xac], 0
jne 0x638128
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x637fc8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x638128
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x6380ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x638128
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.004b4d34
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x6380fd
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x63836c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x77c810]
cmp dword [eax + 0x188], 0
je 0x6384e6
test bl, bl
jne 0x638431
cmp dword [esi + 0xb4], 0
jne 0x638426
mov eax, esi
call fcn.0063b330
push eax
push 0x638260
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x6383f7
mov eax, dword [0x77c810]
cmp byte [eax + 0xeb], 0
je 0x6383f7
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x6383d8
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x6383f7
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x6383e0
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x638426
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004b4d34
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x638406
inc dword [esi + 0xb4]
jmp 0x6384e6
cmp dword [esi + 0xb4], 0
jle 0x6384e6
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x6384e6
cmp dword [esi + 0x58], 0
je 0x63849b
mov eax, dword [0x77c810]
cmp byte [eax + 0xeb], 0
je 0x63849b
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x63847c
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x63849b
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x638484
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x6384ca
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004b4d34
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x6384aa
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x629784]
call fcn.0040cfc4
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x639140
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x63919d
cmp byte [ebx + 0xeb], 0
jne 0x63919d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040ade8
mov eax, dword [esi]
test eax, eax
je 0x63918a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x6391aa
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b040
jmp 0x6391aa
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b040
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x63aa5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x63aacd
mov eax, esi
call fcn.0053a450
test al, al
je 0x63aacd
mov eax, dword [ebx + 0x98]
call fcn.0053a080
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x63aacd
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x114]
test al, al
je 0x63aabe
push 0
mov eax, dword [ebx + 0x98]
call fcn.0053a080
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.00530d78
jmp 0x63aacd
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.0063a894
pop esi
pop ebx
ret
Function at 0x645214
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00407810
ret
Function at 0x656044
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x77d488], 0
jne 0x65605b
call fcn.00656000
mov eax, edi
dec eax
test eax, eax
jl 0x656083
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x77d088]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x656065
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x658d78
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x658e12.0
jmp dword [ecx*4 + 0x658dab]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x658ddd
sub dl, 8
je 0x658dec
jmp case.0x658e12.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658a44
jmp case.0x658e12.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658a98
jmp case.0x658e12.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x658e12.0
movzx ecx, byte [ecx + 0x658e19]
jmp dword [ecx*4 + 0x658e2a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658b38
jmp case.0x658e12.0
cmp dl, 3
jne 0x658e57
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658b90
jmp case.0x658e12.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658b4c
jmp case.0x658e12.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658bd4
jmp case.0x658e12.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x658e82
sub dl, 8
je 0x658e8e
jmp case.0x658e12.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658c00
jmp case.0x658e12.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658c64
jmp case.0x658e12.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x658ead
sub dl, 8
je 0x658eb9
jmp case.0x658e12.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658d14
jmp case.0x658e12.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x658d3c
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x658f5b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00657f8c
test eax, eax
je 0x658f5b
mov eax, ebx
call fcn.00658f64
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x658ef4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x658f64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x658f95
dec al
je 0x658fd0
dec al
je 0x65900d
dec al
je 0x659076
jmp 0x659100
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x659100
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x658fa5
jmp 0x659100
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x659100
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x658fe0
jmp 0x659100
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x659100
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x65903c
xor ebp, ebp
jmp 0x65904c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x659055
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x65901d
jmp 0x659100
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x659100
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x6590cf
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0065608c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x65908a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x660c78
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x660ca6
mov eax, ebx
call fcn.00661734
cmp dword [ebx + 0x40], 0
je 0x660c9f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x660d17
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x660d09
cmp dword [ebx + 8], 0
je 0x660cc8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x660cda
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x660d09
cmp dword [ebx + 8], 0
je 0x660cbb
cmp eax, 3
je 0x660ced
dec eax
jne 0x660cbb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x660cbb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x660cbb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x660d35
cmp dword [ebx + 0x14], 0xcc
je 0x660d35
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00660d40
pop ebx
ret

Function at 0x698ed0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, eax
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x698fb4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebx + 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.004ba380
lea edx, [ebx + 0x14]
mov ecx, 0x10
mov eax, dword [ebp - 4]
call fcn.004ba380
lea edx, [ebx + 0x24]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.004ba380
mov eax, dword [ebx + 0x24]
push eax
lea eax, [ebx + 0x30]
mov ecx, 1
mov edx, dword [0x697c78]
call fcn.0040cea0
add esp, 4
mov eax, dword [ebx + 0x24]
push eax
lea eax, [ebx + 0x34]
mov ecx, 1
mov edx, dword [0x697cb0]
call fcn.0040cea0
add esp, 4
mov edi, dword [ebx + 0x24]
dec edi
test edi, edi
jb 0x698f84
inc edi
xor esi, esi
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.004ba380
movsx eax, word [ebp - 8]
mov edx, dword [ebx + 0x30]
mov dword [edx + esi*8], eax
movsx eax, word [ebp - 6]
mov edx, dword [ebx + 0x30]
mov dword [edx + esi*8 + 4], eax
inc esi
dec edi
jne 0x698f5b
mov edi, dword [ebx + 0x24]
dec edi
test edi, edi
jb 0x698fa6
inc edi
xor esi, esi
mov eax, dword [ebx + 0x34]
lea edx, [eax + esi]
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.004ba380
inc esi
dec edi
jne 0x698f8f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x698fbb
ret
Function at 0x69fc84
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov word [ebp - 2], ax
mov edi, dword [ebp + 8]
call fcn.00567450
mov edx, dword [eax]
call dword [edx + 0x18]
test bl, bl
je 0x69fcb0
call fcn.00567450
mov edx, dword [eax]
call dword [edx + 0x10]
xor edx, edx
push ebp
push 0x69fd7f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
mov eax, esi
call fcn.004b95ec
sub ebx, eax
cmp edi, ebx
jge 0x69fcd5
mov ebx, edi
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x69fd4f
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 8], 0
je 0x69fd45
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x69fd3e
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov ecx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 2]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69fd45
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69fd67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69fd86
call fcn.00567450
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x69fd90
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
call fcn.00567450
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x69fe2e
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x69fdcb
call fcn.0040a450
jmp 0x69fe35
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x69fe0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GlobalSize
mov ecx, eax
mov edx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69fe16
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6f1a24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6f1b97
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x6f1b72
push dword fs:[edx]
mov dword fs:[edx], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.0040b948
lea eax, [ebp - 0x21c]
mov edx, 0x6f1bb0
call fcn.0040bb34
mov eax, dword [ebp - 0x21c]
call fcn.0040b920
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
test eax, eax
je 0x6f1ae3
lea eax, [ebp - 0x216]
call fcn.0040b17c
lea edx, [ebp - 0x216]
mov ecx, ebx
xchg ecx, eax
call fcn.0040ade8
jmp 0x6f1aea
mov eax, ebx
call fcn.0040ac60
cmp si, 0x61
jae 0x6f1b0c
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.0042f454
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.0040b040
jmp 0x6f1b26
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.0042f440
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.0040b040
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x6f1bc4
call fcn.00428fdc
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.0040b040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f1b79
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret

Function at 0x6f5b08
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push 0x20a
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.0040b9dc
mov eax, ebx
mov dx, 0x5c
call fcn.006f59c8
add esp, 0x20c
pop ebx
ret
Function at 0x6f5ba8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ad44
xor eax, eax
push ebp
push 0x6f5d71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.0040ac60
mov word [esi], 0
mov word [edi], 0
mov eax, dword [ebp + 0x10]
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov word [eax], 0
cmp dword [ebp - 4], 0
je 0x6f5d4e
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00427d9c
test al, al
je 0x6f5d4e
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b920
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x6f5d4e
mov eax, ebx
call fcn.0040683c
mov dword [ebp - 0xc], eax
push ebp
push 0x6f5d47
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b920
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x6f5d31
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6f5d84
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6f5d31
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 8]
mov eax, edx
shr eax, 0x10
mov word [esi], ax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 8]
mov word [edi], ax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov eax, ecx
shr eax, 0x10
mov ebx, dword [ebp + 0x10]
mov word [ebx], ax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0xc]
mov ebx, dword [ebp + 0xc]
mov word [ebx], ax
mov ebx, edx
mov esi, ecx
lea edx, [ebp - 0x18]
mov eax, ebx
shr eax, 0x10
movzx eax, ax
call fcn.00427178
push dword [ebp - 0x18]
push 0x6f5d94
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 8]
call fcn.00427178
push dword [ebp - 0x1c]
push 0x6f5da4
lea edx, [ebp - 0x20]
mov eax, esi
shr eax, 0x10
movzx eax, ax
call fcn.00427178
push dword [ebp - 0x20]
push 0x6f5db4
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0xc]
call fcn.00427178
push dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov edx, 7
call fcn.0040bc14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f5d4e
mov eax, dword [ebp - 0xc]
call fcn.00406858
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f5d78
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.0040acc0
lea eax, [ebp - 4]
call fcn.0040ac60
ret
Function at 0x713c8c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa08
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x5f4], ecx
mov dword [ebp - 0x5d0], ecx
mov dword [ebp - 4], ecx
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
xor eax, eax
push ebp
push 0x713e8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, ebx
call fcn.00427d9c
test al, al
je 0x713e5f
xor ecx, ecx
mov edx, ebx
lea eax, [ebp - 0x2f0]
call fcn.00407684
call fcn.004069b0
lea ecx, [ebp - 0x5d0]
mov edx, 0x713ea8
mov eax, ebx
call fcn.004284a0
mov edx, dword [ebp - 0x5d0]
xor ecx, ecx
lea eax, [ebp - 0x5cc]
call fcn.00407684
call fcn.004069b0
mov eax, dword [0x776618]
mov byte [eax], 2
lea eax, [ebp - 0x2f0]
call fcn.004072b0
call fcn.004069b0
lea eax, [ebp - 0x5cc]
call fcn.004072bc
call fcn.004069b0
jmp 0x713de3
lea edx, [ebp - 4]
lea eax, [ebp - 0x2f0]
call fcn.004081b8
lea eax, [ebp - 0x2f0]
call fcn.004082c4
call fcn.004069b0
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x713ec0
call fcn.0040bf0c
test eax, eax
jle 0x713dcb
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5f0], eax
mov byte [ebp - 0x5ec], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5e8], eax
mov byte [ebp - 0x5e4], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x5e0], eax
mov byte [ebp - 0x5dc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5d8], eax
mov byte [ebp - 0x5d4], 0
lea edx, [ebp - 0x5f0]
mov ecx, 3
mov eax, 0x713eec
call fcn.00428fdc
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x5cc]
call fcn.0040891c
call fcn.00408a1c
call fcn.004069b0
lea eax, [ebp - 0x2f0]
call fcn.004077e4
call fcn.004069b0
test al, al
je 0x713d3e
lea eax, [ebp - 0x5cc]
call fcn.0040778c
call fcn.004069b0
lea eax, [ebp - 0x2f0]
call fcn.0040778c
call fcn.004069b0
mov eax, ebx
call fcn.004283ac
lea ecx, [ebp - 0x5f4]
mov edx, 0x713f34
mov eax, ebx
call fcn.004284a0
mov esi, dword [ebp - 0x5f4]
mov eax, ebx
call fcn.0040b920
push eax
mov dword [ebp - 0x5f8], esi
mov eax, dword [ebp - 0x5f8]
call fcn.0040b920
push eax
call sub.KERNEL32.DLL_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x713e92
lea eax, [ebp - 0x5f4]
call fcn.0040ac60
lea eax, [ebp - 0x5d0]
call fcn.0040ac60
lea eax, [ebp - 4]
call fcn.0040ac60
ret