joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411cb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc
mov al, byte [0x45e818]
push ebx
mov ebx, ecx
push esi
test al, 1
push edi
mov dword [esp + 0x14], ebx
jne 0x411ce7
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push ebp
push 0xd
mov ecx, 0x45e820
call fcn.00429980
mov eax, dword [ebx + 4]
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
add ebx, 0x4f0
mov dword [esp + 0x14], eax
mov esi, 0x104
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x411d24
cmp dword [eax - 4], esi
jge 0x411d8a
mov edi, dword [eax - 8]
cmp edi, esi
mov dword [esp + 0x10], edi
jle 0x411e38
test edi, edi
mov esi, edi
jne 0x411e38
mov ecx, dword [0x457050]
mov dword [ebx], ecx
lea ecx, [edi + edi + 2]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x411d68
mov edi, dword [ebx]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov eax, dword [ebx]
mov dword [eax - 8], edi
mov eax, dword [0x457054]
cmp ebp, eax
je 0x411d8a
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x411d8a
push ebp
call fcn.0042d34c
add esp, 4
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
push 0x104
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx]
pop ebp
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
jle 0x411e0c
mov ecx, dword [0x457054]
add eax, 0xfffffff4
cmp eax, ecx
je 0x411dd8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x411dd1
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [0x457050]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
push ecx
mov ecx, ebx
call fcn.00403d10
test eax, eax
je 0x411e0c
mov edi, dword [ebx]
mov edx, dword [esi + 4]
mov eax, dword [edi - 4]
lea ecx, [edx + edx + 2]
lea edx, [eax + eax + 2]
cmp edx, ecx
jb 0x411e0c
mov eax, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebx]
push 0
mov dword [edx - 8], eax
mov ecx, dword [ebx]
mov edx, dword [esp + 0x18]
mov word [ecx + eax*2], 0
mov eax, dword [edx + 0x70]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
lea edx, [esi + esi + 0xe]
push edx
call fcn.00438f1a
add esp, 4
test eax, eax
je 0x411e66
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [ebx], eax
jmp 0x411d45
xor eax, eax
jmp 0x411d8c
Function at 0x411fd0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44d58b
push eax
mov eax, 0x4024
mov dword fs:[0], esp
call fcn.00439ff0
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x3ee
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x2034]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2034]
push 0x1000
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov al, byte [0x45e818]
test al, 1
jne 0x412055
mov dl, al
mov ecx, 0x45e820
or dl, 1
mov byte [0x45e818], dl
call fcn.004296b0
push 0x403fc0
call fcn.00438860
add esp, 4
push 9
mov ecx, 0x45e820
call fcn.00429980
mov edx, dword [esi + 4]
xor ebp, ebp
mov dword [esp + 0x14], edx
lea edx, [esp + 0x14]
lea eax, [esp + 0x2034]
lea ecx, [esp + 0x2034]
push edx
mov dword [esp + 0x24], 0x45744c
mov dword [esp + 0x28], 0x59
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edx, eax
cmp edx, ebp
je 0x41215f
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41215f
mov ecx, dword [0x457050]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x4044], ebp
call fcn.00412180
test eax, eax
je 0x412108
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
jmp 0x412125
lea edx, [esp + 0x34]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0xa0]
push eax
call fcn.0040f580
push ebp
lea ecx, [esi + 0x370]
call fcn.0040dde0
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41215f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41215f
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov ecx, dword [esp + 0x4034]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4030
ret
Function at 0x412aa0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44d610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.0040e430
mov eax, dword [esp + 0x24]
xor esi, esi
mov cx, word [eax]
test cx, cx
je 0x412b0e
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
jne 0x412aef
test esi, esi
jne 0x412af1
mov esi, eax
jmp 0x412af1
xor esi, esi
push eax
call edi
mov cx, word [eax]
test cx, cx
jne 0x412ae1
test esi, esi
je 0x412b0e
mov word [esi], cx
mov eax, dword [esp + 0x24]
sub esi, eax
sar esi, 1
mov dword [eax - 8], esi
mov eax, 0x457468
test eax, eax
je 0x412b22
push 0x457468
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x457468
push eax
lea ecx, [esp + 0x2c]
call fcn.004078d0
mov eax, dword [esp + 0x24]
xor edi, edi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x412bfa
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp word [eax + edi*2], 0x5c
jne 0x412bec
lea ecx, [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403320
mov edx, dword [esp + 0x10]
mov byte [esp + 0x1c], 1
push edx
call ebx
test eax, eax
jne 0x412bb8
mov eax, dword [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, eax
test esi, esi
jne 0x412c3c
mov esi, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ecx
push esi
mov ecx, ebp
call fcn.00414570
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x10]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.00411320
mov eax, dword [ebp + 8]
add esp, 8
inc eax
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
mov byte [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412bec
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412bec
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x24]
inc edi
cmp edi, dword [eax - 8]
jl 0x412b48
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c25
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412c25
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c6b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412c6b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c9a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412c9a
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, esi
jmp 0x412c27
Function at 0x412ca0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x410
mov edx, dword [eax]
mov eax, dword [edx - 8]
test eax, eax
jne 0x412cbc
add esp, 0x410
ret 4
cmp eax, 0x104
jle 0x412cce
xor eax, eax
add esp, 0x410
ret 4
push edi
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
push ecx
push 0x2710
push 0x457470
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [esp + 4], 0
pop edi
jne 0x412d06
xor eax, eax
add esp, 0x410
ret 4
lea edx, [esp]
push 0x45746c
push edx
call fcn.0043a0f6
add esp, 8
test eax, eax
jne 0x412d25
add esp, 0x410
ret 4
push eax
call fcn.0043a048
add esp, 4
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
add esp, 0x410
ret 4
Function at 0x413270
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x18
mov eax, dword [0x4574ec]
mov ecx, dword [0x4574f0]
mov dx, word [esp + 0x1c]
mov dword [esp + 8], eax
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4132ae
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x4132f0
xor ecx, ecx
lea edx, [esp + 8]
mov dword [esp + 8], ecx
push edx
push ecx
lea eax, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4132da
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x4132f0
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
test edx, edx
ja 0x41330b
jb 0x4132f0
cmp esi, 0x400
jae 0x41330b
mov ecx, dword [esp + 0x28]
push esi
push str._d_Bytes
push ecx
call fcn.00414b00
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
test edx, edx
ja 0x4133cd
jb 0x41331d
cmp esi, 0x100000
jae 0x41336e
mov ecx, 0xa
mov eax, esi
call fcn.0043a180
push 0
and esi, 0x3ff
push 0x64
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.0043a110
mov ecx, eax
or ecx, edx
jne 0x413362
mov edx, dword [esp + 0x28]
push edi
push str._d_KB
push edx
call fcn.00414b00
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_KB
jmp 0x41341c
test edx, edx
ja 0x4133cd
jb 0x41337c
cmp esi, 0x40000000
jae 0x4133cd
mov ecx, 0x14
mov eax, esi
call fcn.0043a180
push 0
and esi, 0xfffff
push 0x19000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.0043a110
mov ecx, eax
or ecx, edx
jne 0x4133c4
mov edx, dword [esp + 0x28]
push edi
push str._d_MB
push edx
call fcn.00414b00
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_MB
jmp 0x41341c
mov ecx, 0x1e
mov eax, esi
call fcn.0043a180
push 0
and esi, 0x3fffffff
push 0x6400000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.0043a110
mov ecx, eax
or ecx, edx
jne 0x413415
mov edx, dword [esp + 0x28]
push edi
push str._d_GB
push edx
call fcn.00414b00
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push 0x457478
mov eax, dword [esp + 0x34]
push eax
call fcn.00414b00
add esp, 0x10
pop edi
pop esi
add esp, 0x18
ret 8
Function at 0x415030
Capabilities:
Delete file

Disassembly:
mov eax, 0x2020
call fcn.00439ff0
mov edx, dword [esp + 0x2024]
test edx, edx
jne 0x41504e
xor eax, eax
add esp, 0x2020
ret
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x24]
push 0x1000
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x14], 3
call fcn.00439cf5
add esp, 0xc
lea edx, [esp + 4]
lea ecx, [esp + 0x24]
mov word [esp + 0x14], 0x614
push edx
mov dword [esp + 0x10], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
pop edi
inc eax
add esp, 0x2020
ret

Function at 0x415220
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44d718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push edi
push eax
mov ecx, 0x45d550
call fcn.00427760
lea ecx, [esp + 8]
push 0x457468
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x24], 0
call fcn.00407a00
push 0x45d5a0
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x20], 1
push eax
call fcn.00417ca0
mov eax, dword [esp + 0xc]
mov edx, dword [0x457054]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x18], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4152af
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4152af
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415348
mov ecx, dword [esp + 4]
push ecx
call fcn.00417ba0
add esp, 4
test eax, eax
jne 0x415332
push esi
mov esi, dword [esp + 8]
push 1
call fcn.004382e0
push eax
push esi
call fcn.00438570
mov eax, dword [esp + 0x14]
mov ecx, dword [0x457054]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
pop esi
je 0x415315
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x415315
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41539e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41539e
jmp 0x41538e
mov eax, dword [esp + 4]
push 5
push str._fromInstaller
push eax
push 0
call fcn.00417e40
add esp, 0x10
mov eax, dword [esp + 4]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415373
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x415373
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41539e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41539e
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4153b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44d812
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00407050
lea edi, [esi + 0x78]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00417230
or eax, 0xffffffff
mov byte [edi + 0x1c], bl
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
lea edi, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.0041ba60
mov dword [esi], 0x44f870
mov dword [edi], 0x44f864
mov dword [esi + 0x58], 0x44f83c
lea eax, [esi + 0x98]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x415432
lea ecx, [eax - 0x98]
jmp 0x415434
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa0]
mov byte [esp + 0x18], 3
call fcn.0040f190
mov eax, dword [0x457050]
mov dword [esi + 0x114], eax
mov ecx, dword [0x457050]
mov dword [esi + 0x118], ecx
lea ecx, [esi + 0x11c]
mov byte [esp + 0x18], 6
call fcn.0040f190
lea ecx, [esi + 0x18c]
mov byte [esp + 0x18], 7
call fcn.0040f190
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x18], 8
call fcn.0040cb10
lea ecx, [esi + 0x2bc]
mov byte [esp + 0x18], 9
call fcn.0040cb10
lea ecx, [esi + 0x37c]
mov byte [esp + 0x18], 0xa
call fcn.0040cb10
lea ecx, [esi + 0x43c]
mov byte [esp + 0x18], 0xb
call fcn.0040cb10
lea ecx, [esi + 0x4fc]
mov byte [esp + 0x18], 0xc
call fcn.004227e0
lea ecx, [esi + 0x518]
mov byte [esp + 0x18], 0xd
call fcn.004227e0
lea ecx, [esi + 0x534]
mov byte [esp + 0x18], 0xe
call fcn.004227e0
lea ecx, [esi + 0x550]
mov byte [esp + 0x18], 0xf
call fcn.004227e0
lea ecx, [esi + 0x56c]
mov byte [esp + 0x18], 0x10
call fcn.004227e0
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x44f830
mov dword [esi + 0x588], ebx
mov dword [esi], 0x44f824
mov dword [esi + 0x58], 0x44f7fc
mov dword [esi + 0x74], 3
mov dword [esi + 0x110], 0xfffffffe
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4158a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x415a4b
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 0xf
jne 0x4158fc
push 1
call fcn.00415850
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], edi
call fcn.00415bc0
mov ecx, esi
mov dword [ebp], 0
call fcn.00415840
test eax, eax
je 0x41597c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x110
jne 0x415940
push 1
mov ecx, esi
call fcn.00415850
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.00407110
mov ecx, esi
call fcn.00415ab0
mov ecx, esi
mov dword [ebp], eax
call fcn.00415840
test eax, eax
je 0x41597c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x41597c
cmp di, 0x3f9
jne 0x415962
mov ecx, esi
call fcn.00416390
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f6
jne 0x41597c
mov ecx, esi
call fcn.00416db0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push ebp
push ecx
push edi
push ebx
push edx
lea ecx, [esi + 0x1c]
call fcn.0041bb20
test eax, eax
jne 0x415a3f
cmp ebx, 5
lea eax, [esi + 0x78]
jne 0x415a14
test eax, eax
je 0x4159ac
lea esi, [eax - 0x78]
jmp 0x4159ae
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x4159e3
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x4159d4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4159e8
test edi, edi
jne 0x4159e3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4159e8
cmp edi, 1
je 0x415a38
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
lea ecx, [esi + 0x78]
call fcn.00417240
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x415a4b
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x415a38
cmp dword [eax + 0x18], ecx
je 0x415a38
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x415f90
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x208
mov eax, dword [0x45d3d0]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x10]
push 0x100
push ecx
push 0x91
push eax
mov dword [esp + 0x1c], esi
lea ebx, [esi + 0x114]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x415fcb
mov word [esp + 0x10], ax
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x415ffc
lea eax, [esp + 0x10]
test eax, eax
je 0x415fea
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
push eax
call fcn.00403d70
jmp 0x41608d
push ebp
push edi
mov edi, 0xff
mov eax, dword [ebx]
add edi, 0x100
mov dword [esp + 0x10], edi
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
jg 0x41601f
cmp edi, dword [eax - 4]
jle 0x416062
mov ebp, dword [eax - 8]
cmp edi, ebp
jge 0x41602a
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.00403d10
test eax, eax
je 0x41607e
mov eax, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
lea edx, [esi + 0xc]
push ecx
push edx
mov edx, dword [ebx]
lea ecx, [eax + eax + 2]
push ecx
push edx
call fcn.00402e60
mov eax, dword [ebx]
add esp, 0x10
push esi
mov dword [eax - 8], ebp
call fcn.00403e70
mov eax, dword [ebx]
test eax, eax
je 0x41607e
lea esi, [edi + 1]
push esi
push eax
push 0x91
call fcn.00403f50
sub esi, eax
cmp esi, 1
jle 0x416003
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00403c10
mov esi, dword [esp + 0x14]
pop edi
pop ebp
mov ecx, dword [esi + 0xe0]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x47c]
push 1
push 0x2a
push 0x74
push 0xe4
push 0xda
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x417ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f890
push 0x43a1a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x418114
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], edi
push edi
push edi
push 3
push edi
push 3
push 0x80
push str..360SelfProtection
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x34], edi
cmp edi, 0xffffffff
jne 0x418060
xor eax, eax
mov dword [ebp - 0x40], eax
jmp 0x418099
push 0
lea eax, [ebp - 0x38]
push eax
push 4
lea ecx, [ebp - 0x30]
push ecx
push 4
lea edx, [ebp - 0x3c]
push edx
push 0x22204c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
mov dword [ebp - 0x2c], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, dword [ebp - 0x30]
mov eax, esi
mov dword [ebp - 0x40], eax
mov esi, dword [ebp + 8]
test eax, eax
jne 0x4180de
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x4180de
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4180de
push ebx
call fcn.00438690
add esp, 4
test eax, eax
je 0x4180de
push ebx
call fcn.00417ba0
add esp, 4
test eax, eax
jne 0x4180de
push 1
call fcn.004382e0
push eax
push ebx
call fcn.00438570
add esp, 0xc
xor eax, eax
jmp 0x4180e3
mov eax, 1
mov dword [ebp - 0x48], eax
test eax, eax
je 0x418114
push esi
call fcn.004387c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret