joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411570
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, ecx
push esi
mov ebx, edx
call edi
test eax, eax
jne 0x4115f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4115f3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 5
je 0x4115af
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
test eax, eax
jne 0x4115f3
test bl, 2
je 0x4115ca
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
push 4
push ecx
push esi
call fcn.0040d100
push esi
call edi
test eax, eax
jne 0x4115f3
test bl, 1
je 0x4115ea
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4115ea
mov eax, 2
pop edi
pop esi
pop ebx
pop ebp
ret 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x411600
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, ecx
push esi
mov ebx, edx
call edi
test eax, eax
jne 0x411683
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411683
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 5
je 0x41163f
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
test eax, eax
jne 0x411683
test bl, 2
je 0x41165a
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
push 5
push ecx
push esi
call fcn.0040d100
push esi
call edi
test eax, eax
jne 0x411683
test bl, 1
je 0x41167a
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41167a
pop edi
pop esi
mov eax, 2
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x411700
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x41174c
test eax, eax
je 0x41174c
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x41174c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
xor edx, edx
call fcn.004310db
mov esp, ebp
pop ebp
ret
Function at 0x411760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4117ae
test eax, eax
je 0x4117ae
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0xffff
push ecx
push 2
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ax, word [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffff
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret

Function at 0x4117d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x41181a
test eax, eax
je 0x41181a
push 0
lea ecx, [ebp - 0xc]
mov byte [ebp - 5], 0xff
push ecx
push 1
lea ecx, [ebp - 5]
mov dword [ebp - 0xc], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or al, 0xff
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret
Function at 0x411b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x411b6d
test eax, eax
je 0x411b6d
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8

Function at 0x411b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fd68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x48100c]
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 [ebx]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x411cab
test eax, eax
je 0x411cab
mov ecx, edi
mov dword [ebp - 0x14], 0
call fcn.0040aae0
mov ecx, ebx
call fcn.004116e0
push 0x452818
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 2]
push ecx
call fcn.004314b0
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x411c98
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, ecx
shr eax, 1
push edx
mov dword [ebp - 0x1c], eax
mov word [esi + eax*2], dx
lea eax, [ebp - 0x14]
push eax
push ecx
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411c98
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x14]
mov byte [esi + eax + 1], 0
mov eax, dword [ebx + 4]
test al, 0x20
je 0x411c51
mov eax, esi
xor esi, esi
push esi
push eax
call fcn.0040ab50
mov ecx, edi
call fcn.0040ab30
mov edi, eax
jmp 0x411c9a
test al, 0x40
je 0x411c69
push dword [ebp - 0x1c]
push esi
call fcn.0040c010
mov ecx, edi
call fcn.0040ab30
mov edi, eax
jmp 0x411c9a
test eax, 0x180
je 0x411c84
sub esp, 8
push esi
call fcn.0040c090
mov ecx, edi
call fcn.0040ab30
mov edi, eax
jmp 0x411c9a
sub esp, 0xc
push esi
call fcn.0040bfb0
mov ecx, edi
call fcn.0040ab30
mov edi, eax
jmp 0x411c9a
xor edi, edi
test esi, esi
je 0x411ca7
push esi
call fcn.0043112d
add esp, 4
mov eax, edi
jmp 0x411cad
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 - 0x10]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
Function at 0x411d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [edx]
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0xffffffff
je 0x411e59
test esi, esi
je 0x411e59
cmp edi, 1
jge 0x411d47
mov ecx, ebx
call fcn.0040c740
mov edi, eax
test edi, edi
je 0x411e59
mov eax, dword [edx + 4]
mov dword [ebp - 8], 0
test al, 0x60
je 0x411d81
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + edi]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
pop edi
sbb eax, eax
and eax, dword [ebp - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
test eax, 0x188
je 0x411e19
push 0
push 0
push 0
push 0
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411e59
push 0x452818
push eax
call fcn.004314b0
add esp, 8
mov esi, eax
push 0
push 0
push dword [ebp - 0x10]
push esi
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x411df5
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x411df5
mov edi, dword [ebp - 8]
jmp 0x411df7
xor edi, edi
test esi, esi
je 0x411e04
push esi
call fcn.0043112d
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
push 0x452818
push edi
call fcn.004314b0
add esp, 8
mov esi, eax
push 0
push 0
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, dword [ebp - 8]
jmp 0x411df7
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004310db
mov esp, ebp
pop ebp
ret 8

Function at 0x411e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x411ebd
test eax, eax
je 0x411ebd
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
Function at 0x411fd0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fd98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x68]
push 0x44
push 0
push eax
call fcn.00435d50
add esp, 0xc
mov dword [ebp - 0x68], 0x44
mov eax, 5
mov dword [ebp - 0x3c], 1
xorps xmm0, xmm0
mov word [ebp - 0x38], ax
mov ecx, esi
movups xmmword [ebp - 0x7c], xmm0
call fcn.0040c740
neg eax
mov ecx, edi
sbb eax, eax
and eax, esi
mov dword [ebp - 0x84], eax
call fcn.0040c740
neg eax
movq qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x1c]
sbb eax, eax
and eax, edi
mov dword [ebp - 0x80], eax
call fcn.0040a9a0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x6c], 0
call esi
mov ecx, eax
call fcn.00412620
xor edi, edi
call esi
mov ecx, eax
call fcn.00412620
test eax, eax
je 0x4120a7
lea ecx, [ebp - 0x6c]
call fcn.004124c0
mov edi, eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x80]
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test edi, edi
je 0x4120d8
mov ecx, dword [ebp - 0x6c]
call fcn.00412580
test esi, esi
je 0x4120e8
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x1c]
call fcn.0040aad0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc

Function at 0x4126f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4126ff
xor al, al
ret
shr eax, 4
and al, 1
ret
Function at 0x412710
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fed8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
push esi
movq qword [ebp - 0x1c], xmm0
call fcn.0040a9e0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.0040ab30
test eax, eax
je 0x412957
cmp word [esi + eax*2 - 2], 0x5c
jne 0x41278b
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040b4e0
lea ecx, [ebp - 0x1c]
call fcn.0040abf0
mov ecx, eax
call fcn.004126f0
test al, al
jne 0x41291a
push ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push 0x470534
movq qword [ebp - 0x24], xmm0
call fcn.0040a9e0
push 4
push 1
push 1
push 1
push 0x470534
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040b580
lea ecx, [ebp - 0x1c]
test eax, eax
je 0x4127dc
push 4
jmp 0x412829
push 2
push 1
push 1
push 1
push 0x4701e0
call fcn.0040b580
test eax, eax
je 0x41282e
push 0
push 1
push 3
push 1
push 0x46fd20
lea ecx, [ebp - 0x1c]
call fcn.0040b580
mov esi, eax
test esi, esi
je 0x41294f
push esi
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040abf0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040c0f0
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040b520
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x46fd20
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0x38], xmm0
call fcn.0040abf0
push eax
lea ecx, [ebp - 0x38]
call fcn.0040c440
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0040c560
cmp eax, 2
jb 0x412947
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.0040c550
push eax
lea ecx, [ebp - 0x24]
call fcn.0040abf0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040ab90
lea ecx, [ebp - 0x38]
mov esi, 1
call fcn.0040c560
cmp eax, esi
jbe 0x41290a
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [eax + eax]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [ebp - 0x38]
call fcn.0040c550
push eax
push 0x46fd20
lea ecx, [ebp - 0x1c]
call fcn.0040b830
lea ecx, [ebp - 0x1c]
call fcn.0040abf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4128fd
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040abf0
push eax
call edi
test eax, eax
je 0x412947
lea ecx, [ebp - 0x38]
inc esi
call fcn.0040c560
cmp esi, eax
jb 0x4128b0
lea ecx, [ebp - 0x38]
call fcn.0040c4b0
lea ecx, [ebp - 0x24]
call fcn.0040aad0
mov byte [ebp - 0x39], 1
lea ecx, [ebp - 0x1c]
call fcn.0040aad0
mov al, byte [ebp - 0x39]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x38]
call fcn.0040c4b0
lea ecx, [ebp - 0x24]
call fcn.0040aad0
mov byte [ebp - 0x39], 0
jmp 0x41291e
Function at 0x412960
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x48100c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x4129a9
xorps xmm0, xmm0
or esi, 0xffffffff
movlpd qword [esp + 0x10], xmm0
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x4129e5
cmp esi, 0xffffffff
jne 0x4129c1
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x4129e5
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp esi, 0xffffffff
je 0x4129f5
test esi, esi
je 0x4129f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
mov edx, edi
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004310db
mov esp, ebp
pop ebp
ret

Function at 0x412a10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ff08
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x48100c]
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, edx
mov esi, ecx
cmp byte [ebp + 8], 0
je 0x412ae1
push 0x20019
push str.HKLM64SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0040d3d0
push esi
push str.ProgramFilesDir
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0040d580
mov ecx, esi
call fcn.0040ad30
test al, al
je 0x412a8f
push 1
push str.C:Program_Files
mov ecx, esi
call fcn.0040ab50
push 0
push 0x104
mov ecx, edi
call fcn.0040ae60
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x412ad7
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.__x86_
mov ecx, esi
call fcn.0040abf0
push eax
mov ecx, edi
call fcn.0040ab90
lea ecx, [ebp - 0x14]
call fcn.0040d450
jmp 0x412b0d
push 0
push 0x104
call fcn.0040ae60
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 1
mov ecx, esi
call fcn.0040abf0
push eax
mov ecx, edi
call fcn.0040ab50
mov al, 1
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.004310db
mov esp, ebp
pop ebp
ret 4
Function at 0x413410
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x48100c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
push ecx
xorps xmm0, xmm0
push ecx
lea ecx, [esp + 0x18]
movq qword [esp + 0x18], xmm0
call fcn.0040a9e0
lea ecx, [esp + 0x10]
call fcn.0040ab30
test eax, eax
jne 0x413455
xor edi, edi
jmp 0x4134d9
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x41346c
or esi, 0xffffffff
xor edi, edi
jmp 0x4134c9
cmp esi, 0xffffffff
jne 0x413475
xor edi, edi
jmp 0x4134c9
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x22c
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4134c9
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x14]
call fcn.0040aaa0
test al, al
jne 0x4134bd
mov ecx, dword [esp + 0x20]
call fcn.00413220
movzx eax, al
push 0xa
add edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x18]
push eax
push esi
call ebx
test eax, eax
jne 0x413495
cmp esi, 0xffffffff
je 0x4134d9
test esi, esi
je 0x4134d9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.0040aad0
mov ecx, dword [esp + 0x24c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004310db
mov esp, ebp
pop ebp
ret
Function at 0x414c80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fa18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x48100c]
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 eax, dword [esi + 0x22c]
test eax, eax
jne 0x414cbe
xor al, al
jmp 0x414e0c
cmp byte [esi + 0x241], 2
jae 0x414cd0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movq qword [ebp - 0x18], xmm0
call fcn.0040a9a0
push 0x104
push 0
push 0x104
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0040ae60
push eax
push dword [esi + 0x22c]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jne 0x414d15
push eax
lea ecx, [ebp - 0x18]
call fcn.0040aa90
cmp dword [esi + 0x3c], 0
je 0x414d2c
mov eax, dword [esi + 0x40]
test eax, eax
je 0x414d2c
push ecx
push eax
push ecx
mov ecx, esi
call fcn.004189a0
mov eax, dword [esi + 0x234]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x414d3f
push eax
call ebx
mov eax, dword [esi + 0x238]
test eax, eax
je 0x414d4c
push eax
call ebx
mov eax, dword [esi + 0x1fc]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x414d5f
push eax
call edi
mov eax, dword [esi + 0x200]
test eax, eax
je 0x414d6c
push eax
call edi
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x414d79
push eax
call edi
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x414d8a
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x254]
test eax, eax
je 0x414d9b
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp byte [esi + 0x241], 2
jae 0x414dd6
push dword [esi + 0x22c]
call ebx
cmp byte [esi + 0x241], 0
jne 0x414dd6
lea ecx, [ebp - 0x18]
call fcn.0040ab30
test eax, eax
je 0x414dd6
push dword [esi + 0x118]
lea ecx, [ebp - 0x18]
call fcn.0040abf0
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x414de7
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
push esi
push 0x413eb0
push dword [esi + 0x22c]
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
push 0
mov ecx, esi
call fcn.0041ac40
lea ecx, [ebp - 0x18]
call fcn.0040aad0
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.004310db
mov esp, ebp
pop ebp
ret
Function at 0x417960
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450251
mov eax, dword fs:[0]
push eax
mov eax, 0x11e8
call fcn.0044cab0
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
push str.HKCUSoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
call fcn.0040d3d0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.0040d440
test eax, eax
jne 0x4179d3
xor bl, bl
jmp 0x417b9b
cmp dword [ebp - 0x220], 0
jne 0x417b61
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 0x2af9
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
sub esp, 0x1c
lea eax, [ebp - 0x21c]
xorps xmm0, xmm0
lea ecx, [ebp - 0x234]
movq qword [ebp - 0x234], xmm0
push 0
push 0
push 0
push str.Internet_exploreriexplore.exe
push eax
call fcn.0040aa10
push 0xfbc
lea eax, [ebp - 0x11f4]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00435d50
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040abf0
push eax
lea ecx, [ebp - 0x11f4]
call fcn.00410090
sub esp, 0xc
mov byte [ebp - 4], 2
xorps xmm0, xmm0
lea ecx, [ebp - 0x11f4]
movq qword [ebp - 0x22c], xmm0
call fcn.00410110
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040a9e0
push 2
push 1
push 1
push 1
push 0x4709d0
lea ecx, [ebp - 0x22c]
call fcn.0040b580
test eax, eax
je 0x417aac
mov dword [ebp - 0x220], 0x22b8
jmp 0x417b2a
push 2
push 1
push 1
push 1
push 0x4709d8
lea ecx, [ebp - 0x22c]
call fcn.0040b580
test eax, eax
je 0x417ad4
mov dword [ebp - 0x220], 0x270f
jmp 0x417b2a
push 3
push 1
push 1
push 1
push 0x4709e0
lea ecx, [ebp - 0x22c]
call fcn.0040b580
test eax, eax
je 0x417afc
mov dword [ebp - 0x220], 0x2711
jmp 0x417b2a
push 3
push 1
push 1
push 1
push 0x4709e8
lea ecx, [ebp - 0x22c]
call fcn.0040b580
mov ecx, dword [ebp - 0x220]
test eax, eax
mov edx, 0x2ee1
cmovne ecx, edx
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x22c]
call fcn.0040aad0
lea ecx, [ebp - 0x240]
call fcn.0040aad0
lea ecx, [ebp - 0x248]
call fcn.0040aad0
lea ecx, [ebp - 0x250]
call fcn.0040aad0
lea ecx, [ebp - 0x234]
call fcn.0040aad0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
push 0
lea eax, [ebp - 0x220]
push eax
push 4
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040d920
mov bl, al
lea ecx, [ebp - 0x224]
call fcn.0040d450
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 4