joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412a90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44da50
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.0040e420
mov eax, dword [esp + 0x24]
xor esi, esi
mov cx, word [eax]
test cx, cx
je 0x412afe
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
jne 0x412adf
test esi, esi
jne 0x412ae1
mov esi, eax
jmp 0x412ae1
xor esi, esi
push eax
call edi
mov cx, word [eax]
test cx, cx
jne 0x412ad1
test esi, esi
je 0x412afe
mov word [esi], cx
mov eax, dword [esp + 0x24]
sub esi, eax
sar esi, 1
mov dword [eax - 8], esi
mov eax, 0x4584dc
test eax, eax
je 0x412b12
push 0x4584dc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4584dc
push eax
lea ecx, [esp + 0x2c]
call fcn.00407d00
mov eax, dword [esp + 0x24]
xor edi, edi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x412bea
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp word [eax + edi*2], 0x5c
jne 0x412bdc
lea ecx, [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x2c]
call fcn.004033c0
mov edx, dword [esp + 0x10]
mov byte [esp + 0x1c], 1
push edx
call ebx
test eax, eax
jne 0x412ba8
mov eax, dword [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, eax
test esi, esi
jne 0x412c2c
mov esi, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ecx
push esi
mov ecx, ebp
call fcn.00414560
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.00411310
mov eax, dword [ebp + 8]
add esp, 8
inc eax
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x10]
mov edx, dword [0x458054]
mov byte [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412bdc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412bdc
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 0x24]
inc edi
cmp edi, dword [eax - 8]
jl 0x412b38
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c15
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412c15
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
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 [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c5b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412c5b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c8a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412c8a
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, esi
jmp 0x412c17
Function at 0x412c90
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 0x412cac
add esp, 0x410
ret 4
cmp eax, 0x104
jle 0x412cbe
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 0x4584e4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [esp + 4], 0
pop edi
jne 0x412cf6
xor eax, eax
add esp, 0x410
ret 4
lea edx, [esp]
push 0x4584e0
push edx
call fcn.0043a546
add esp, 8
test eax, eax
jne 0x412d15
add esp, 0x410
ret 4
push eax
call fcn.0043a498
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 0x413260
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x18
mov eax, dword [0x458560]
mov ecx, dword [0x458564]
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 0x41329e
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x4132e0
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 0x4132ca
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x4132e0
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
test edx, edx
ja 0x4132fb
jb 0x4132e0
cmp esi, 0x400
jae 0x4132fb
mov ecx, dword [esp + 0x28]
push esi
push str._d_Bytes
push ecx
call fcn.00414f30
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
test edx, edx
ja 0x4133bd
jb 0x41330d
cmp esi, 0x100000
jae 0x41335e
mov ecx, 0xa
mov eax, esi
call fcn.0043a5d0
push 0
and esi, 0x3ff
push 0x64
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.0043a560
mov ecx, eax
or ecx, edx
jne 0x413352
mov edx, dword [esp + 0x28]
push edi
push str._d_KB
push edx
call fcn.00414f30
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_KB
jmp 0x41340c
test edx, edx
ja 0x4133bd
jb 0x41336c
cmp esi, 0x40000000
jae 0x4133bd
mov ecx, 0x14
mov eax, esi
call fcn.0043a5d0
push 0
and esi, 0xfffff
push 0x19000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.0043a560
mov ecx, eax
or ecx, edx
jne 0x4133b4
mov edx, dword [esp + 0x28]
push edi
push str._d_MB
push edx
call fcn.00414f30
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_MB
jmp 0x41340c
mov ecx, 0x1e
mov eax, esi
call fcn.0043a5d0
push 0
and esi, 0x3fffffff
push 0x6400000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.0043a560
mov ecx, eax
or ecx, edx
jne 0x413405
mov edx, dword [esp + 0x28]
push edi
push str._d_GB
push edx
call fcn.00414f30
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push 0x4584ec
mov eax, dword [esp + 0x34]
push eax
call fcn.00414f30
add esp, 0x10
pop edi
pop esi
add esp, 0x18
ret 8
Function at 0x415020
Capabilities:
Delete file

Disassembly:
mov eax, 0x2020
call fcn.0043a440
mov edx, dword [esp + 0x2024]
test edx, edx
jne 0x41503e
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.0043a145
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 0x415210
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44db58
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, 0x45e5e8
call fcn.00427ba0
lea ecx, [esp + 8]
push 0x4584dc
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x24], 0
call fcn.00407e90
push 0x45e638
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x20], 1
push eax
call fcn.00417c70
mov eax, dword [esp + 0xc]
mov edx, dword [0x458054]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x18], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41529f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41529f
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415338
mov ecx, dword [esp + 4]
push ecx
call fcn.00417b70
add esp, 4
test eax, eax
jne 0x415322
push esi
mov esi, dword [esp + 8]
push 1
call fcn.00438730
push eax
push esi
call fcn.004389c0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x458054]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
pop esi
je 0x415305
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x415305
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41538e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41538e
jmp 0x41537e
mov eax, dword [esp + 4]
push 5
push str._fromInstaller
push eax
push 0
call fcn.00417e10
add esp, 0x10
mov eax, dword [esp + 4]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415363
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x415363
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41538e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41538e
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4153a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44dc52
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.00407040
lea edi, [esi + 0x78]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00417200
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.0041bb30
mov dword [esi], 0x450898
mov dword [edi], 0x45088c
mov dword [esi + 0x58], 0x450864
lea eax, [esi + 0x98]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x415422
lea ecx, [eax - 0x98]
jmp 0x415424
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.0040f180
mov eax, dword [0x458050]
mov dword [esi + 0x114], eax
mov ecx, dword [0x458050]
mov dword [esi + 0x118], ecx
lea ecx, [esi + 0x11c]
mov byte [esp + 0x18], 6
call fcn.0040f180
lea ecx, [esi + 0x18c]
mov byte [esp + 0x18], 7
call fcn.0040f180
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x18], 8
call fcn.0040cb00
lea ecx, [esi + 0x2bc]
mov byte [esp + 0x18], 9
call fcn.0040cb00
lea ecx, [esi + 0x37c]
mov byte [esp + 0x18], 0xa
call fcn.0040cb00
lea ecx, [esi + 0x43c]
mov byte [esp + 0x18], 0xb
call fcn.0040cb00
lea ecx, [esi + 0x4fc]
mov byte [esp + 0x18], 0xc
call fcn.00422c80
lea ecx, [esi + 0x518]
mov byte [esp + 0x18], 0xd
call fcn.00422c80
lea ecx, [esi + 0x534]
mov byte [esp + 0x18], 0xe
call fcn.00422c80
lea ecx, [esi + 0x550]
mov byte [esp + 0x18], 0xf
call fcn.00422c80
lea ecx, [esi + 0x56c]
mov byte [esp + 0x18], 0x10
call fcn.00422c80
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x450858
mov dword [esi + 0x588], ebx
mov dword [esi], 0x45084c
mov dword [esi + 0x58], 0x450824
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 0x415890
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 0x415a3b
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 0xf
jne 0x4158ec
push 1
call fcn.00415840
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], edi
call fcn.00415bb0
mov ecx, esi
mov dword [ebp], 0
call fcn.00415830
test eax, eax
je 0x41596c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x110
jne 0x415930
push 1
mov ecx, esi
call fcn.00415840
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.00407220
mov ecx, esi
call fcn.00415aa0
mov ecx, esi
mov dword [ebp], eax
call fcn.00415830
test eax, eax
je 0x41596c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x41596c
cmp di, 0x3f9
jne 0x415952
mov ecx, esi
call fcn.00416380
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f6
jne 0x41596c
mov ecx, esi
call fcn.00416d80
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.0041bbf0
test eax, eax
jne 0x415a2f
cmp ebx, 5
lea eax, [esi + 0x78]
jne 0x415a04
test eax, eax
je 0x41599c
lea esi, [eax - 0x78]
jmp 0x41599e
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x4159d3
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x4159c4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4159d8
test edi, edi
jne 0x4159d3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4159d8
cmp edi, 1
je 0x415a28
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.00417210
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x415a3b
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x415a28
cmp dword [eax + 0x18], ecx
je 0x415a28
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 0x415f80
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x208
mov eax, dword [0x45e460]
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 0x415fbb
mov word [esp + 0x10], ax
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x415fec
lea eax, [esp + 0x10]
test eax, eax
je 0x415fda
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.00403e10
jmp 0x41607d
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 0x41600f
cmp edi, dword [eax - 4]
jle 0x416052
mov ebp, dword [eax - 8]
cmp edi, ebp
jge 0x41601a
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.00403db0
test eax, eax
je 0x41606e
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.00402e50
mov eax, dword [ebx]
add esp, 0x10
push esi
mov dword [eax - 8], ebp
call fcn.00403f10
mov eax, dword [ebx]
test eax, eax
je 0x41606e
lea esi, [edi + 1]
push esi
push eax
push 0x91
call fcn.00403f40
sub esi, eax
cmp esi, 1
jle 0x415ff3
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00403cb0
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 0x416d80
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push str.www.360.cn
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x417e10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4508a8
push 0x43a5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1878
call fcn.0043a440
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x828], edx
mov esi, dword [ebp + 0xc]
cmp esi, edx
je 0x418006
cmp word [esi], dx
je 0x418006
mov ebx, 0x400
mov dword [ebp - 0x20], ebx
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x820]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1874], ebx
lea eax, [ebp - 0x820]
test eax, eax
jne 0x417e91
mov dword [ebp - 0x1878], edx
jmp 0x417f1d
mov word [ebp - 0x820], dx
mov dword [ebp - 0x870], 0x800
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x1870]
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x417f02
push 0x800
lea ecx, [ebp - 0x1870]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1870]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea ecx, [ebp - 0x1870]
push ecx
lea edx, [ebp - 0x1870]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
lea eax, [ebp - 0x1870]
push eax
lea ecx, [ebp - 0x820]
push ecx
jmp 0x417f0b
push ebx
push esi
lea edx, [ebp - 0x820]
push edx
call fcn.0043a145
add esp, 0xc
mov dword [ebp - 0x1878], 1
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x864]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x864], 0x3c
lea eax, [ebp - 0x820]
mov dword [ebp - 0x854], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x850], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x848], edx
mov dword [ebp - 0x860], ebx
lea eax, [ebp - 0x864]
test eax, eax
jne 0x417f68
xor esi, esi
jmp 0x417fcf
lea ecx, [ebp - 0x820]
mov dword [ebp - 0x188c], ecx
push 1
push 1
lea edx, [ebp - 0x820]
push edx
call fcn.00418020
test eax, eax
je 0x417f8f
mov eax, 1
jmp 0x417fb2
mov dword [ebp - 0x1880], 0
push 1
call fcn.00438730
push eax
lea eax, [ebp - 0x820]
push eax
call fcn.004389c0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1890], eax
test eax, eax
jne 0x417fc0
xor esi, esi
jmp 0x417fcf
lea ecx, [ebp - 0x864]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x417fe3
mov edx, dword [ebp - 0x82c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
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
Function at 0x418020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44deb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
mov dword [ebp - 0x18], eax
push ebx
push ebx
push 3
push ebx
push 3
push 0x80
push str..360SelfProtection
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4180b4
lea eax, [ebp - 0x1c]
push ebx
push eax
lea ecx, [ebp - 0x14]
push 4
push ecx
lea edx, [ebp - 0x18]
push 4
push edx
push 0x22204c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x4180b4
cmp dword [ebp - 0x14], ebx
je 0x4180b4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp eax, ebx
je 0x4180e1
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4180e1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], ebx
je 0x41810b
push edi
call fcn.00438ae0
add esp, 4
test eax, eax
jne 0x41810b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0042de20
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
xor esi, esi
call fcn.0042e6a0
cmp eax, ebx
je 0x418149
lea eax, [ebp - 0x48]
lea ecx, [ebp + 8]
push eax
push ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.0042de60
cmp eax, ebx
jne 0x418169
lea edx, [ebp + 0xc]
push edx
call fcn.00430060
add esp, 4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0042de50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
cmp eax, 3
je 0x418176
cmp eax, 2
jne 0x41817b
mov esi, 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0042de50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418830
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 0x418a73
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 0x110
jne 0x418878
push 1
call fcn.004187e0
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.00407220
mov ecx, esi
call fcn.00418a80
jmp 0x4188ee
cmp ebx, 0xf
jne 0x418898
push 1
mov ecx, esi
call fcn.004187e0
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], edi
call fcn.00418b30
jmp 0x4188b1
cmp ebx, 0x113
jne 0x4188d3
push 1
mov ecx, esi
call fcn.004187e0
push edi
mov ecx, esi
call fcn.00418d50
mov ecx, esi
mov dword [ebp], 0
call fcn.004187d0
test eax, eax
je 0x4189a4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x4a
jne 0x41890c
push 1
mov ecx, esi
call fcn.004187e0
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.00419e20
mov ecx, esi
mov dword [ebp], eax
call fcn.004187d0
test eax, eax
je 0x4189a4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x418948
cmp di, 0x3f2
jne 0x41892e
mov ecx, esi
call fcn.00418d00
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f6
jne 0x4189a4
mov ecx, esi
call fcn.00419f30
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x7e9
jne 0x418976
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 1
push edx
push eax
push ebx
mov ecx, esi
call fcn.00418ea0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0xbd1
jne 0x4189a4
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 1
push edx
push eax
push ebx
mov ecx, esi
call fcn.0041a450
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
push ebp
push edx
push edi
push ebx
push eax
lea ecx, [esi + 0x1c]
call fcn.0041bbf0
test eax, eax
jne 0x418a67
cmp ebx, 5
lea eax, [esi + 0x78]
jne 0x418a3c
test eax, eax
je 0x4189d4
lea esi, [eax - 0x78]
jmp 0x4189d6
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x418a0b
mov ecx, dword [esi + 4]
push 0xe801
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x4189fc
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x418a10
test edi, edi
jne 0x418a0b
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x418a10
cmp edi, 1
je 0x418a60
mov eax, dword [esp + 0x20]
mov edx, eax
shr edx, 0x10
movsx ecx, dx
movsx edx, ax
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.0041afa0
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x418a73
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x418a60
cmp dword [eax + 0x18], ecx
je 0x418a60
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 0x419520
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
push 1
mov eax, dword [esi + 0x264]
push 0
push eax
mov dword [esi + 0x2e8], 0x42c80000
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x394]
test eax, eax
je 0x419556
mov dword [esi + 0x390], 1
pop edi
pop esi
ret
mov eax, dword [esi + 0x70]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41957f
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0041a460
pop edi
pop esi
ret
mov ecx, esi
call fcn.0041a2a0
pop edi
pop esi
ret