joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dca7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 2
jne 0x40dcb6
pop ebp
jmp fcn.0040dc66
xor eax, eax
cmp dword [ebp + 8], eax
setne al
pop ebp
ret

Function at 0x40e89e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43f434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x40e8bd
xor eax, eax
jmp 0x40e920
push ebx
push esi
call fcn.0041a70d
pop ecx
pop ecx
test eax, eax
jne 0x40e8b9
push edi
mov byte [ebp - 0x14], bl
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x431f30
push esi
stosb byte es:[edi], al
call fcn.00418e15
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x40e901
push edi
push 2
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00419273
push edi
call fcn.00418aef
add esp, 0x14
push 0x437ce8
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
pop edi
test eax, eax
jne 0x40e91e
push esi
call fcn.004026c3
pop ecx
mov ebx, eax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00414cce
leave
ret

Function at 0x40eba7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x43f434]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0040ead0
mov ebx, eax
cmp ebx, esi
je 0x40ec12
lea ecx, [ebp - 0x20c]
call fcn.0040eab5
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414cce
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40ec30
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0040eba7
cmp eax, esi
jne 0x40ec77
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], pe_nt_image_headers32
call ebx
test eax, eax
je 0x40ec1a
lea ecx, [ebp - 0x20c]
call fcn.0040eab5
push dword [ebp - 0x214]
mov ecx, edi
call fcn.0040ea58
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.0040eab5
mov eax, esi
jmp 0x40ec01

Function at 0x40ec8b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x40eca0
mov eax, dword [esi]
jmp 0x40eca2
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ecd5
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x40ecbb
mov eax, dword [eax + 4]
jmp 0x40ecbe
add eax, 4
cmp dword [edi + 0x18], 8
jb 0x40ecc6
mov esi, dword [esi]
push eax
push esi
call fcn.004027d7
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
pop edi
pop esi
pop ebp
ret
Function at 0x40ee25
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x43f434]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00414ce0
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00409db9
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414cce
leave
ret

Function at 0x40ef7b
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push 0x27c
mov eax, 0x42c0ca
call fcn.00417b10
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40efa1
xor eax, eax
inc eax
call fcn.00417b93
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ef98
push esi
lea ecx, [ebp - 0x288]
call fcn.00409db9
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x250]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0040ee91
pop ecx
pop ecx
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.004098cf
push esi
lea ecx, [ebp - 0x26c]
call fcn.00409db9
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 3
call fcn.0040ef29
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x26c]
call fcn.004098cf
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00414ce0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x40f05d
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
lea eax, [ebp - 0x218]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call esi
test eax, eax
jne 0x40f0a3
xor esi, esi
push edi
push ebx
lea ecx, [ebp - 0x234]
call fcn.004098cf
push edi
push ebx
lea ecx, [ebp - 0x250]
call fcn.004098cf
mov eax, esi
jmp 0x40ef9b
push 4
push edi
lea eax, [ebp - 0x218]
push eax
call esi
mov esi, ebx
jmp 0x40f082
Function at 0x40f0b3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x421c
call fcn.004170c0
mov eax, dword [0x43f434]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x4210], eax
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x420c], ax
lea eax, [ebp - 0x420a]
push eax
call fcn.00414ce0
add esp, 0xc
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x40f103
mov eax, dword [edi]
jmp 0x40f105
mov eax, edi
lea ecx, [ebp - 0x4218]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x40f1cd
cmp eax, 0x3fff
ja 0x40f1cd
cmp dword [esi + 0x18], 8
jb 0x40f12d
mov edi, dword [edi]
lea ecx, [ebp - 0x420c]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40f1cd
lea eax, [ebp - 0x421c]
push eax
lea eax, [ebp - 0x4214]
push eax
push 0x42ec48
lea eax, [ebp - 0x420c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40f1cd
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00414ce0
mov eax, dword [ebp - 0x4214]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0041a113
mov ecx, dword [ebp - 0x4210]
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
call fcn.00409d7b
xor eax, eax
inc eax
jmp 0x40f1cf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00414cce
leave
ret
Function at 0x40f1dd
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c11e
mov eax, dword fs:[0]
push eax
mov eax, 0x633b0
call fcn.004170c0
mov eax, dword [0x43f434]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x63384], eax
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
mov byte [ebp - 0x6337d], 0
call fcn.00414ce0
xor eax, eax
push esi
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.00414ce0
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
mov esi, 0x103
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.safelive
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
push 0x437d24
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0041a113
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6337c]
call fcn.0040719c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x6337c]
call fcn.00405fd0
xor esi, esi
inc esi
cmp dword [edi + 0x18], 8
mov dword [ebp - 0x60f14], esi
jb 0x40f2de
mov edi, dword [edi + 4]
jmp 0x40f2e1
add edi, 4
push edi
lea ecx, [ebp - 0x6337c]
call fcn.0040986d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x6337c]
mov dword [ebp - 0x60cd4], 0x493e0
call fcn.0040dc3e
lea ecx, [ebp - 0x6337c]
call fcn.00409466
lea ecx, [ebp - 0x6337c]
call fcn.0040319c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f3f2
push 0x42ec48
push dword [ebp - 0x63384]
lea eax, [ebp - 0x644]
push eax
call fcn.00409dde
add esp, 0xc
cmp dword [ebp - 0x62c], 8
mov eax, dword [ebp - 0x640]
mov byte [ebp - 4], 1
jae 0x40f367
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x633a0]
call fcn.00409db9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x633bc]
mov byte [ebp - 4], 2
call fcn.00409db9
lea eax, [ebp - 0x633a0]
push eax
lea eax, [ebp - 0x633bc]
push eax
mov byte [ebp - 4], 3
call fcn.0040ec8b
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x633bc]
mov edi, eax
call fcn.004098cf
push 0
push esi
lea ecx, [ebp - 0x633a0]
call fcn.004098cf
test edi, edi
je 0x40f3e4
cmp dword [ebx + 0x18], 8
jb 0x40f3cf
mov ebx, dword [ebx + 4]
jmp 0x40f3d2
add ebx, 4
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f3e4
mov byte [ebp - 0x6337d], 1
push 0
push esi
lea ecx, [ebp - 0x644]
call fcn.004098cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6337c]
call fcn.00405be8
mov al, byte [ebp - 0x6337d]
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.00414cce
leave
ret
Function at 0x40fb0a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x40fb1d
push 0xd
pop eax
jmp 0x40fb48
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40fb20
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4114a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x42c26e
call fcn.00417b46
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x411500
call fcn.0040f979
mov esi, eax
jmp 0x411609
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x411519
call fcn.0040f979
jmp 0x4115fb
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x41150f
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0x41157f
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x411565
lea ecx, [ebp - 0x418]
call fcn.0041005c
mov esi, 0x8007000e
lea ecx, [ebp - 0x424]
call fcn.0040ffb8
mov eax, esi
call fcn.00417ba2
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004105af
mov dword [ebp - 4], 1
jmp 0x4115ad
cmp dword [ebp - 0x418], esi
jne 0x4115bc
mov esi, 0x8007000e
jmp 0x4115fd
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x41150f
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.004111a4
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x41156a
lea ecx, [ebp - 0x418]
call fcn.0041005c
jmp 0x41156a

Function at 0x411f26
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov edi, ecx
lea ebx, [edi + 0x578e]
push ebx
call esi
test eax, eax
je 0x411f45
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add edi, 0x537a
push edi
call esi
test eax, eax
je 0x411f59
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
ret
Function at 0x411f78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a8
call fcn.004170c0
mov eax, dword [0x43f434]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x4382e0
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10a0], eax
movsw word es:[edi], word [esi]
xor eax, eax
push 0x3e
mov word [ebp - 0x54], ax
xor esi, esi
xor edi, edi
lea eax, [ebp - 0x52]
push esi
inc edi
push eax
mov ebx, ecx
mov dword [ebp - 0x10a8], edi
call fcn.00414ce0
add esp, 0xc
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x10a8]
push eax
push 0x4382d8
push str.Software360360se6chrome
push 0x80000001
mov dword [ebp - 0x10a4], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
push 0x1046
mov word [ebp - 0x109c], ax
lea eax, [ebp - 0x109a]
push esi
push eax
call fcn.00414ce0
lea edx, [ebp - 0x54]
push edx
lea edx, [ebx + 0x5c78]
push edx
lea eax, [ebx + 0x27b8]
push eax
lea edx, [ebx + 0x25ae]
push edx
lea edx, [ebx + 0x23a4]
push edx
lea edx, [ebx + 0x234]
push edx
lea edx, [ebx + 0x7ac4]
push edx
lea ecx, [ebx + 0x1cbe]
push ecx
lea edx, [ebx + 0x128c]
push edx
push ecx
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
add ebx, 0xc6e
push ebx
push eax
push 0x438118
lea eax, [ebp - 0x109c]
push 0x823
push eax
call fcn.0041a113
add esp, 0x54
lea eax, [ebp - 0x109c]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x10a0]
call fcn.00417033
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414cce
leave
ret 8
Function at 0x4120a5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x43f434]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x14]
mov edi, 0x823
push edi
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x827]
push 0
push eax
mov byte [ebp - 0x828], 0
call fcn.00414ce0
add esp, 0xc
cmp dword [ebp + 0x18], 0
push dword [ebp - 0x82c]
je 0x4121f3
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push ebx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
lea eax, [ebp - 0x828]
push edi
push eax
call fcn.0041a7a0
lea eax, [ebp - 0x828]
push eax
call fcn.00416df0
mov ebx, eax
mov eax, dword [ebp - 0x82c]
add esp, 0x1c
cmp byte [eax], 0
je 0x41223a
push 0x431bdc
push eax
call fcn.0041966e
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x82c], edi
test edi, edi
je 0x41223a
push 2
push 0
push edi
call fcn.00419525
push edi
call fcn.0041942d
push 0
push 0
push dword [ebp - 0x82c]
mov edi, eax
mov dword [ebp - 0x834], edi
call fcn.00419525
lea edi, [edi + ebx + 2]
add esp, 0x1c
cmp edi, dword [esi]
jae 0x4121e2
push ebx
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.00414df0
push dword [ebp - 0x82c]
mov eax, dword [ebp - 0x830]
push 1
push dword [ebp - 0x834]
add eax, ebx
push eax
call fcn.00419273
mov ecx, dword [ebp - 0x834]
mov eax, dword [ebp - 0x830]
push 2
add eax, ecx
add eax, ebx
push 0x431bd8
push eax
call fcn.00414df0
add esp, 0x28
mov dword [esi], edi
jmp 0x4121e5
and dword [esi], 0
push dword [ebp - 0x82c]
call fcn.00418aef
pop ecx
jmp 0x41223d
push ebx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
lea eax, [ebp - 0x828]
push edi
push eax
call fcn.0041a7a0
lea eax, [ebp - 0x828]
push eax
call fcn.00416df0
mov edi, eax
add esp, 0x1c
cmp edi, dword [esi]
jae 0x41223a
push edi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.00414df0
add esp, 0xc
mov dword [esi], edi
jmp 0x41223d
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414cce
leave
ret 0x14

Function at 0x412bfc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x578e]
push eax
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412c33
push dword [ebp + 8]
add esi, 0x5998
push 0x437d18
push 0x104
push esi
call fcn.0040e86a
add esp, 0x10
inc edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x412f81
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43f434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 0x537a]
mov dword [ebp - 8], ebx
cmp esi, ebx
je 0x4130dc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4130dc
push 0x431f30
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [ebp - 0xc], ebx
call fcn.00418e2c
add esp, 0xc
cmp dword [ebp - 0xc], ebx
je 0x4130dc
push dword [ebp - 0xc]
call fcn.0041ac15
push eax
call fcn.0041ab16
add edi, 0x66b4
push edi
mov ebx, eax
call fcn.00416d21
push dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
call fcn.00416d21
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, ebx
add esi, eax
lea eax, [esi + 1]
push eax
call fcn.004170ad
add esp, 0x14
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4130d3
push dword [ebp - 0xc]
push 1
push ebx
push eax
call fcn.00419273
mov eax, dword [ebp - 0x10]
add eax, ebx
add esp, 0x10
mov dword [ebp - 8], eax
test edi, edi
je 0x413047
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41304b
xor eax, eax
jmp 0x413061
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00417bc0
mov eax, esp
push 3
push ebx
push edi
push eax
call fcn.004027fe
push eax
push esi
push dword [ebp - 8]
call fcn.0040e7ce
push edi
call fcn.00416d21
add dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
pop ecx
je 0x41308c
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x413090
xor eax, eax
jmp 0x4130a8
lea edi, [eax + eax]
mov eax, edi
call fcn.00417bc0
mov eax, esp
push 3
push edi
push dword [ebp + 0x10]
push eax
call fcn.004027fe
push eax
push esi
push dword [ebp - 8]
call fcn.0040e7ce
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push dword [ebp - 0x10]
call fcn.0040ecd9
push dword [ebp - 0x10]
mov dword [ebp - 8], 1
call fcn.004170a2
add esp, 0x14
push dword [ebp - 0xc]
call fcn.00418aef
pop ecx
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414cce
leave
ret 0xc
Function at 0x414cce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f434]
jne 0x414cd8
repz ret
jmp fcn.0041adf8

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41a6b5
call fcn.0041b0f8
mov dword [eax], esi
call fcn.0041b0e5
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00417f36
add esp, 0x14
push 0x16
pop eax
jmp 0x41a70a
test dword [ebp + 0xc], 0xfffffff9
jne 0x41a691
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41a6e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041b10b
pop ecx
call fcn.0041b0e5
mov eax, dword [eax]
jmp 0x41a70a
test al, 0x10
jne 0x41a708
test al, 1
je 0x41a708
test byte [ebp + 0xc], 2
je 0x41a708
call fcn.0041b0f8
mov dword [eax], 5
call fcn.0041b0e5
mov dword [eax], 0xd
jmp 0x41a6d9
xor eax, eax
pop esi
pop ebp
ret

Function at 0x42638e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041f8c2
and dword [ebp - 4], 0
cmp dword [0x45107c], 0
mov ebx, eax
jne 0x42643f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4264f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4264f0
push eax
call fcn.0041f850
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45107c], eax
call esi
push eax
call fcn.0041f850
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x451080], eax
call esi
push eax
call fcn.0041f850
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x451084], eax
call esi
push eax
call fcn.0041f850
pop ecx
mov dword [0x45108c], eax
test eax, eax
je 0x42643f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041f850
pop ecx
mov dword [0x451088], eax
mov eax, dword [0x451088]
cmp eax, ebx
je 0x426497
cmp dword [0x45108c], ebx
je 0x426497
push eax
call fcn.0041f8cb
push dword [0x45108c]
mov esi, eax
call fcn.0041f8cb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x426497
test edi, edi
je 0x426497
call esi
test eax, eax
je 0x42648e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42648e
test byte [ebp - 0xc], 1
jne 0x426497
or dword [ebp + 0x10], 0x200000
jmp 0x4264d0
mov eax, dword [0x451080]
cmp eax, ebx
je 0x4264d0
push eax
call fcn.0041f8cb
pop ecx
test eax, eax
je 0x4264d0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4264d0
mov eax, dword [0x451084]
cmp eax, ebx
je 0x4264d0
push eax
call fcn.0041f8cb
pop ecx
test eax, eax
je 0x4264d0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45107c]
call fcn.0041f8cb
pop ecx
test eax, eax
je 0x4264f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4264f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret