joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4509e0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc7d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x648464]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x6472c4]
cmp eax, dword [ecx + 4]
jg 0x450a4a
mov eax, 0x647260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
push 0x6472c4
call fcn.004ecc44
add esp, 4
cmp dword [0x6472c4], 0xffffffff
jne 0x450a2b
push esi
mov ecx, 0x647260
mov dword [ebp - 4], 0
call fcn.004890e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0044e640
push 1
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x647260
call fcn.00450870
push str.RunAsUser
lea ecx, [ebp - 0xd0]
call fcn.0044e5a0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e6e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.0044e660
push 0
lea ecx, [ebp - 0x70]
call fcn.0044eee0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450aee
call esi
cmp eax, 0xb7
jne 0x450bba
jmp 0x450aee
push str.RUNASUSERPROCESS.exe
lea ecx, [ebp - 0xd0]
call fcn.0044e5a0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e6e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.0044e660
lea ecx, [ebp - 0x70]
call fcn.0044eee0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x450b85
cmp dword [0x647270], eax
jne 0x450b4a
push str.Invalid_path_to_RunUserProcess_application._n
call fcn.0043c3d0
add esp, 4
jmp 0x450bba
push 0
lea ecx, [ebp - 0x70]
call fcn.0044eee0
push eax
mov ecx, 0x647260
call fcn.00489710
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x450b85
call esi
push eax
lea ecx, [ebp - 0x70]
call fcn.0044eee0
push eax
push str.Failed_to_copy_RunUserProcess_to__s_with_error__lu._n
call fcn.0043c3d0
add esp, 0xc
jmp 0x450bba
lea ecx, [ebp - 0x70]
call fcn.0044e850
cmp dword [0x647274], 0x10
mov ecx, 0x647260
mov dword [0x647270], 0
cmovae ecx, dword [0x647260]
push eax
mov byte [ecx], 0
mov ecx, 0x647260
call fcn.00489bb0
jmp 0x450bba
lea ecx, [ebp - 0x70]
call fcn.0044e660
push 0x5dae80
call fcn.004ed0b7
push 0x6472c4
call fcn.004ecbfa
add esp, 8
jmp 0x450a2b
Function at 0x450be0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc84e
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x190]
xor edi, edi
call fcn.0044e640
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], edi
call fcn.0044e640
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
call fcn.0044e640
push edi
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00450870
push str.RunAsUser
lea ecx, [ebp - 0x70]
call fcn.0044e5a0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xd0]
call fcn.0044e6e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0044e660
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x190]
call fcn.0044e670
push str.RUNASUSERPROCESS.exe
lea ecx, [ebp - 0x70]
call fcn.0044e5a0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x190]
call fcn.0044e6e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0044e660
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x130]
call fcn.0044e670
push str.RUNASUSERPROCESS.dll
lea ecx, [ebp - 0x70]
call fcn.0044e5a0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x130]
call fcn.0044e6e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0044e660
mov eax, dword [esi + 0x60]
test eax, eax
je 0x450d04
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x190]
call fcn.0044eee0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
test eax, eax
je 0x450d45
lea ecx, [ebp - 0x130]
call fcn.0044eee0
push eax
call esi
test eax, eax
je 0x450d45
lea ecx, [ebp - 0xd0]
call fcn.0044eee0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, 1
lea ecx, [ebp - 0xd0]
call fcn.0044e660
lea ecx, [ebp - 0x130]
call fcn.0044e660
lea ecx, [ebp - 0x190]
call fcn.0044e660
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
Function at 0x450d90
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc88d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x74], eax
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 0xcc], 0x44
movups xmmword [ebp - 0x88], xmm0
call fcn.004890e0
push 0x5deb2c
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.00489bb0
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x14], 0x10
jb 0x450e48
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x70]
call fcn.00489bb0
push 0x5deb2c
lea ecx, [ebp - 0x70]
call fcn.00489bb0
cmp dword [edi + 0x14], 0x10
jb 0x450e66
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x70]
call fcn.00489bb0
push 0x5deb2c
lea ecx, [ebp - 0x70]
call fcn.00489bb0
cmp dword [esi + 0x14], 0x10
jb 0x450e84
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x70]
call fcn.00489bb0
mov esi, dword [ebp - 0x78]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x450edc
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x450edc
push str.RunUserProcess_didnt_terminate_on_its_own_n
call fcn.0043c3d0
add esp, 4
push 0
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x450edc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_terminate_the_run_user_process._Error:__u_n
call fcn.0043c3d0
add esp, 8
jmp 0x450f26
lea ecx, [ebp - 0x70]
call fcn.00489710
push eax
push str.Starting_RunUserProcess:__s_n
call fcn.0043c3d0
add esp, 8
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x70]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00489710
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x60], eax
lea ecx, [ebp - 0x70]
call fcn.00419a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45b000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov eax, dword [edi + 0x2a0]
mov byte [ebp - 0x72], bl
sub eax, ebx
je 0x45b147
sub eax, 1
je 0x45b147
sub eax, 1
jne 0x45b1b2
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov ecx, dword [edi + 0xf3c]
lea edx, [ebp - 0x80]
push edx
mov dword [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
sub eax, esi
sub eax, 0x60
cmp eax, 0x60
jae 0x45b0b4
push 0x5df644
lea ecx, [ebp - 0x70]
call fcn.00489280
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
push esi
mov ebx, 5
call fcn.004485c0
add esp, 8
mov byte [ebp - 0x71], 1
test al, al
jne 0x45b0b8
mov byte [ebp - 0x71], 0
test bl, 1
je 0x45b0c8
lea ecx, [ebp - 0x70]
call fcn.00419a70
mov esi, dword [ebp - 0x80]
cmp byte [ebp - 0x71], 0
je 0x45b0dc
mov ecx, edi
call fcn.00462120
mov esi, dword [ebp - 0x80]
mov byte [ebp - 0x72], 1
test esi, esi
je 0x45b1b2
mov edi, dword [ebp - 0x7c]
cmp esi, edi
je 0x45b101
nop dword [eax + eax]
mov ecx, esi
call fcn.00419a70
add esi, 0x60
cmp esi, edi
jne 0x45b0f0
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 5
cmp ecx, 0x1000
jb 0x45b13b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b1e2
push ecx
push esi
call fcn.004ece5f
add esp, 8
jmp 0x45b1b2
push 0x10
call fcn.004ece2f
add esp, 4
test eax, eax
je 0x45b163
mov dword [eax], 0x45b1f0
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
jmp 0x45b165
xor eax, eax
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x452be0
push 0
push 0
call fcn.004f8f45
add esp, 0x18
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x45b1d1
cmp dword [edi + 0xf84], 0
jne 0x45b1e7
mov ecx, dword [ebp - 0x88]
mov dword [edi + 0xf80], eax
mov dword [edi + 0xf84], ecx
mov al, byte [ebp - 0x72]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x88], 0
call fcn.004d835f
call fcn.004f242f
call fcn.004f8dad
int3
Function at 0x45bf30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdd74
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x70]
call fcn.0044e640
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.0044e860
add esp, 4
lea ecx, [ebp - 0xd0]
push str.DivX11
call fcn.0044e530
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e6e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0
call fcn.0044e660
cmp byte [ebp + 0xc], 0
je 0x45c051
push 0
lea ecx, [ebp - 0x70]
call fcn.0044eee0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45bfd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45c04d
push 0x5df644
lea ecx, [ebp - 0x130]
call fcn.00489280
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xd0]
call fcn.0044e4c0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e6e0
lea ecx, [ebp - 0xd0]
call fcn.0044e660
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0
call fcn.00419a70
push 0
lea ecx, [ebp - 0x70]
call fcn.0044eee0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45c0a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45c0a4
xor bl, bl
jmp 0x45c0b1
push 0x5df644
lea ecx, [ebp - 0xd0]
call fcn.00489280
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x130]
call fcn.0044e4c0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e6e0
lea ecx, [ebp - 0x130]
call fcn.0044e660
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0
call fcn.00419a70
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0044e670
mov bl, 1
lea ecx, [ebp - 0x70]
call fcn.0044e660
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
Function at 0x45fc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x45fc73
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [ebp + 0x10]
call fcn.00489710
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00489710
mov ebx, dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x45fcf5
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x45fcf5
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45fcf5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45fcf5
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
test eax, eax
je 0x45fcf5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45fcec
push edi
push ebx
push eax
call fcn.004eecb0
add esp, 0xc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc

Function at 0x4600d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.00489710
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [esi + 8], eax
test eax, eax
je 0x460131
push eax
call fcn.004ed176
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [esi + 4], eax
push eax
push dword [esi + 8]
push dword [ebp - 4]
call fcn.00489710
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov ecx, dword [esi + 4]
test eax, eax
jne 0x46013a
push ecx
call fcn.004ed17f
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 8]
push eax
push esi
push str.VarFileInfoTranslation
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x460153
push dword [esi + 4]
jmp 0x46011b
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x461b10
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce5f1
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.defaultbanner_
lea ecx, [ebp - 0x130]
xor bl, bl
call fcn.00489280
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.00494450
mov ecx, eax
call fcn.00494120
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.00489b60
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00419a70
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004890e0
push str..png
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 2
call fcn.00489bb0
push str..html
lea ecx, [ebp - 0x130]
call fcn.00489bb0
lea ecx, [ebp - 0xd0]
call fcn.0044e640
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 3
call fcn.0044e640
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.0045bf30
add esp, 8
lea ecx, [ebp - 0x70]
push str.DefaultBanner
call fcn.0044e530
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xd0]
call fcn.0044e6e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0044e660
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x190]
call fcn.0044e670
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e4c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x190]
call fcn.0044e6e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0044e660
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x70]
call fcn.0044e4c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xd0]
call fcn.0044e6e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0044e660
lea ecx, [ebp - 0xd0]
call fcn.0044eee0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x190]
call fcn.0044eee0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xd0]
push eax
mov ecx, eax
call fcn.0044ecc0
lea ecx, [ebp - 0xd0]
call fcn.0044eee0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
lea ecx, [ebp - 0x190]
call fcn.0044e660
lea ecx, [ebp - 0xd0]
call fcn.0044e660
lea ecx, [ebp - 0x1f0]
call fcn.00419a70
lea ecx, [ebp - 0x130]
call fcn.00419a70
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
Function at 0x464ce0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x3024
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xfa
push 0x1b39
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
ret

