joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a621
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, 0x4b963b
call fcn.0048501f
xor ebx, ebx
push 0x250
lea eax, [ebp + 4]
push ebx
push eax
mov esi, ecx
mov dword [ebp], ebx
call fcn.00484150
add esp, 0xc
lea eax, [ebp]
push eax
lea ecx, [esi + 0x353]
call fcn.0046c4e1
cmp dword [ebp + 0xc], ebx
ja 0x45a67c
cmp dword [ebp + 8], 1
jb 0x45a819
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.0048db60
cmp dword [esi + 0x407], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x10], edi
jne 0x45a6de
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 0x45a713
cmp edx, dword [esi + 0x403]
jne 0x45a713
sub eax, dword [esi + 0x407]
xor edx, edx
mov ecx, 0x3e8
div ecx
cmp eax, 0x5a
jb 0x45a725
mov ecx, esi
call fcn.0045a5cd
jmp 0x45a725
mov dword [esi + 0x407], eax
mov dword [esi + 0x3ff], ecx
mov dword [esi + 0x403], edx
cmp edi, 0x3c
jl 0x45a753
lea eax, [esi + 0x3f7]
cmp dword [eax], 0
jne 0x45a753
push 0xc
push 0x7d0
mov dword [eax], 1
call fcn.00447257
push 0
push 0x78
call fcn.00447386
add esp, 0x10
cmp edi, dword [esi + 0x3df]
je 0x45a78d
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.00458c2b
push edi
push 1
lea ecx, [esi + 0x574]
mov dword [esi + 0x3df], edi
call fcn.00440fa0
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.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 0x45a819
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.00455b41
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.00484247
add ebp, 0x258
leave
ret
Function at 0x45a97c
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 4
mov eax, 0x4b96d0
call fcn.0048501f
mov esi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45a998
xor eax, eax
jmp 0x45ab84
mov ecx, dword [eax]
cmp ecx, 0xe16
jne 0x45aacf
push 0
push 1
push 0x4ec298
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x45ab81
mov eax, dword [esi + 0x92]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
test eax, eax
je 0x45aa23
cmp dword [esi + 0x3a3], 0
jne 0x45aa23
lea eax, [ebp + 0xc]
lea edi, [esi + 0x353]
push eax
mov ecx, edi
call fcn.0046c658
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 0x45aa23
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.0046c658
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 0x45aa6c
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.00446f88
test eax, eax
jne 0x45aaa2
call fcn.0044707d
test eax, eax
jne 0x45aaa2
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 0x45a991
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 0x45a991
cmp ecx, 0xe15
jne 0x45ab45
mov edi, dword [eax + 8]
test edi, edi
je 0x45ab3b
cmp dword [edi], 0x61
jb 0x45ab0c
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 0x45ab33
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.0041bf4a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [edi]
mov dword [esi + 0x34b], eax
jmp 0x45ab81
cmp ecx, 0xe17
jne 0x45ab5d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.0045890b
jmp 0x45ab81
cmp ecx, 0xe13
jne 0x45ab81
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.0045890b
push 0x21
call fcn.0041b962
mov ecx, eax
call fcn.00474fee
xor eax, eax
inc eax
call fcn.004850f7
ret 8
Function at 0x45c50a
Capabilities:
Hide graphical window

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

Function at 0x45c8cf
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 0x45c9ae
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test eax, eax
jle 0x45c9ad
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x45c96f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x45c927
cmp eax, 0x2f19
jne 0x45c960
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 0x45c8f5
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45c8f5
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 0x45c965
cmp dword [ebp - 8], 0xc8
je 0x45c9ad
cmp dword [ebp - 8], 0xce
je 0x45c9ad
mov dword [ebp - 4], esi
jmp 0x45c8f5
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8
Function at 0x45c9c9
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 0x45ca9c
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 0x45ca9c
push edi
xor eax, eax
push 0x208
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push ebx
push eax
call fcn.00484150
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.0048e9c6
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 0x45ca9c
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 0x45ca9e
xor eax, eax
mov ecx, dword [ebp + 0x1b0]
pop esi
xor ecx, ebp
pop ebx
call fcn.00484247
add ebp, 0x1b4
leave
ret 8

Function at 0x45cb04
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.00484150
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.00484247
add ebp, 0xa0
leave
ret
Function at 0x45cb5f
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 0x45cbf4
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 0x45cbf2
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 0x45cbeb
cmp dword [ebp - 0x2c], 7
jne 0x45cbeb
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.00484247
leave
ret 4

Function at 0x45d13a
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.00484150
push dword [esi]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048e73c
push 0x4c528c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048eaca
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 0x45d1c6
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00484247
leave
ret 4
cmp word [ebp - 0x430], 0x2e
jne 0x45d1e5
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d1c6
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x45d1b6

Function at 0x45d680
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
cmp esi, eax
jne 0x45d68f
xor eax, eax
pop esi
ret
push eax
push eax
push eax
push dword [esi + 0x10]
call fcn.0040e410
test eax, eax
je 0x45d68b
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret
Function at 0x45d702
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 0x45d768
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 0x45d767
push edi
lea edi, [esi + 0x478]
push dword [edi]
call ebx
test eax, eax
je 0x45d766
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 0x45d8a4
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 0x45d8c8
xor eax, eax
jmp 0x45d936
cmp eax, 0x104
jg 0x45d8c4
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00484150
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 0x45d8c4
lea eax, [ebp - 0x414]
push 0x4c2184
push eax
call fcn.0048a95e
pop ecx
pop ecx
test eax, eax
je 0x45d8c4
push eax
call fcn.0048a81c
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.00484247
leave
ret 4
Function at 0x45e557
Capabilities:
Hide graphical window

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

Function at 0x45e7ed
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 0x45e835
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jmp 0x45e876
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00484150
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 0x45e862
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x45e868
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
ja 0x45e88a
jb 0x45e876
cmp ecx, 0x400
jae 0x45e88a
push ecx
push str._d_Bytes
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x45e95e
push edi
cmp eax, esi
ja 0x45e917
jb 0x45e89d
cmp ecx, 0x100000
jae 0x45e8d3
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.0048a570
mov ecx, eax
or ecx, edx
jne 0x45e8c7
push edi
push str._d_KB
jmp 0x45e942
push eax
push edi
push str._d._d_KB
jmp 0x45e954
cmp eax, esi
ja 0x45e917
jb 0x45e8e1
cmp ecx, 0x40000000
jae 0x45e917
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.0048a570
mov ecx, eax
or ecx, edx
jne 0x45e90e
push edi
push str._d_MB
jmp 0x45e942
push eax
push edi
push str._d._d_MB
jmp 0x45e954
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.0048a570
mov ecx, eax
or ecx, edx
jne 0x45e94d
push edi
push str._d_GB
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x45e95d
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.00484247
leave
ret 8
Function at 0x45eabe
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, 0x4b9b52
call fcn.0048501f
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.0045ea7d
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.0045d977
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.00484150
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.0048eaca
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 0x45ecb7
lea eax, [ebp - 0x10]
push eax
call fcn.0045cd52
pop ecx
push eax
push 0x4c53cc
push 0
push dword [ebp - 0x18]
call dword [ebp - 0x14]
test eax, eax
jl 0x45ecb7
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x21c], ax
lea eax, [ebp + 0x21e]
push eax
call fcn.00484150
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.0048eaca
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 0x45ecb7
lea ecx, [ebp]
push ecx
push 0x4c5350
call eax
test eax, eax
jl 0x45ecb7
push 0x10
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00484150
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 0x45ecb7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x20]
push eax
call dword [ecx + 8]
cmp esi, 1
je 0x45ec7f
cmp esi, 3
je 0x45ec7f
cmp esi, 5
je 0x45ec7f
xor esi, esi
jmp 0x45ec82
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.00484247
add ebp, 0x428
leave
ret 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45ec7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x45ec7b
Function at 0x45ed14
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, 0x4b9bbe
call fcn.0048501f
mov ebx, dword [ebp + 0x920]
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
cmp ebx, esi
je 0x45eed3
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45eed3
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.00484150
push ebx
push 0x4c5418
lea esi, [edi + 2]
lea eax, [ebp + 0x5f4]
push esi
push eax
call fcn.00446d7d
add esp, 0x1c
lea eax, [ebp + 0x5f4]
push eax
lea ecx, [ebp]
call fcn.0045d5c6
test eax, eax
je 0x45eeb7
mov ebx, 0x4bf160
lea ecx, [ebp]
call fcn.0045ce0b
lea ecx, [ebp]
mov dword [ebp - 0x14], eax
call fcn.0045d589
test eax, eax
jne 0x45eeaa
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp]
call fcn.0045ecc6
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.0045cde7
push edi
push 0
test eax, eax
je 0x45ee6d
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.00484150
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00446d7d
mov ecx, dword [ebp - 0x18]
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call fcn.0045ed14
jmp 0x45eeaa
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.00484150
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00446d7d
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 0
jne 0x45edc7
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.0045ce32
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp]
call fcn.0045ce32
xor eax, eax
inc eax
jmp 0x45eed5
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.00484247
add ebp, 0x918
leave
ret 4