joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a609
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, 0x4b95bb
call fcn.00484f9f
xor ebx, ebx
push 0x250
lea eax, [ebp + 4]
push ebx
push eax
mov esi, ecx
mov dword [ebp], ebx
call fcn.004840d0
add esp, 0xc
lea eax, [ebp]
push eax
lea ecx, [esi + 0x353]
call fcn.0046c450
cmp dword [ebp + 0xc], ebx
ja 0x45a664
cmp dword [ebp + 8], 1
jb 0x45a801
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 [0x4c0cc8]
fmulp st(1)
call fcn.0048dae0
cmp dword [esi + 0x407], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x10], edi
jne 0x45a6c6
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 0x45a6fb
cmp edx, dword [esi + 0x403]
jne 0x45a6fb
sub eax, dword [esi + 0x407]
xor edx, edx
mov ecx, 0x3e8
div ecx
cmp eax, 0x5a
jb 0x45a70d
mov ecx, esi
call fcn.0045a5b5
jmp 0x45a70d
mov dword [esi + 0x407], eax
mov dword [esi + 0x3ff], ecx
mov dword [esi + 0x403], edx
cmp edi, 0x3c
jl 0x45a73b
lea eax, [esi + 0x3f7]
cmp dword [eax], 0
jne 0x45a73b
push 0xc
push 0x7d0
mov dword [eax], 1
call fcn.0044723e
push 0
push 0x78
call fcn.0044736d
add esp, 0x10
cmp edi, dword [esi + 0x3df]
je 0x45a775
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.00458c13
push edi
push 1
lea ecx, [esi + 0x574]
mov dword [esi + 0x3df], edi
call fcn.00440f8a
push 0x4c5128
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.0041bf4a
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 0x45a801
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.00455b29
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.004841c7
add ebp, 0x258
leave
ret
Function at 0x45a964
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 4
mov eax, 0x4b9650
call fcn.00484f9f
mov esi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45a980
xor eax, eax
jmp 0x45ab6c
mov ecx, dword [eax]
cmp ecx, 0xe16
jne 0x45aab7
push 0
push 1
push 0x4ec298
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x45ab69
mov eax, dword [esi + 0x92]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
test eax, eax
je 0x45aa0b
cmp dword [esi + 0x3a3], 0
jne 0x45aa0b
lea eax, [ebp + 0xc]
lea edi, [esi + 0x353]
push eax
mov ecx, edi
call fcn.0046c5c7
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 0x45aa0b
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.0046c5c7
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 0x45aa54
push 0x4c30c8
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.0041bf4a
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.00446f6f
test eax, eax
jne 0x45aa8a
call fcn.00447064
test eax, eax
jne 0x45aa8a
inc eax
mov dword [esi + 0x3db], eax
push eax
add esi, 0x3a7
push esi
mov ecx, edi
call fcn.0041bf6d
push 2
mov ecx, edi
call fcn.0041bf84
jmp 0x45a979
push 2
mov ecx, edi
mov dword [esi + 0x3db], 1
call fcn.0041bf84
push 0
push 0xbb8
push 0x2714
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x45a979
cmp ecx, 0xe15
jne 0x45ab2d
mov edi, dword [eax + 8]
test edi, edi
je 0x45ab23
cmp dword [edi], 0x61
jb 0x45aaf4
push 0x4c30c8
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.0041bf4a
mov ecx, dword [ebp + 0xc]
jmp 0x45ab1b
push 0x4c4fd8
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.0041bf4a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [edi]
mov dword [esi + 0x34b], eax
jmp 0x45ab69
cmp ecx, 0xe17
jne 0x45ab45
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.004588f3
jmp 0x45ab69
cmp ecx, 0xe13
jne 0x45ab69
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.004588f3
push 0x21
call fcn.0041b962
mov ecx, eax
call fcn.00474f5d
xor eax, eax
inc eax
call fcn.00485077
ret 8
Function at 0x45c4f2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x45c502
lea esi, [ecx - 0x9a]
jmp 0x45c504
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x45c538
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x45c529
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45c53e
cmp dword [ebp + 0xc], 0
jne 0x45c538
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x45c556
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.0045bea0
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x45c8b7
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 0x45c996
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test eax, eax
jle 0x45c995
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x45c957
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x45c90f
cmp eax, 0x2f19
jne 0x45c948
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 0x45c8dd
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45c8dd
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 0x45c94d
cmp dword [ebp - 8], 0xc8
je 0x45c995
cmp dword [ebp - 8], 0xce
je 0x45c995
mov dword [ebp - 4], esi
jmp 0x45c8dd
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8
Function at 0x45c9b1
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 0x45ca84
mov eax, dword [0x4c2244]
mov dword [ebp + 0x1a8], eax
mov eax, dword [0x4c2248]
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 0x45ca84
push edi
xor eax, eax
push 0x208
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push ebx
push eax
call fcn.004840d0
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.0048e946
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 0x45ca84
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 0x45ca86
xor eax, eax
mov ecx, dword [ebp + 0x1b0]
pop esi
xor ecx, ebp
pop ebx
call fcn.004841c7
add ebp, 0x1b4
leave
ret 8

Function at 0x45caec
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.004840d0
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.004841c7
add ebp, 0xa0
leave
ret
Function at 0x45cb47
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 0x45cbdc
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 0x45cbda
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 0x45cbd3
cmp dword [ebp - 0x2c], 7
jne 0x45cbd3
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.004841c7
leave
ret 4

Function at 0x45d122
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.004840d0
push dword [esi]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048e6bc
push 0x4c528c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048ea4a
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 0x45d1ae
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004841c7
leave
ret 4
cmp word [ebp - 0x430], 0x2e
jne 0x45d1cd
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d1ae
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x45d19e

Function at 0x45d668
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
cmp esi, eax
jne 0x45d677
xor eax, eax
pop esi
ret
push eax
push eax
push eax
push dword [esi + 0x10]
call fcn.0040e410
test eax, eax
je 0x45d673
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret
Function at 0x45d6ea
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 0x45d750
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 0x45d74f
push edi
lea edi, [esi + 0x478]
push dword [edi]
call ebx
test eax, eax
je 0x45d74e
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 0x45d88c
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 0x45d8b0
xor eax, eax
jmp 0x45d91e
cmp eax, 0x104
jg 0x45d8ac
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004840d0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x2710
push 0x4c2188
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x414], 0
je 0x45d8ac
lea eax, [ebp - 0x414]
push 0x4c2184
push eax
call fcn.0048a8de
pop ecx
pop ecx
test eax, eax
je 0x45d8ac
push eax
call fcn.0048a79c
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.004841c7
leave
ret 4
Function at 0x45e53f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x45e54f
lea esi, [ecx - 0x9a]
jmp 0x45e551
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x45e585
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x45e576
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45e58b
cmp dword [ebp + 0xc], 0
jne 0x45e585
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x45e5a3
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.0045da1d
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x45e7d5
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 [0x4c20c8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c20cc]
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 0x45e81d
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jmp 0x45e85e
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004840d0
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 0x45e84a
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x45e850
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
ja 0x45e872
jb 0x45e85e
cmp ecx, 0x400
jae 0x45e872
push ecx
push str._d_Bytes
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x45e946
push edi
cmp eax, esi
ja 0x45e8ff
jb 0x45e885
cmp ecx, 0x100000
jae 0x45e8bb
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.0048a4f0
mov ecx, eax
or ecx, edx
jne 0x45e8af
push edi
push str._d_KB
jmp 0x45e92a
push eax
push edi
push str._d._d_KB
jmp 0x45e93c
cmp eax, esi
ja 0x45e8ff
jb 0x45e8c9
cmp ecx, 0x40000000
jae 0x45e8ff
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.0048a4f0
mov ecx, eax
or ecx, edx
jne 0x45e8f6
push edi
push 0x4c2104
jmp 0x45e92a
push eax
push edi
push str._d._d_MB
jmp 0x45e93c
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.0048a4f0
mov ecx, eax
or ecx, edx
jne 0x45e935
push edi
push str._d_GB
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x45e945
push eax
push edi
push str._d._d_GB
push ebx
call fcn.0041cbb1
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004841c7
leave
ret 8
Function at 0x45eaa6
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, 0x4b9ad2
call fcn.00484f9f
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 0x4c5414
lea ecx, [ebp - 0x14]
call fcn.0045ea65
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.00426cd6
add esp, 0xc
push eax
lea ecx, [ebp + 0x430]
mov byte [ebp - 4], 2
call fcn.0041cb3f
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.0045d95f
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.004840d0
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.0048ea4a
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 0x45ec9f
lea eax, [ebp - 0x10]
push eax
call fcn.0045cd3a
pop ecx
push eax
push 0x4c53cc
push 0
push dword [ebp - 0x18]
call dword [ebp - 0x14]
test eax, eax
jl 0x45ec9f
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x21c], ax
lea eax, [ebp + 0x21e]
push eax
call fcn.004840d0
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.0048ea4a
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 0x45ec9f
lea ecx, [ebp]
push ecx
push 0x4c5350
call eax
test eax, eax
jl 0x45ec9f
push 0x10
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.004840d0
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 0x45ec9f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x20]
push eax
call dword [ecx + 8]
cmp esi, 1
je 0x45ec67
cmp esi, 3
je 0x45ec67
cmp esi, 5
je 0x45ec67
xor esi, esi
jmp 0x45ec6a
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.004841c7
add ebp, 0x428
leave
ret 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45ec63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x45ec63
Function at 0x45ecfc
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, 0x4b9b3e
call fcn.00484f9f
mov ebx, dword [ebp + 0x920]
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
cmp ebx, esi
je 0x45eebb
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45eebb
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.004840d0
push ebx
push 0x4c5418
lea esi, [edi + 2]
lea eax, [ebp + 0x5f4]
push esi
push eax
call fcn.00446d66
add esp, 0x1c
lea eax, [ebp + 0x5f4]
push eax
lea ecx, [ebp]
call fcn.0045d5ae
test eax, eax
je 0x45ee9f
mov ebx, 0x4bf160
lea ecx, [ebp]
call fcn.0045cdf3
lea ecx, [ebp]
mov dword [ebp - 0x14], eax
call fcn.0045d571
test eax, eax
jne 0x45ee92
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp]
call fcn.0045ecae
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.0045cdcf
push edi
push 0
test eax, eax
je 0x45ee55
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.004840d0
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00446d66
mov ecx, dword [ebp - 0x18]
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call fcn.0045ecfc
jmp 0x45ee92
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.004840d0
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00446d66
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 0
jne 0x45edaf
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.0045ce1a
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp]
call fcn.0045ce1a
xor eax, eax
inc eax
jmp 0x45eebd
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.004841c7
add ebp, 0x918
leave
ret 4