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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4550e8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ebp, ebp
cmp eax, ebp
jne 0x4165a4
mov edi, 3
jmp 0x4165bc
cmp dword [esi + 0x64], ebp
je 0x4165b0
mov edi, 2
jmp 0x4165bc
mov eax, dword [esi + 0x68]
xor ecx, ecx
cmp eax, ebp
setne cl
mov edi, ecx
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x10]
push ebx
push edx
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xa8]
push edi
lea edx, [esi + 0x70]
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00416780
mov eax, dword [str.lF_F]
mov dword [esp + 0x10], eax
mov ecx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp ecx, 1
mov dword [esp + 0x2c], ebp
mov edi, 0x80
jg 0x41661b
cmp dword [eax - 4], edi
jge 0x416681
mov ebp, dword [eax - 8]
cmp ebp, edi
jle 0x416628
test ebp, ebp
mov edi, ebp
je 0x416653
lea edx, [edi + edi + 0xe]
push edx
call fcn.00440c16
add esp, 4
test eax, eax
je 0x416771
mov dword [eax], 1
mov word [eax + edi*2 + 0xc], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
add eax, 0xc
lea ecx, [ebp + ebp + 2]
lea edx, [ebx + 0xc]
push ecx
lea ecx, [edi + edi + 2]
push edx
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.00402fc0
mov edx, dword [esp + 0x20]
add esp, 0x10
push ebx
mov dword [edx - 8], ebp
call fcn.00404290
mov eax, dword [esp + 0x10]
xor ebp, ebp
push 0x80
push eax
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x10]
pop ebx
mov eax, dword [ecx - 0xc]
lea edi, [ecx - 0xc]
cmp eax, 1
jle 0x4166dc
lea ecx, [esp + 0xc]
call fcn.00404250
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push edx
call fcn.00404130
test eax, eax
je 0x4166dc
mov eax, dword [edi + 4]
add edi, 0xc
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push ecx
push edi
mov edx, dword [eax - 4]
lea ecx, [edx + edx + 2]
push ecx
push eax
call fcn.00402fc0
add esp, 0x10
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0xc]
mov word [edx + eax*2], bp
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], ebp
je 0x416732
mov ecx, dword [esi + 0x24]
push 0xff
push 1
push ebp
push ebp
push 1
lea eax, [esp + 0x24]
push 0x424242
push eax
mov eax, dword [esp + 0x4c]
add esi, 0x20
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
push eax
call fcn.00433be0
mov eax, dword [esp + 0x38]
add esp, 0x2c
mov edx, dword [0x46005c]
lea ecx, [eax - 0xc]
pop edi
pop esi
cmp ecx, edx
pop ebp
je 0x416760
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416760
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00439890
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
xor eax, eax
jmp 0x41667f
Function at 0x416bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x455137
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00410190
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x5c]
cmp eax, edi
je 0x416c33
lea ecx, [eax - 0x5c]
jmp 0x416c35
xor ecx, ecx
push eax
add ecx, 0x44
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0x64]
mov byte [esp + 0x14], 2
call fcn.0042e4e0
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 3
call fcn.0042e4e0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x14], 4
call fcn.0042e4e0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi], 0x458804
mov dword [esi + 0x3c], 0x4587f8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4178a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00410190
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x58], eax
lea eax, [esi + 0x5c]
mov dword [esi + 0x54], edi
cmp eax, edi
je 0x4178c5
lea ecx, [eax - 0x5c]
jmp 0x4178c7
xor ecx, ecx
push eax
push 0x40
add ecx, 0x44
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [str.lF_F]
mov eax, esi
mov dword [esi + 0x64], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi], 0x458818
mov dword [esi + 0x3c], 0x45880c
pop edi
pop esi
ret

Function at 0x4180f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x18], edi
cmp eax, edi
je 0x418110
lea ecx, [eax - 0x20]
jmp 0x418112
xor ecx, ecx
push eax
push 0x40
add ecx, 8
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 0x28], edi
mov dword [esi + 4], edi
mov dword [esi], 0x45881c
mov dword [esi + 0x2c], 0x42c80000
mov eax, esi
pop edi
pop esi
ret

Function at 0x4181a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp eax, 0x64
mov esi, ecx
jne 0x4181fd
fld dword [esi + 0x2c]
fsub dword [0x458828]
fst dword [esi + 0x2c]
fcomp dword [0x458808]
fnstsw ax
test ah, 0x41
jne 0x4181ce
call fcn.00418270
pop esi
ret 4
mov eax, dword [esi + 4]
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x30]
test esi, esi
je 0x4181fd
push 0
push 0
push 0xbd1
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4
Function at 0x419c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x4554d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x18], ebx
or eax, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov byte [esi + 0x94], bl
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
lea edi, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.004248c0
mov dword [esi], 0x4588cc
mov dword [edi], 0x4588c0
mov dword [esi + 0x58], 0x458898
lea eax, [esi + 0x9c]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x419d22
lea ebx, [eax - 0x9c]
push eax
lea ecx, [ebx + 8]
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 3
call fcn.004178a0
lea ecx, [esi + 0x114]
mov byte [esp + 0x18], 4
call fcn.004178a0
lea ecx, [esi + 0x184]
mov byte [esp + 0x18], 5
call fcn.004178a0
lea ecx, [esi + 0x1f4]
mov byte [esp + 0x18], 6
call fcn.00415180
lea ecx, [esi + 0x2bc]
mov byte [esp + 0x18], 7
call fcn.00415180
lea ecx, [esi + 0x384]
mov byte [esp + 0x18], 8
call fcn.00415180
lea ecx, [esi + 0x44c]
mov byte [esp + 0x18], 9
call fcn.00415180
lea ecx, [esi + 0x514]
mov byte [esp + 0x18], 0xa
call fcn.00415180
lea ecx, [esi + 0x5dc]
mov byte [esp + 0x18], 0xb
call fcn.00415180
mov eax, dword [str.lF_F]
mov dword [esi + 0x6a4], eax
lea ecx, [esi + 0x6a8]
mov byte [esp + 0x18], 0xd
call fcn.00412670
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x45888c
mov dword [esi], 0x458878
mov dword [esi + 0x58], 0x458850
mov dword [esi + 0x74], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41a900
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45568b
push eax
mov eax, 0x4024
mov dword fs:[0], esp
call fcn.00441bd0
push ebx
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 + 0x2030]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2030]
push 0x1000
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov al, byte [0x469ba8]
test al, 1
jne 0x41a984
mov dl, al
mov ecx, 0x469bc0
or dl, 1
mov byte [0x469ba8], dl
call fcn.00435810
push 0x404330
call fcn.0044055c
add esp, 4
push 9
mov ecx, 0x469bc0
call fcn.00435ae0
mov edx, dword [esi + 4]
lea eax, [esp + 0x2030]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2030]
push edx
mov dword [esp + 0x20], 0x461324
mov dword [esp + 0x24], 0x59
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x41a8d0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edx, eax
test edx, edx
je 0x41aad2
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41aad2
mov ecx, dword [str.lF_F]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0xc]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x4040], 0
call fcn.0041aaf0
lea ecx, [esp + 0x30]
test eax, eax
push ecx
push ebx
je 0x41aa80
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esi + 0x384]
push 1
mov ecx, edi
call fcn.004164e0
mov edx, dword [esi + 0x61c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41aaa3
mov eax, dword [esi + 0x61c]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x41aaa3
push eax
mov ecx, edi
jmp 0x41aa9e
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esp + 0xc]
lea ecx, [esi + 0xa4]
push edx
call fcn.00417c90
push 0
lea ecx, [esi + 0x384]
call fcn.004164e0
mov eax, dword [esp + 0xc]
mov edx, dword [0x46005c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41aad2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41aad2
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00439890
add esp, 4
mov ecx, dword [esp + 0x4030]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4030
ret
Function at 0x41b320
Capabilities:
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 0x41b33c
add esp, 0x410
ret 4
cmp eax, 0x104
jle 0x41b34e
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 0x4605d4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [esp + 4], 0
pop edi
jne 0x41b386
xor eax, eax
add esp, 0x410
ret 4
lea edx, [esp]
push 0x4605d0
push edx
call fcn.00441b72
add esp, 8
test eax, eax
jne 0x41b3a5
add esp, 0x410
ret 4
push eax
call fcn.00441ac4
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 0x41b900
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x18
mov eax, dword [0x46063c]
mov ecx, dword [0x460640]
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 0x41b93e
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x41b980
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 0x41b96a
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
jmp 0x41b980
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
test edx, edx
ja 0x41b99b
jb 0x41b980
cmp esi, 0x400
jae 0x41b99b
mov ecx, dword [esp + 0x28]
push esi
push str._d_Bytes
push ecx
call fcn.00407560
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
test edx, edx
ja 0x41ba5d
jb 0x41b9ad
cmp esi, 0x100000
jae 0x41b9fe
mov ecx, 0xa
mov eax, esi
call fcn.00441c70
push 0
and esi, 0x3ff
push 0x64
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00441c00
mov ecx, eax
or ecx, edx
jne 0x41b9f2
mov edx, dword [esp + 0x28]
push edi
push str._d_KB
push edx
call fcn.00407560
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_KB
jmp 0x41baac
test edx, edx
ja 0x41ba5d
jb 0x41ba0c
cmp esi, 0x40000000
jae 0x41ba5d
mov ecx, 0x14
mov eax, esi
call fcn.00441c70
push 0
and esi, 0xfffff
push 0x19000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00441c00
mov ecx, eax
or ecx, edx
jne 0x41ba54
mov edx, dword [esp + 0x28]
push edi
push 0x460678
push edx
call fcn.00407560
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_MB
jmp 0x41baac
mov ecx, 0x1e
mov eax, esi
call fcn.00441c70
push 0
and esi, 0x3fffffff
push 0x6400000
push 0
push esi
mov edi, eax
mov dword [esp + 0x2c], edx
call fcn.00441c00
mov ecx, eax
or ecx, edx
jne 0x41baa5
mov edx, dword [esp + 0x28]
push edi
push str._d_GB
push edx
call fcn.00407560
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret 8
push eax
push edi
push str._d._d_GB
mov eax, dword [esp + 0x34]
push eax
call fcn.00407560
add esp, 0x10
pop edi
pop esi
add esp, 0x18
ret 8
Function at 0x41cde0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45580b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
mov eax, dword [str.lF_F]
push ebx
mov dword [esp + 4], eax
mov ecx, dword [0x468408]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [esp + 8]
push 0x100
mov eax, dword [ecx + 8]
push edx
push 0xa8
push eax
mov dword [esp + 0x220], 0
call ebx
test eax, eax
jne 0x41ce3a
mov word [esp + 8], ax
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41ce6e
lea edx, [esp + 8]
test edx, edx
jne 0x41ce52
xor eax, eax
jmp 0x41ce5d
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 8]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00404190
jmp 0x41ced2
push esi
push edi
push 0x1ff
lea ecx, [esp + 0x10]
mov edi, 0x200
call fcn.00403f70
mov esi, eax
test esi, esi
je 0x41cec5
mov edx, dword [0x468408]
push edi
push esi
push 0xa8
mov eax, dword [edx + 8]
push eax
call ebx
test eax, eax
jne 0x41cea3
mov word [esi], ax
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x41cec5
add edi, 0x100
lea ecx, [esp + 0xc]
lea edx, [edi - 1]
push edx
call fcn.00403f70
mov esi, eax
test esi, esi
jne 0x41ce89
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00404030
pop edi
pop esi
mov eax, dword [esp + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 4]
mov edx, dword [0x46005c]
pop ebx
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41cf1a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41cf1a
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00439890
add esp, 4
mov ecx, dword [esp + 0x204]
mov dword fs:[0], ecx
add esp, 0x210
ret
Function at 0x41cf30
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x455836
push eax
mov dword fs:[0], esp
sub esp, 0x808
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
mov eax, dword [esi + 0x61c]
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
je 0x41d080
mov ecx, dword [str.lF_F]
mov dword [esp + 0xc], ecx
mov edx, dword [esi + 4]
push 0x3ee
push edx
mov dword [esp + 0x824], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, eax
test edx, edx
jne 0x41cfce
mov eax, dword [esp + 0xc]
mov edx, dword [0x46005c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41d0ed
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41d0ed
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
jmp 0x41d0e5
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push 0x3ff
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x46896c]
test eax, eax
jne 0x41d029
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.0041aaf0
test eax, eax
lea edi, [esi + 0xa4]
jne 0x41d02f
push 0x3871e6
mov ecx, edi
call fcn.00410560
push 0
jmp 0x41d03d
lea edi, [esi + 0xa4]
push 0x444444
mov ecx, edi
call fcn.00410560
push 1
lea ecx, [esi + 0x384]
call fcn.004164e0
mov eax, dword [esp + 0xc]
mov edx, dword [0x46005c]
mov dword [esp + 0x81c], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41d09f
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41d09f
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.00439890
add esp, 4
jmp 0x41d09f
lea edi, [esi + 0xa4]
push 0x3871e6
mov ecx, edi
call fcn.00410560
push 0
lea ecx, [esi + 0x384]
call fcn.004164e0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00417e20
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x81c], 1
push ecx
mov ecx, edi
call fcn.00417c90
mov eax, dword [esp + 0x10]
mov ecx, dword [0x46005c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41d0ed
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41d0ed
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00439890
add esp, 4
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x814
ret
Function at 0x41de30
Capabilities:
Check if file exists
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x455861
push eax
mov eax, 0x1014
mov dword fs:[0], esp
call fcn.00441bd0
lea eax, [esp + 8]
push esi
push eax
mov ecx, 0x468910
call fcn.00433920
lea ecx, [esp + 0xc]
push 0x4605e4
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x102c], 0
call fcn.0040d610
push 0x468960
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x1028], 1
push eax
call fcn.00420b80
mov eax, dword [esp + 0x10]
mov edx, dword [0x46005c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x1020], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41decf
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41decf
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.00439890
add esp, 4
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e03a
mov eax, dword [esp + 4]
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
call fcn.004110a0
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x41e024
push edi
mov esi, dword [esp + 8]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x1c]
push 0x800
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push 0x4612e4
push ecx
call fcn.00441b85
push 0x800
lea edx, [esp + 0x2c]
push 0x461334
push edx
call fcn.00442185
push 0x800
lea eax, [esp + 0x38]
push 0x4612b8
push eax
call fcn.00442185
push 0x800
lea ecx, [esp + 0x44]
push 0x461334
push ecx
call fcn.00442185
push 0x800
lea edx, [esp + 0x50]
push str.vL
push edx
call fcn.00442185
push 0x800
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00442185
add esp, 0x48
lea ecx, [esp + 0x1c]
push 0x800
push 0x461278
push ecx
call fcn.00442185
add esp, 0xc
lea edx, [esp + 0x1c]
push 0x14
push 0x461334
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
pop edi
jne 0x41e01d
push 0xc8
push 0x461234
push 0x4614cc
call fcn.004536d2
add esp, 0xc
test eax, eax
jne 0x41e005
call fcn.0041ff80
test eax, eax
je 0x41e005
push 5
push 0
push 0
push 0x461664
jmp 0x41e010
push 5
push 0
push 0
push 0x4614cc
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.00442074
mov eax, dword [esp + 4]
push 5
push str._fromInstaller
push eax
push 0
call fcn.00420d20
add esp, 0x10
mov eax, dword [esp + 4]
mov edx, dword [0x46005c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41e065
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41e065
mov edx, dword [esp + 4]
lea eax, [edx - 0xc]
push eax
call fcn.00439890
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x1020], 0xffffffff
call fcn.00404100
mov ecx, dword [esp + 0x1018]
pop esi
mov dword fs:[0], ecx
add esp, 0x1020
ret
Function at 0x41e090
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x455952
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.0040cbb0
lea edi, [esi + 0x78]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004201f0
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.004248c0
mov dword [esi], 0x458960
mov dword [edi], 0x458954
mov dword [esi + 0x58], 0x45892c
lea eax, [esi + 0x9c]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x41e112
lea ecx, [eax - 0x9c]
jmp 0x41e114
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 3
call fcn.004178a0
mov eax, dword [str.lF_F]
mov dword [esi + 0x118], eax
mov ecx, dword [str.lF_F]
mov dword [esi + 0x11c], ecx
lea ecx, [esi + 0x120]
mov byte [esp + 0x18], 6
call fcn.004178a0
lea ecx, [esi + 0x190]
mov byte [esp + 0x18], 7
call fcn.004178a0
lea ecx, [esi + 0x200]
mov byte [esp + 0x18], 8
call fcn.00415180
lea ecx, [esi + 0x2c8]
mov byte [esp + 0x18], 9
call fcn.00415180
lea ecx, [esi + 0x390]
mov byte [esp + 0x18], 0xa
call fcn.00415180
lea ecx, [esi + 0x458]
mov byte [esp + 0x18], 0xb
call fcn.00415180
lea ecx, [esi + 0x520]
mov byte [esp + 0x18], 0xc
call fcn.0042e4e0
lea ecx, [esi + 0x53c]
mov byte [esp + 0x18], 0xd
call fcn.0042e4e0
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 0xe
call fcn.0042e4e0
lea ecx, [esi + 0x574]
mov byte [esp + 0x18], 0xf
call fcn.0042e4e0
lea ecx, [esi + 0x590]
mov byte [esp + 0x18], 0x10
call fcn.0042e4e0
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x458920
mov dword [esi + 0x5ac], ebx
mov dword [esi], 0x45890c
mov dword [esi + 0x58], 0x4588e4
mov dword [esi + 0x74], 3
mov dword [esi + 0x114], 0xfffffffe
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret