joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a71d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
sub esp, 0x254
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x254], eax
push 0xc
mov eax, 0x4b9a6e
call fcn.00485421
xor ebx, ebx
push 0x250
lea eax, [ebp + 4]
push ebx
push eax
mov esi, ecx
mov dword [ebp], ebx
call fcn.00484550
add esp, 0xc
lea eax, [ebp]
push eax
lea ecx, [esi + 0x353]
call fcn.0046c90b
cmp dword [ebp + 0xc], ebx
ja 0x45a778
cmp dword [ebp + 8], 1
jb 0x45a915
push 0x2711
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shrd eax, ecx, 0xa
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
shr ecx, 0xa
mov ecx, dword [ebp + 0x14]
shrd eax, ecx, 0xa
mov dword [ebp - 0x14], eax
shr ecx, 0xa
fild dword [ebp - 0x14]
fidiv dword [ebp - 0x18]
fld dword [esi + 0x3eb]
fsubr qword [0x4c0d30]
fmulp st(1)
call fcn.0048df60
cmp dword [esi + 0x407], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x10], edi
jne 0x45a7da
call ebx
mov dword [esi + 0x407], eax
call ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [esi + 0x3ff]
jne 0x45a80f
cmp edx, dword [esi + 0x403]
jne 0x45a80f
sub eax, dword [esi + 0x407]
xor edx, edx
mov ecx, 0x3e8
div ecx
cmp eax, 0x5a
jb 0x45a821
mov ecx, esi
call fcn.0045a6c9
jmp 0x45a821
mov dword [esi + 0x407], eax
mov dword [esi + 0x3ff], ecx
mov dword [esi + 0x403], edx
cmp edi, 0x3c
jl 0x45a84f
lea eax, [esi + 0x3f7]
cmp dword [eax], 0
jne 0x45a84f
push 0xc
push 0x7d0
mov dword [eax], 1
call fcn.004472a6
push 0
push 0x78
call fcn.004473d5
add esp, 0x10
cmp edi, dword [esi + 0x3df]
je 0x45a889
fild dword [ebp - 0x10]
push ecx
lea ecx, [esi + 0x276]
fadd dword [esi + 0x3eb]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp]
call fcn.00458c7a
push edi
push 1
lea ecx, [esi + 0x574]
mov dword [esi + 0x3df], edi
call fcn.00440ff3
push str.ck_W_vN
lea ecx, [ebp - 0x10]
call fcn.0040b680
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push edi
mov ecx, 0x4ebc68
call fcn.0041bf9c
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [ebp - 0x18]
cdq
mov ecx, 0x3ff
and edx, ecx
add eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x14]
cdq
and edx, ecx
add eax, edx
mov edi, eax
sar edi, 0xa
lea eax, [esi + 0x3e3]
sar ebx, 0xa
cmp edi, dword [eax]
je 0x45a915
push 0x4ecda4
lea ecx, [ebp - 0x14]
mov dword [eax], edi
call fcn.0040ba90
push ebx
push edi
lea eax, [ebp - 0x14]
push 0x90
push eax
mov dword [ebp - 4], 1
call fcn.00455b90
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x254]
xor ecx, ebp
call fcn.00484647
add ebp, 0x258
leave
ret
Function at 0x45aa78
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 4
mov eax, 0x4b9b03
call fcn.00485421
mov esi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45aa94
xor eax, eax
jmp 0x45ac80
mov ecx, dword [eax]
cmp ecx, 0xe16
jne 0x45abcb
push 0
push 1
push 0x4ec298
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x45ac7d
mov eax, dword [esi + 0x92]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
test eax, eax
je 0x45ab1f
cmp dword [esi + 0x3a3], 0
jne 0x45ab1f
lea eax, [ebp + 0xc]
lea edi, [esi + 0x353]
push eax
mov ecx, edi
call fcn.0046ca5b
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0040dd20
test ebx, ebx
je 0x45ab1f
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.0046ca5b
mov eax, dword [eax]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040dd20
cmp dword [esi + 0x34b], 0x63
mov edi, 0x4ebc68
jg 0x45ab68
push 0x4c3130
lea ecx, [ebp + 0xc]
mov dword [esi + 0x34b], 0x64
call fcn.0040b680
and dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x34b]
mov ecx, edi
call fcn.0041bf9c
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.00446fd7
test eax, eax
jne 0x45ab9e
call fcn.004470cc
test eax, eax
jne 0x45ab9e
inc eax
mov dword [esi + 0x3db], eax
push eax
add esi, 0x3a7
push esi
mov ecx, edi
call fcn.0041bfbf
push 2
mov ecx, edi
call fcn.0041bfd6
jmp 0x45aa8d
push 2
mov ecx, edi
mov dword [esi + 0x3db], 1
call fcn.0041bfd6
push 0
push 0xbb8
push 0x2714
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x45aa8d
cmp ecx, 0xe15
jne 0x45ac41
mov edi, dword [eax + 8]
test edi, edi
je 0x45ac37
cmp dword [edi], 0x61
jb 0x45ac08
push 0x4c3130
lea ecx, [ebp + 0xc]
call fcn.0040b680
lea eax, [ebp + 0xc]
push eax
push dword [edi]
mov ecx, 0x4ebc68
mov dword [ebp - 4], 1
call fcn.0041bf9c
mov ecx, dword [ebp + 0xc]
jmp 0x45ac2f
push str.ck_W
lea ecx, [ebp - 0x10]
call fcn.0040b680
lea eax, [ebp - 0x10]
push eax
push dword [edi]
mov ecx, 0x4ebc68
mov dword [ebp - 4], 2
call fcn.0041bf9c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [edi]
mov dword [esi + 0x34b], eax
jmp 0x45ac7d
cmp ecx, 0xe17
jne 0x45ac59
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.0045895a
jmp 0x45ac7d
cmp ecx, 0xe13
jne 0x45ac7d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.0045895a
push 0x21
call fcn.0041b9b4
mov ecx, eax
call fcn.004753e7
xor eax, eax
inc eax
call fcn.004854f9
ret 8
Function at 0x45c662
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x45c672
lea esi, [ecx - 0x9a]
jmp 0x45c674
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x45c6a8
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x45c699
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45c6ae
cmp dword [ebp + 0xc], 0
jne 0x45c6a8
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x45c6c6
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.0045c010
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x45ca27
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor esi, esi
push 4
pop edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], esi
je 0x45cb06
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test eax, eax
jle 0x45cb05
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x45cac7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x45ca7f
cmp eax, 0x2f19
jne 0x45cab8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1f
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0xc], 0x3180
push edi
lea eax, [ebp - 0xc]
push eax
push 0x1f
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x45ca4d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45ca4d
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x45cabd
cmp dword [ebp - 8], 0xc8
je 0x45cb05
cmp dword [ebp - 8], 0xce
je 0x45cb05
mov dword [ebp - 4], esi
jmp 0x45ca4d
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8
Function at 0x45cb21
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, dword [ebp + 0x1c0]
push ebx
push esi
mov esi, dword [ebp + 0x1bc]
xor ebx, ebx
mov dword [ebp - 0x70], eax
cmp esi, ebx
je 0x45cbf4
mov eax, dword [0x4c22ac]
mov dword [ebp + 0x1a8], eax
mov eax, dword [0x4c22b0]
mov dword [ebp + 0x1ac], eax
mov ax, word [esi]
mov word [ebp + 0x1a8], ax
lea eax, [ebp + 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x45cbf4
push edi
xor eax, eax
push 0x208
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push ebx
push eax
call fcn.00484550
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.0048edc6
xor eax, eax
mov dword [ebp - 0x6c], ebx
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
mov dword [ebp - 0x80], ebx
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
add esp, 0x20
mov dword [ebp - 0x78], ebx
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
pop edi
test eax, eax
je 0x45cbf4
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 4], ecx
xor eax, eax
inc eax
jmp 0x45cbf6
xor eax, eax
mov ecx, dword [ebp + 0x1b0]
pop esi
xor ecx, ebp
pop ebx
call fcn.00484647
add ebp, 0x1b4
leave
ret 8

Function at 0x45cc5c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x118
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00484550
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x9c]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00484647
add ebp, 0xa0
leave
ret
Function at 0x45ccb7
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [ebp + 8]
push ebx
xor ebx, ebx
cmp ax, bx
je 0x45cd4c
push esi
push edi
mov esi, str..A:
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
push ebx
push 3
movsd dword es:[edi], dword [esi]
push ebx
push 3
movsw word es:[edi], word [esi]
mov word [ebp - 0xc], ax
push SysReAllocString
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45cd4a
push 9
pop ecx
push 0x28
xor eax, eax
mov dword [ebp - 0x48], ebx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
pop eax
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x2d1400
push esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45cd43
cmp dword [ebp - 0x2c], 7
jne 0x45cd43
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00484647
leave
ret 4

Function at 0x45d292
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00484550
push dword [esi]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048eb3c
push 0x4c52f4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048eeca
add esp, 0x24
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45d31e
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00484647
leave
ret 4
cmp word [ebp - 0x430], 0x2e
jne 0x45d33d
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d31e
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x45d30e

Function at 0x45d7d8
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
cmp esi, eax
jne 0x45d7e7
xor eax, eax
pop esi
ret
push eax
push eax
push eax
push dword [esi + 0x10]
call fcn.0040e410
test eax, eax
je 0x45d7e3
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret
Function at 0x45d85a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x3f3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x45d8c0
push ebx
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x3a0]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
and dword [esi + 0xdf4], 0
call ebx
test eax, eax
je 0x45d8bf
push edi
lea edi, [esi + 0x478]
push dword [edi]
call ebx
test eax, eax
je 0x45d8be
push 0
push dword [edi]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
push 0
push dword [esi + 0x3a0]
call edi
pop edi
pop ebx
pop esi
ret

Function at 0x45d9fc
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x45da20
xor eax, eax
jmp 0x45da8e
cmp eax, 0x104
jg 0x45da1c
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00484550
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x2710
push 0x4c21f0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x414], 0
je 0x45da1c
lea eax, [ebp - 0x414]
push 0x4c21ec
push eax
call fcn.0048ad5e
pop ecx
pop ecx
test eax, eax
je 0x45da1c
push eax
call fcn.0048ac1c
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00484647
leave
ret 4
Function at 0x45e6af
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x45e6bf
lea esi, [ecx - 0x9a]
jmp 0x45e6c1
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x45e6f5
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x45e6e6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45e6fb
cmp dword [ebp + 0xc], 0
jne 0x45e6f5
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x45e713
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.0045db8d
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x45e945
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c2130]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c2134]
mov dword [ebp - 8], eax
mov ax, word [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor esi, esi
cmp eax, 3
je 0x45e98d
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jmp 0x45e9ce
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00484550
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x45e9ba
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x45e9c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
ja 0x45e9e2
jb 0x45e9ce
cmp ecx, 0x400
jae 0x45e9e2
push ecx
push str._d_Bytes
push ebx
call fcn.0041cc03
add esp, 0xc
jmp 0x45eab6
push edi
cmp eax, esi
ja 0x45ea6f
jb 0x45e9f5
cmp ecx, 0x100000
jae 0x45ea2b
push esi
mov edi, ecx
push 0x64
shrd edi, eax, 0xa
and ecx, 0x3ff
push esi
shr eax, 0xa
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a970
mov ecx, eax
or ecx, edx
jne 0x45ea1f
push edi
push str._d_KB
jmp 0x45ea9a
push eax
push edi
push str._d._d_KB
jmp 0x45eaac
cmp eax, esi
ja 0x45ea6f
jb 0x45ea39
cmp ecx, 0x40000000
jae 0x45ea6f
push esi
mov edi, ecx
push 0x19000
shrd edi, eax, 0x14
and ecx, 0xfffff
push esi
shr eax, 0x14
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a970
mov ecx, eax
or ecx, edx
jne 0x45ea66
push edi
push str._d_MB
jmp 0x45ea9a
push eax
push edi
push str._d._d_MB
jmp 0x45eaac
push esi
mov edi, ecx
push 0x6400000
shrd edi, eax, 0x1e
and ecx, 0x3fffffff
push esi
shr eax, 0x1e
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a970
mov ecx, eax
or ecx, edx
jne 0x45eaa5
push edi
push str._d_GB
push ebx
call fcn.0041cc03
add esp, 0xc
jmp 0x45eab5
push eax
push edi
push str._d._d_GB
push ebx
call fcn.0041cc03
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00484647
leave
ret 8
Function at 0x45ec16
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x424
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x424], eax
push 0x1c
mov eax, 0x4b9f95
call fcn.00485421
xor esi, esi
push 6
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x4c547c
lea ecx, [ebp - 0x14]
call fcn.0045ebd5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x430]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00426d2b
add esp, 0xc
push eax
lea ecx, [ebp + 0x430]
mov byte [ebp - 4], 2
call fcn.0041cb91
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040dd20
lea ecx, [ebp + 0x430]
call fcn.0045dacf
mov dword [ebp - 0x18], eax
xor eax, eax
push 0x206
mov word [ebp + 0x14], ax
lea eax, [ebp + 0x16]
push esi
push eax
call fcn.00484550
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x14]
push eax
call edi
push str.Shell32.dll
lea eax, [ebp + 0x14]
push esi
push eax
call fcn.0048eeca
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
call ebx
push str.SHCreateItemFromParsingName
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45ee0f
lea eax, [ebp - 0x10]
push eax
call fcn.0045ceaa
pop ecx
push eax
push 0x4c5434
push 0
push dword [ebp - 0x18]
call dword [ebp - 0x14]
test eax, eax
jl 0x45ee0f
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x21c], ax
lea eax, [ebp + 0x21e]
push eax
call fcn.00484550
add esp, 0xc
push esi
lea eax, [ebp + 0x21c]
push eax
call edi
push str.Propsys.dll
lea eax, [ebp + 0x21c]
push esi
push eax
call fcn.0048eeca
add esp, 0xc
lea eax, [ebp + 0x21c]
push eax
call ebx
push str.PSGetPropertyKeyFromName
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ee0f
lea ecx, [ebp]
push ecx
push 0x4c53b8
call eax
test eax, eax
jl 0x45ee0f
push 0x10
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00484550
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x45ee0f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x20]
push eax
call dword [ecx + 8]
cmp esi, 1
je 0x45edd7
cmp esi, 3
je 0x45edd7
cmp esi, 5
je 0x45edd7
xor esi, esi
jmp 0x45edda
xor esi, esi
inc esi
mov ecx, dword [ebp + 0x430]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x424]
xor ecx, ebp
call fcn.00484647
add ebp, 0x428
leave
ret 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45edd3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x45edd3
Function at 0x45ee6e
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x914
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x914], eax
push 0x10
mov eax, 0x4ba001
call fcn.00485421
mov ebx, dword [ebp + 0x920]
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
cmp ebx, esi
je 0x45f02d
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f02d
push 0x5c
pop eax
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], esi
mov dword [ebp + 0x460], esi
xor eax, eax
mov edi, 0x18e
push edi
mov word [ebp + 0x5f4], ax
lea eax, [ebp + 0x5f6]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00484550
push ebx
push 0x4c5480
lea esi, [edi + 2]
lea eax, [ebp + 0x5f4]
push esi
push eax
call fcn.00446dcf
add esp, 0x1c
lea eax, [ebp + 0x5f4]
push eax
lea ecx, [ebp]
call fcn.0045d71e
test eax, eax
je 0x45f011
mov ebx, 0x4bf1c8
lea ecx, [ebp]
call fcn.0045cf63
lea ecx, [ebp]
mov dword [ebp - 0x14], eax
call fcn.0045d6e1
test eax, eax
jne 0x45f004
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp]
call fcn.0045ee1e
push 0xc8
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040cf00
push eax
push esi
lea eax, [ebp + 0x464]
push eax
call fcn.0040e610
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040dd20
push 0x10
lea ecx, [ebp]
call fcn.0045cf3f
push edi
push 0
test eax, eax
je 0x45efc7
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.00484550
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00446dcf
mov ecx, dword [ebp - 0x18]
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call fcn.0045ee6e
jmp 0x45f004
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.00484550
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00446dcf
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 0
jne 0x45ef21
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.0045cf8a
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp]
call fcn.0045cf8a
xor eax, eax
inc eax
jmp 0x45f02f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x914]
xor ecx, ebp
call fcn.00484647
add ebp, 0x918
leave
ret 4