joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425f60
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x4786a5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x20], 0x48ec3c
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
nop
push 0
lea eax, [ebp - 0x14]
push eax
push 0x3ff
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42608f
cmp eax, 0x400
jae 0x42616a
mov byte [ebp + eax], 0
mov eax, dword [edi]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x426015
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x42602b
call fcn.00403270
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x426160
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea eax, [ebp]
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x426052
movzx eax, ax
push eax
call fcn.00404b50
jmp 0x426058
push eax
call fcn.00422da0
mov byte [ebp - 4], 2
mov ecx, edi
mov esi, dword [ebp - 0x10]
push dword [esi - 0xc]
push esi
call fcn.00404870
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425fd0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x425fd0
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, 2
jl 0x42611d
add eax, 0xfffffffe
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004213b0
mov byte [ebp - 4], 4
mov edx, dword [eax]
mov esi, dword [edi]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4260fe
cmp dword [esi + 0xc], 0
jl 0x4260f3
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4260f3
call fcn.004058b0
mov dword [ebp - 0x10], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4260ec
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edi], eax
jmp 0x4260fe
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.00404e20
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42611d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0x48ec3c
test ebx, ebx
je 0x42613d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00452869
lea esp, [ebp + 0x404]
pop ebp
ret
push 0x80004005
call fcn.00402f30
call fcn.00452a03
int3
Function at 0x427960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478c1d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 0x18]
lea esi, [edi + 0x18]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x18], 0
test al, al
jne 0x4279a6
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
xchg byte [esi], al
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call fcn.00403270
test eax, eax
je 0x427b18
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push dword [edi + 0x24]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
push str.Logger::SetLogFile___s___while_OLD_path_is:_s
push eax
call fcn.00422e30
mov esi, dword [ebp - 0x14]
add esp, 0x10
call fcn.00403270
test eax, eax
je 0x427b18
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
test esi, esi
je 0x427a41
test esi, 0xffff0000
jne 0x427a28
movzx eax, si
lea ecx, [ebp - 0x10]
push eax
call fcn.00404b50
jmp 0x427a4d
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427a30
sub ecx, edx
sar ecx, 1
jmp 0x427a43
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00404e20
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 2
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427a79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x34], 0
je 0x427abf
mov eax, dword [edi + 0x24]
test eax, eax
je 0x427b18
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x427ab6
test dx, dx
je 0x427ab2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x427ab6
add ecx, 4
add eax, 4
test dx, dx
jne 0x427a90
xor eax, eax
jmp 0x427abb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x427aca
push dword [ebp + 8]
lea ecx, [edi + 0x24]
call fcn.00405ad0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x427ae6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x18]
test al, al
jne 0x427b04
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x18]
xchg byte [ecx], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402f30
int3
Function at 0x428ab0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4a6024]
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
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, eax
cmp eax, 0x208
jae 0x428c65
xor ecx, ecx
lea esi, [ebp - 0x218]
mov word [ebp + eax - 0x218], cx
cmp word [ebp - 0x218], cx
je 0x428b28
nop dword [eax + eax]
add esi, 2
cmp word [esi], cx
jne 0x428b20
mov ecx, str.ADVINST_LOGS
mov eax, 0x41
sub ecx, esi
mov word [esi], ax
add esi, 2
movzx eax, word [ecx + esi]
test ax, ax
jne 0x428b34
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x428b7a
xor al, al
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.00452869
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x28]
mov eax, 0x5c
mov word [esi], ax
add esi, 2
cmp dword [ecx - 0xc], 0
jne 0x428bfe
lea ecx, [ebp - 0x21c]
call fcn.00428f70
mov dword [ebp - 4], 0
cmp word [esi], 0
mov ecx, dword [eax]
je 0x428bb9
nop dword [eax + eax]
add esi, 2
cmp word [esi], 0
jne 0x428bb0
movzx eax, word [ecx]
test ax, ax
je 0x428bd2
sub ecx, esi
mov word [esi], ax
add esi, 2
movzx eax, word [ecx + esi]
test ax, ax
jne 0x428bc3
xor eax, eax
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428c34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x428c34
cmp word [esi], 0
je 0x428c0d
add esi, 2
cmp word [esi], 0
jne 0x428c04
movzx eax, word [ecx]
test ax, ax
je 0x428c2f
sub ecx, esi
nop word [eax + eax]
mov word [esi], ax
add esi, 2
movzx eax, word [ecx + esi]
test ax, ax
jne 0x428c20
xor eax, eax
mov word [esi], ax
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x428c40
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.00404e20
mov al, 1
jmp 0x428b5c
call fcn.00452a03
int3
Function at 0x42bd50
Capabilities:
Delete file
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4797f5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push ecx
lea ecx, [ebp - 0x30]
call fcn.0042b910
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42be0e
push eax
lea ecx, [ebp - 0x14]
call fcn.00426280
mov esi, dword [ebp - 0x14]
test al, al
jne 0x42bdc1
mov edi, 8
jmp 0x42be16
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42be0e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x48f270
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42be16
cmp dword [ebp - 0x24], 0
je 0x42be16
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
test ecx, ecx
je 0x42be00
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x42be16
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
jmp 0x42be16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov byte [ebp - 4], 0
cmp byte [ebp - 0x2c], 0
je 0x42be27
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call fcn.00452f38
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.00452f38
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c9c0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
push edi
push eax
push 0x23
push 0
mov esi, edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x42ca61
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x42ca59
push str.SHGetSpecialFolderPathW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x42ca59
push 0x20a
call fcn.004528d8
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], 0x105
push 0
push 0x23
push eax
push 0
call edi
test eax, eax
je 0x42ca4d
mov esi, dword [esi + 4]
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x42ca4d
nop
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x42ca30
test edx, edx
je 0x42ca4d
cmp word [esi + edx*2 - 2], 0x5c
je 0x42ca4d
mov dword [esi + edx*2], 0x5c
cmp eax, 1
pop edi
sete al
pop esi
add esp, 8
ret
pop edi
xor al, al
pop esi
add esp, 8
ret
push 0x20a
call fcn.004528d8
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], 0x105
push eax
push dword [esp + 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, eax
test edi, edi
je 0x42cab1
mov esi, dword [esi + 4]
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x42cab1
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x42ca94
test edx, edx
je 0x42cab1
cmp word [esi + edx*2 - 2], 0x5c
je 0x42cab1
mov dword [esi + edx*2], 0x5c
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 8]
push dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp edi, 1
pop edi
sete al
pop esi
add esp, 8
ret
Function at 0x42dfa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479c1d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a6024]
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
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x42e0ed
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x42e0ed
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], 0
setae al
test al, al
push 0x1f6
cmovne ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx], ax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x42e08d
mov ecx, dword [ebp - 0x18]
cmp esi, ecx
ja 0x42e069
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x42e076
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00402000
cmp dword [ebp - 0x14], 8
lea eax, [esi + 1]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x20]
lea edx, [ebp - 0x28]
push dword [edi + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x42e0d9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42e0cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e109
push ecx
push edx
call fcn.00452877
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
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.00452869
mov esp, ebp
pop ebp
ret
call fcn.00457a3f
int3
Function at 0x4330a0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47af85
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 0xc0], 0
je 0x433298
cmp byte [ebx + 0xd8], 0
jne 0x433298
cmp dword [ebx + 0x90], 3
je 0x433112
call fcn.004344a0
mov eax, dword [ebx + 0x90]
cmp eax, 2
je 0x433112
cmp eax, 1
je 0x433112
test byte [ebx + 0x44], 0x48
je 0x433112
mov ecx, ebx
call fcn.00433440
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
xor edi, edi
mov eax, dword [ebx + 0xa8]
lea esi, [ebx + 0xa4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
test eax, eax
jle 0x4331b8
nop
test edi, edi
js 0x4332aa
cmp edi, dword [esi + 4]
jge 0x4332aa
mov eax, dword [esi]
lea ecx, [edi*4]
push dword [eax + ecx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
lea esi, [ebx + 0xa4]
jne 0x4331b2
cmp edi, dword [esi + 4]
jge 0x4332aa
mov eax, dword [esi]
lea ecx, [edi*4]
add eax, ecx
lea ecx, [ebp - 0x30]
push eax
call fcn.0041b690
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x433160
mov edi, dword [ebx + 0xb4]
lea ebx, [ebx + 0xb0]
sub edi, 1
js 0x433221
nop dword [eax]
test edi, edi
js 0x4332aa
cmp edi, dword [ebx + 4]
jge 0x4332aa
mov eax, dword [ebx]
lea ecx, [edi*4]
push dword [eax + ecx]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x43321c
cmp edi, dword [ebx + 4]
jge 0x4332aa
mov eax, dword [ebx]
lea ecx, [edi*4]
add eax, ecx
lea ecx, [ebp - 0x24]
push eax
call fcn.0041b690
sub edi, 1
jns 0x4331d0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push eax
call fcn.00435550
mov ecx, ebx
call fcn.0041b5f0
mov eax, dword [ebp - 0x20]
lea esi, [eax - 1]
test esi, esi
js 0x43325c
nop
cmp esi, eax
jge 0x4332aa
mov eax, dword [ebp - 0x24]
mov ecx, ebx
lea eax, [eax + esi*4]
push eax
call fcn.0041b690
sub esi, 1
js 0x43325c
mov eax, dword [ebp - 0x20]
jmp 0x433240
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xa8], 0
jne 0x433275
cmp dword [eax + 0xb4], 0
jne 0x433275
mov cl, 1
jmp 0x433277
xor cl, cl
mov byte [eax + 0xd8], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0041b5f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041b5f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0xc000008c
call fcn.004134e0
int3
Function at 0x435e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b86f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00403270
test eax, eax
je 0x435f52
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
lea edi, [esi + 4]
mov dword [ebp - 0x14], edi
call fcn.00403270
test eax, eax
je 0x435f52
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
lea edi, [esi + 8]
mov dword [ebp - 0x14], edi
call fcn.00403270
test eax, eax
je 0x435f52
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0xc]
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 0xa
mov dword [ecx + 0x20], 0x492448
mov dword [ecx], 0x492438
mov dword [ecx + 0x20], 0x49240c
mov byte [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov word [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov byte [ebp - 4], 0xb
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402f30
int3
Function at 0x4362f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x47b9ae
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp + 0x208], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x214]
lea eax, [ebp]
push eax
push 0
push 0
push 0x25
mov dword [ebp - 0x14], esi
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4363cd
push str.WindowsPowerShell_v1.0powershell.exe
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4363cd
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4363cd
call fcn.00403270
test eax, eax
je 0x436415
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
lea eax, [ebp]
test eax, 0xffff0000
jne 0x4363a9
movzx eax, ax
mov ecx, esi
push eax
call fcn.00404b50
jmp 0x4363cb
lea ecx, [ebp]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4363b0
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404e20
jmp 0x4363e2
call fcn.00403270
mov ecx, eax
test ecx, ecx
je 0x436415
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00452869
lea esp, [ebp + 0x20c]
pop ebp
ret 4
push 0x80004005
call fcn.00402f30
int3
Function at 0x437210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4a6024]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, ecx
push esi
push 2
mov dword [esp + 0xc], eax
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xorps xmm0, xmm0
lea eax, [esp + 0x1c]
push eax
push esi
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, 5
cmp byte [ecx + 0x2c], al
cmovne eax, edx
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 8]
push 0x3e9
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xorps xmm0, xmm0
lea eax, [esp + 0xc]
push eax
push esi
movups xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x4372aa
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0x2c], 0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmovne edx, eax
mov eax, dword [esp + 0x18]
push 0x206
sub eax, ecx
mov dword [esp + 0x18], edx
push eax
mov eax, dword [esp + 0x14]
sub edx, eax
push edx
push ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.00452869
mov esp, ebp
pop ebp
ret