Function at 0x465240
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4652b4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4652b4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4652b4
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4652b4
push 0
lea eax, [ebp - 4]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4669b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ced3b
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x300], eax
call fcn.004895d0
mov ecx, dword [ebx + 0x24]
lea edx, [ebp - 0x2f8]
push edx
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x60]
lea ecx, [ebp - 0x2f8]
call fcn.00489710
lea edx, [ebp - 0x298]
sub edx, eax
nop dword [eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x466a20
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push 0
lea eax, [ebp - 0x308]
push eax
lea edi, [ebx + 0x48]
push edi
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0x40
lea eax, [ebp - 0x90]
push eax
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
call fcn.0041a4a0
mov ecx, eax
test ecx, ecx
je 0x466b3b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2fc], eax
push 0x7e
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 1
call fcn.0041aa70
push 1
push 0x5e1258
lea ecx, [ebp - 0x2fc]
call fcn.00442a40
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466ab4
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00442a40
mov esi, dword [ebp - 0x2fc]
push esi
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x300]
add esi, 0xfffffff0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 0
mov dword [edx], eax
or eax, 0xffffffff
mov dword [edx + 4], ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x466b12
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2f8]
call fcn.00419a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0041a0e0
int3
Function at 0x467260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
jne 0x4672b5
mov eax, dword [ebp + 0xc]
cmp eax, 0x136
je 0x467289
cmp eax, 0x138
je 0x467289
cmp eax, 0x135
jne 0x4672be
mov eax, dword [edi + 0x18]
push ecx
mov ecx, esp
push ecx
mov dword [eax + 0x20], 1
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, esp
mov ecx, edi
mov dword [eax], esi
call fcn.00466f20
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x46732e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x46733a
movzx ebx, si
mov eax, 0x42c
shr esi, 0x10
cmp ax, bx
jne 0x467306
mov eax, dword [edi + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x20], 1
mov eax, esp
push 0x42c
push esi
mov dword [eax], ecx
mov ecx, edi
call fcn.00466c80
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x46732e
mov eax, 0x200
cmp ax, si
jne 0x4672b5
lea eax, [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
push ebx
push 0x200
mov dword [eax], ecx
mov ecx, edi
call fcn.00466fb0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x4e
jne 0x4672b5
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x42e
jne 0x4672b5
cmp dword [eax + 8], 0xfffffffe
jne 0x4672b5
cmp esi, 0x42e
jne 0x467380
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x2c]
call esi
push 5
push dword [edi + 0x30]
call esi
push 0
push dword [edi + 0x3c]
call esi
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
Function at 0x4677c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 5
push edi
xor edi, edi
mov ebx, ecx
cmp byte [ebp + 8], 0
cmovne edi, eax
push edi
push dword [ebx + 4]
call esi
push edi
push dword [ebx + 0x3c]
call esi
push 0
push dword [ebx + 0x2c]
call esi
push 0
push dword [ebx + 0x30]
call esi
push edi
push dword [ebx + 0x38]
call esi
push edi
push dword [ebx + 0x34]
call esi
pop edi
pop esi
pop ebx
pop ebp
ret 4