joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4510b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov eax, esi
shr eax, 0x1f
push edi
movd xmm0, esi
sub esp, 8
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x49da40]
divsd xmm0, qword [0x49da08]
movsd qword [ebp - 0xc], xmm0
fld qword [ebp - 0xc]
fstp qword [esp]
call fcn.0047f580
fstp qword [ebp - 0xc]
movsd xmm0, qword [ebp - 0xc]
add esp, 8
mulsd xmm0, qword [0x49da10]
call fcn.00480931
mov dword [ebp - 8], eax
test ebx, ebx
je 0x4511ec
mov edi, dword [ebp + 8]
test edi, edi
je 0x4511ec
cmp eax, dword [ebp + 0xc]
ja 0x4511ec
xor ecx, ecx
test esi, esi
je 0x4511b2
cmp ecx, esi
jae 0x45113a
movzx edx, byte [ecx + ebx]
inc ecx
jmp 0x45113c
xor edx, edx
cmp ecx, esi
jae 0x45114a
movzx eax, byte [ecx + ebx]
inc ecx
mov dword [ebp - 4], eax
jmp 0x451151
mov dword [ebp - 4], 0
cmp ecx, esi
jae 0x45115c
movzx eax, byte [ecx + ebx]
inc ecx
jmp 0x45115e
xor eax, eax
shl edx, 8
add edx, dword [ebp - 4]
shl edx, 8
add edx, eax
mov eax, edx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], al
mov eax, edx
shr eax, 6
and edx, 0x3f
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 2], al
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 3], al
add edi, 4
cmp ecx, esi
jb 0x451133
mov edi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [ebp - 8]
sub esi, eax
mov ecx, dword [esi*4 + 0x49b7a0]
test ecx, ecx
jle 0x4511de
lea eax, [edx - 1]
add eax, edi
mov byte [eax], 0x3d
lea eax, [eax - 1]
sub ecx, 1
jne 0x4511d3
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov al, 1
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486c78
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4528d3
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x4528ed
xor ecx, ecx
jmp 0x452901
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4528f2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.0042c380
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x452950
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x45292f
cmp eax, 3
je 0x45292f
cmp eax, 0x15
jne 0x452950
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x452971
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x452971
mov bl, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x452971
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b64f
mov esp, ebp
pop ebp
ret
Function at 0x452ec0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486d38
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ad014]
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 dword [ebp - 0x38], edx
mov byte [ebp - 0x31], cl
mov dword [ebp - 4], 0
mov ebx, 1
mov esi, dword [ebp + 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x452f19
push 0
lea ecx, [ebp + 8]
call fcn.0042c2a0
mov esi, dword [ebp + 8]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x452f20
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
lea eax, [esi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045b6a6
mov edi, eax
add esp, 4
mov eax, dword [ebp + 8]
sub ebx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, ebx
jge 0x452f67
push 0
lea ecx, [ebp + 8]
call fcn.0042c2a0
mov eax, dword [ebp + 8]
push eax
lea eax, [esi + 2]
push eax
push edi
call fcn.0046b596
xor eax, eax
add esp, 0xc
cmp byte [ebp - 0x31], 0
mov dword [edi + esi*2], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov eax, 0x14
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], edi
mov word [ebp - 0x20], ax
jne 0x452fa2
mov eax, 0x54
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1e], 0
push eax
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x1a], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
mov esi, eax
call fcn.0045b660
add esp, 4
mov eax, 0x8123
test edi, edi
cmovne edi, eax
test esi, esi
sete bl
test bl, bl
jne 0x452ff2
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x452ff2
mov ecx, dword [ebp - 0x38]
call fcn.0042ad60
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x453014
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.0045b64f
mov esp, ebp
pop ebp
ret
Function at 0x453040
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486d68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ad014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov bl, cl
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4530a9
test al, 0x10
je 0x4530a9
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
mov dword [ebp - 0x10], esi
lea ecx, [ecx - 0x10]
call fcn.0042c240
add eax, 0x10
mov edx, edi
mov cl, bl
mov dword [esi], eax
call fcn.00452ec0
add esp, 4
mov bl, al
jmp 0x4530c4
push dword [ebp + 8]
push str.CFileSystemUtils::DeleteDirectory
push str._s_Directory_does_not_exist___s_
push 0
push 6
call fcn.00454a40
add esp, 0x14
mov bl, 1
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4530e6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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 0x4532b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4532e0
test al, 0x10
je 0x4532e0
push dword [esi]
push str.CFileSystemUtils::CreateDirectoryRecurcive
push str._s_Directory_already_exists___s_
push 0
push 6
call fcn.00454a40
add esp, 0x14
mov al, 1
pop esi
ret
push 0
push dword [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [esi]
push str.CFileSystemUtils::CreateDirectoryRecurcive
test eax, eax
je 0x453328
cmp eax, 0xb7
jne 0x453313
push str._s_Failed_to_create_directory_because_but_just_because_it_already_exists___s_
push 0
push 6
call fcn.00454a40
add esp, 0x14
mov al, 1
pop esi
ret
push str._s_Failed_to_create_directory___s_
push 0
push 6
call fcn.00454a40
add esp, 0x14
xor al, al
pop esi
ret
push str._s_Created_directory_successfully___s_
push 0
push 6
call fcn.00454a40
add esp, 0x14
mov al, 1
pop esi
ret
Function at 0x453340
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486dc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4ad014]
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 esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
call fcn.004531c0
test al, al
jne 0x4533ae
push dword [edi]
push str.CFileSystemUtils::CopyFileW
push str._s_file_not_exists___s_
push 0
push 6
call fcn.00454a40
add esp, 0x14
mov ecx, ebx
push 0x14
push str.file_does_not_exists
call fcn.0042c380
xor al, al
jmp 0x45344c
push ecx
mov ecx, esi
call fcn.004532b0
add esp, 4
test al, al
jne 0x4533d9
push dword [esi]
push str.CFileSystemUtils::CopyFileW
push str._s_directory_create_error___s_
push 0
push 6
call fcn.00454a40
add esp, 0x14
xor al, al
jmp 0x45344c
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4533ee
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x14]
push dword [esi]
push str._s_s
push eax
call fcn.0042d1b0
mov esi, dword [ebp - 0x14]
add esp, 0x10
push 0
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov dword [ebp - 4], 0xffffffff
setne bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45344a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.0045b64f
mov esp, ebp
pop ebp
ret
Function at 0x454100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486e78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ad014]
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
cmp dword [ebx + 0x38], 0
je 0x45422e
cmp byte [ebx + 0x3d], 0
je 0x45422e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x454159
xor al, al
jmp 0x454230
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0044f7b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4541bf
sub eax, 1
je 0x4541c3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x454216
xor bl, bl
jmp 0x454218
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4541f8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0046bb02
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x4541bb
cmp byte [ebx + 0x3d], 0
je 0x454216
test esi, esi
jne 0x454181
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044a100
jmp 0x45417e
mov bl, 1
cmp ecx, 0x10
jb 0x45422a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0042bf50
mov al, bl
jmp 0x454230
mov al, 1
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.0045b64f
mov esp, ebp
pop ebp
ret
Function at 0x454770
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486f62
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x444], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x424], 0
movq qword [ebp - 0x42c], xmm0
mov dword [edi], 0
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4547fb
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], 1
push 0
push eax
call fcn.0045ff60
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0045ff60
add esp, 0x18
mov dword [ebp - 0x440], esi
cmp byte [ebp + 0x18], 0
mov eax, 1
mov ecx, 0x11
cmovne eax, ecx
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
je 0x4548a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4548a0
test al, 0x10
je 0x4548a0
push ecx
mov ecx, dword [ebp + 0x10]
mov esi, esp
mov dword [ebp - 0x448], esi
lea ecx, [ecx - 0x10]
call fcn.0042c240
add eax, 0x10
mov dword [esi], eax
call fcn.004546a0
add esp, 4
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x4548e2
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x218]
push eax
push 0x4971dc
push edi
call fcn.0042d1b0
add esp, 0xc
jmp 0x4548e9
mov ecx, edi
call fcn.0042ad60
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp + 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45490a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x454926
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.0045b64f
mov esp, ebp
pop ebp
ret 0x14
Function at 0x455a00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4ad014]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push str.CProcessKiller::CProcessKiller
push str._s_Started
push 0
push 5
mov esi, ecx
call fcn.00454a40
add esp, 0x10
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x455ae3
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x455ae3
mov eax, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x455aba
push str.CProcessKiller::CProcessKiller
push str._s_Successfully_changed_token_privileges
push 0
push 5
call fcn.00454a40
add esp, 0x10
jmp 0x455ae3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x455acc
movzx eax, ax
or eax, 0x80070000
push eax
push str.CProcessKiller::CProcessKiller
push str._s_Failed_to_change_token_privileges_error__0x_x_
push 0
push 5
call fcn.00454a40
add esp, 0x14
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0045b64f
mov esp, ebp
pop ebp
ret
Function at 0x455b00
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Started_for___s_
push 0
push 5
call fcn.00454a40
add esp, 0x14
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.00455cd0
mov edi, eax
test edi, edi
jne 0x455b76
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Could_not_find_the_process_or_get_a_handle_of_it___s_
push eax
push 5
call fcn.00454a40
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b64f
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Found_the_process___s___Handle__0x_x_
push 0
push 5
call fcn.00454a40
push str.CProcessKiller::KillProcess
push str._s_Starting_loop
push 0
push 5
call fcn.00454a40
add esp, 0x28
xor ebx, ebx
push dword [esi]
inc ebx
push ebx
push str.CProcessKiller::KillProcess
push str._s_Loop_iteration___d___Process___s_
push 0
push 5
call fcn.00454a40
add esp, 0x18
push dword [ebp - 8]
push 0x456390
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Waiting_for_process_to_signal___s_
push 0
push 5
call fcn.00454a40
add esp, 0x14
push 0x1f4
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
push str.CProcessKiller::KillProcess
test eax, eax
je 0x455c33
push str._s_Timeout_while_waiting_for_the_process___s_
push 0
push 5
call fcn.00454a40
add esp, 0x14
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x455c4b
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Terminate_Process_failed_for_the_process___s_
push eax
push 5
call fcn.00454a40
jmp 0x455c48
push str._s_Finished_waiting_for_the_process___s_
push 0
push 5
call fcn.00454a40
mov dword [ebp - 0xc], 1
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 5
jge 0x455c7f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.00455cd0
mov edi, eax
test edi, edi
jne 0x455ba5
jmp 0x455c97
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Breaking_the_loop___s_
push 0
push 5
call fcn.00454a40
add esp, 0x14
push dword [esi]
push ebx
push str.CProcessKiller::KillProcess
push str._s_Ended_the_loop_after___d__iterations__Process___s_
push 0
push 5
call fcn.00454a40
mov ecx, dword [ebp - 4]
add esp, 0x18
cmp dword [ebp - 0xc], 1
sete al
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.0045b64f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x456400
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487118
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ad014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
push 0
mov dword [ebp - 4], 0
xor bl, bl
push 0
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4564d4
inc eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045b6a6
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
push dword [ebp - 0x18]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4564c7
test esi, esi
jne 0x45649c
xor ecx, ecx
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042c380
jmp 0x4564c5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4564a1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042c380
jmp 0x4564c5
mov bl, 1
test esi, esi
je 0x4564d4
push esi
call fcn.0045b660
add esp, 4
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4564f6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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 0x458750
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x38
mov dword [ebp - 0x44], eax
mov edi, edx
lea eax, [ebp - 0x3c]
mov esi, ecx
push 0
push eax
call fcn.0045ff60
push 0x1000
mov dword [ebp - 0x40], 0x3c
call fcn.0045b6a6
push 0x1000
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x800
call fcn.0045b6a6
add esp, 0x14
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 0x800
push ecx
push 0
push dword [eax - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4587f2
push dword [ebp - 0x30]
call fcn.0045b660
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
call fcn.0045b660
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b64f
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x4587fd
xor ecx, ecx
jmp 0x458811
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458802
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0042c380
mov edx, dword [ebp - 0x14]
test edx, edx
jne 0x458825
xor ecx, ecx
jmp 0x45883f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458830
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0042c380
mov ecx, dword [ebp - 0x44]
movzx eax, word [ebp - 0x28]
push dword [ebp - 0x30]
mov dword [ecx], eax
call fcn.0045b660
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
call fcn.0045b660
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.0045b64f
mov esp, ebp
pop ebp
ret
Function at 0x4597a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487659
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ad014]
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 esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
push eax
push str.iexplore.exe
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [esi], 0
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x459822
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
test ebx, ebx
je 0x4598b1
push ebx
call fcn.0045b6a6
add esp, 4
mov edi, eax
push edi
push ebx
push dword [ebp - 0x14]
push str.iexplore.exe
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4598a8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x496348
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4598a8
cmp dword [ebp - 0x18], 0
je 0x4598a8
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x4598a8
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
call fcn.0042d1b0
add esp, 0x18
push edi
call fcn.0045b660
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.0045b64f
mov esp, ebp
pop ebp
ret