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

Disassembly:
mov eax, 0x1414
call fcn.00456620
push esi
push edi
xor esi, esi
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], si
mov dword [esp + 8], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
test eax, eax
je 0x422f7c
mov ecx, str.modules360Inst.exe
mov word [esp + 0xc], si
test ecx, ecx
je 0x422f7c
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x41c]
push str.modules360Inst.exe
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x422f64
lea edx, [esp + 0x41c]
push 0x800
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x41c]
push str.modules360Inst.exe
lea edx, [esp + 0x420]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x41c]
push 0x208
lea ecx, [esp + 0x10]
push eax
push ecx
jmp 0x422f73
push 0x208
lea edx, [esp + 0x10]
push str.modules360Inst.exe
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422fba
lea ecx, [esp + 0xc]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
je 0x422fba
mov esi, dword [esp + 0x1420]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov eax, esi
pop edi
pop esi
add esp, 0x1414
ret
mov esi, dword [esp + 0x1420]
push 0x473264
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov eax, esi
pop edi
pop esi
add esp, 0x1414
ret
Function at 0x4233f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462188
push 0x456650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x206c
call fcn.00456620
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x830]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x830]
test eax, eax
je 0x4234d9
xor ebx, ebx
mov word [ebp - 0x830], bx
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x4234db
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x207c]
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4234c1
push 0x800
lea ecx, [ebp - 0x207c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x207c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea ecx, [ebp - 0x207c]
push ecx
lea edx, [ebp - 0x207c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x400
lea eax, [ebp - 0x207c]
push eax
lea ecx, [ebp - 0x830]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
jmp 0x4234db
push 0x400
push esi
lea edx, [ebp - 0x830]
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
jmp 0x4234db
xor ebx, ebx
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x1074]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1078], 0x44
lea ecx, [ebp - 0x1078]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x104c], 1
mov dx, word [ebp + 0x14]
mov word [ebp - 0x1048], dx
push 0x400
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x1030]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
push 0x400
push 0x46dedc
lea edx, [ebp - 0x1030]
push edx
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
call esi
push 0x400
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1030]
push ecx
call esi
add esp, 0x24
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1078]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1030]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, ebx
je 0x4235c6
cmp dword [ebp + 0x18], ebx
je 0x4235a7
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 0x24]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov edx, dword [ebp - 0x28]
push edx
call edi
jmp 0x4235c6
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
Function at 0x423aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45b9cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], edi
mov dword [esi + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 1
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 2
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 3
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 4
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 5
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 6
call sub.MFC42u.DLL_CString::CString_4
mov cl, byte [esp + 0xb]
mov dword [esi + 0x44], edi
mov byte [esi + 0x40], cl
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x3c], edi
mov dword [esi], 0x4621a0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x423bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45ba4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x4621a0
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov ebp, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
cmp edi, ebp
mov dword [esp + 0x10], edi
je 0x423c2b
lea ecx, [edi + 0x14]
mov byte [esp + 0x20], 8
call sub.MFC42u.DLL_CString::CString
push sub.MFC42u.DLL_CString::CString
push 3
lea eax, [edi + 8]
push 4
push eax
mov byte [esp + 0x30], 7
call fcn.00456662
add edi, 0x18
cmp edi, ebp
mov dword [esp + 0x10], edi
jne 0x423bfc
mov eax, dword [esi + 0x44]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esi + 0x38]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov byte [esp + 0x20], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x20], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x20], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x20], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x20], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x18], eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x425190
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x808
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov eax, dword [edi + 8]
cmp eax, ebp
jne 0x4251ad
mov dword [esp + 8], ebp
jmp 0x4251b9
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
mov dword [esp + 8], ecx
cmp dword [esp + 8], ebp
jle 0x4252b4
push ebx
push esi
mov eax, dword [edi + 8]
mov esi, dword [eax + ebp*8 + 4]
lea ebx, [eax + ebp*8]
mov eax, dword [esi - 8]
test eax, eax
je 0x425297
test esi, esi
jne 0x4251e5
xor eax, eax
jmp 0x425295
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x42520d
push esi
call fcn.00401560
add esp, 4
test eax, eax
je 0x425295
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x425295
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x18]
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x18]
test edx, edx
je 0x425282
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425286
lea ecx, [esp + 0x18]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x425286
call fcn.00456be0
lea edx, [esp + 0x18]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x425291
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x4251c5
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0x808
ret
pop edi
mov eax, 1
pop ebp
add esp, 0x808
ret
Function at 0x4298a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c3d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov al, byte [esp + 7]
push esi
mov esi, ecx
mov cl, byte [esp + 0xb]
push edi
lea edi, [esi + 4]
xor ebx, ebx
push 1
push ebx
mov byte [edi + 1], cl
mov ecx, edi
mov dword [esp + 0x18], esi
mov byte [edi], al
mov byte [edi + 0xc], bl
call fcn.0042c150
mov dword [edi + 8], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 8]
push ebx
mov ecx, edi
mov dword [eax], ebx
mov edx, dword [edi + 8]
mov dword [edx + 8], ebx
mov eax, dword [edi + 8]
push eax
call fcn.0042c150
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 0x10], ebx
mov cl, byte [esp + 0xf]
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x18], cl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dl, byte [esp + 0xf]
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x28], dl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 2
call fcn.00427ec0
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 3
call fcn.00427ec0
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xf]
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
push 0x2c
mov byte [esp + 0x20], 4
mov byte [esi + 0xb0], al
mov byte [esi + 0xb1], cl
mov byte [esi + 0xbc], bl
call sub.MFC42u.DLL_operatornew
mov dword [eax + 4], ebx
mov byte [eax + 0x28], 1
mov byte [eax + 0x29], bl
mov dword [esi + 0xb8], eax
mov byte [eax + 0x29], 1
mov edx, dword [esi + 0xb8]
push 0x2c
mov dword [edx], ebx
mov eax, dword [esi + 0xb8]
mov dword [eax + 8], ebx
mov edi, dword [esi + 0xb8]
call sub.MFC42u.DLL_operatornew
add esp, 8
mov dword [eax + 4], edi
mov byte [eax + 0x28], bl
mov byte [eax + 0x29], bl
mov dword [esi + 0xb4], eax
mov ecx, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esi + 0xb4]
pop edi
mov dword [eax + 8], eax
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xa4], 0x462328
mov dword [esi + 0xac], 1
mov dword [esi + 0xa8], 1
mov dword [esi], 0x462320
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4298bd
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c3d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov al, byte [esp + 7]
push esi
mov esi, ecx
mov cl, byte [esp + 0xb]
push edi
lea edi, [esi + 4]
xor ebx, ebx
push 1
push ebx
mov byte [edi + 1], cl
mov ecx, edi
mov dword [esp + 0x18], esi
mov byte [edi], al
mov byte [edi + 0xc], bl
call fcn.0042c150
mov dword [edi + 8], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 8]
push ebx
mov ecx, edi
mov dword [eax], ebx
mov edx, dword [edi + 8]
mov dword [edx + 8], ebx
mov eax, dword [edi + 8]
push eax
call fcn.0042c150
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 0x10], ebx
mov cl, byte [esp + 0xf]
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x18], cl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dl, byte [esp + 0xf]
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x28], dl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 2
call fcn.00427ec0
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 3
call fcn.00427ec0
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xf]
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
push 0x2c
mov byte [esp + 0x20], 4
mov byte [esi + 0xb0], al
mov byte [esi + 0xb1], cl
mov byte [esi + 0xbc], bl
call sub.MFC42u.DLL_operatornew
mov dword [eax + 4], ebx
mov byte [eax + 0x28], 1
mov byte [eax + 0x29], bl
mov dword [esi + 0xb8], eax
mov byte [eax + 0x29], 1
mov edx, dword [esi + 0xb8]
push 0x2c
mov dword [edx], ebx
mov eax, dword [esi + 0xb8]
mov dword [eax + 8], ebx
mov edi, dword [esi + 0xb8]
call sub.MFC42u.DLL_operatornew
add esp, 8
mov dword [eax + 4], edi
mov byte [eax + 0x28], bl
mov byte [eax + 0x29], bl
mov dword [esi + 0xb4], eax
mov ecx, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esi + 0xb4]
pop edi
mov dword [eax + 8], eax
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xa4], 0x462328
mov dword [esi + 0xac], 1
mov dword [esi + 0xa8], 1
mov dword [esi], 0x462320
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x429d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c4d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x462320
mov dword [esp + 0x20], 5
call fcn.0042a0f0
lea edi, [esi + 0xa4]
mov dword [esp + 0x10], edi
mov dword [edi], 0x462328
mov ecx, edi
mov byte [esp + 0x20], 6
call fcn.00444f60
mov eax, dword [edi + 0x10]
add edi, 0xc
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov byte [esp + 0x28], 4
call fcn.00419d30
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call fcn.0042b620
mov eax, dword [edi + 4]
push eax
call sub.MFC42u.DLL_operatordelete
mov eax, dword [edi + 8]
xor ebx, ebx
push eax
mov dword [edi + 4], ebx
mov dword [edi + 0x10], ebx
call sub.MFC42u.DLL_operatordelete
mov dword [edi + 8], ebx
lea edi, [esi + 0x68]
add esp, 8
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x24]
mov byte [esp + 0x20], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [edi + 0x1c]
mov byte [esp + 0x20], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [edi + 0x14]
mov byte [esp + 0x20], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [edi + 0xc]
mov byte [esp + 0x20], 3
call sub.MFC42u.DLL_CString::CString
lea edi, [esi + 0x38]
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x24]
mov byte [esp + 0x20], 0xc
call sub.MFC42u.DLL_CString::CString
lea ecx, [edi + 0x1c]
mov byte [esp + 0x20], 0xb
call sub.MFC42u.DLL_CString::CString
lea ecx, [edi + 0x14]
mov byte [esp + 0x20], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [edi + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x2c]
push eax
mov dword [esp + 0x18], eax
call sub.MFC42u.DLL_operatordelete
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42u.DLL_operatordelete
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 8]
add esi, 4
add esp, 8
mov ecx, dword [eax]
mov dword [esp + 0x20], 0xffffffff
push eax
lea eax, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.0042b710
mov ecx, dword [esi + 4]
push ecx
call sub.MFC42u.DLL_operatordelete
mov edx, dword [esi + 8]
mov dword [esi + 4], ebx
push edx
mov dword [esi + 0x10], ebx
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esi + 8], ebx
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x42a3c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45c5a0
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
push ebx
lea ecx, [esi + 8]
call fcn.004067e0
test al, al
jne 0x42a3f2
cmp dword [esi + 4], ebx
jne 0x42a407
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea eax, [esp + 8]
push 0x4734c8
push eax
mov ecx, esi
call fcn.0041af50
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
cmp ecx, ebx
je 0x42a42c
mov eax, dword [esp + 0xc]
cmp eax, ebx
jg 0x42a45b
cmp ecx, ebx
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 8], 0x460e98
je 0x42a446
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push ebp
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x38], eax
jle 0x42a51f
push edi
lea eax, [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0x18]
call fcn.004064e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
push ecx
call fcn.004277c0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x42a4a1
mov dword [esp + 0x1c], 0x460e94
mov byte [esp + 0x34], 3
jmp 0x42a4b9
mov edx, dword [esi + 0x18]
lea edi, [esi + 0x18]
cmp dword [edx - 8], ebx
jne 0x42a4e5
mov dword [esp + 0x1c], 0x460e94
mov byte [esp + 0x34], 5
push ebx
lea ecx, [esp + 0x28]
call fcn.00405e20
push ebx
lea ecx, [esp + 0x24]
call fcn.00405e20
lea ecx, [esp + 0x24]
call fcn.00405e10
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.00405e10
jmp 0x42a511
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
jne 0x42a4f8
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
jmp 0x42a504
mov ecx, dword [esp + 0x40]
push edi
call fcn.0042b530
mov dword [eax], esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00406200
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
jl 0x42a46b
pop edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004064c0
mov ecx, dword [esp + 0x28]
pop ebp
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x42cac0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45c7db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push ebx
mov ebx, ecx
push ebp
push esi
mov dword [esp + 0xc], ebx
mov dword [ebx], 0x462388
mov eax, dword [ebx + 0x40]
lea ebp, [ebx + 0x40]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x818], esi
je 0x42cbf3
mov eax, dword [0x4730e0]
cmp eax, esi
je 0x42cb16
cmp dword [0x4730e4], esi
jne 0x42cbe6
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x4730e8]
test eax, eax
jle 0x42cb4f
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x42cb3e
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x14]
pop edi
test edx, edx
je 0x42cba0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cba4
lea ecx, [esp + 0x10]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x42cba4
call fcn.00456be0
lea edx, [esp + 0x10]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x42cbaf
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x42cbf3
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x42cbe6
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x42cbf3
call eax
test eax, eax
je 0x42cbf3
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x58]
mov ecx, ebx
mov dword [ebp], 0
mov dword [esp + 0x818], 0xffffffff
call fcn.00456176
mov ecx, dword [esp + 0x810]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x810
ret
Function at 0x42cc30
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x800
push ebx
mov ebx, ecx
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x42cd3a
mov eax, dword [0x4730e0]
test eax, eax
je 0x42cc62
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x42cd6a
push esi
push edi
lea ecx, [esp + 0xc]
push 0x400
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0xc]
push edx
call edi
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x42cc9f
lea eax, [esp + 0xc]
push eax
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x42cc8e
lea ecx, [esp + 0xc]
push str.MiniUI.dll
lea edx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0xc]
pop edi
test eax, eax
pop esi
je 0x42ccf1
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ccf5
lea edx, [esp + 4]
push edx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x42ccf5
call fcn.00456be0
push eax
lea eax, [esp + 8]
push eax
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x42cd00
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x42cd35
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x42cd6a
mov edx, dword [0x4730e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
xor eax, eax
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x40]
pop ebx
test ecx, ecx
je 0x42cd61
mov eax, dword [esp + 0x804]
mov edx, dword [ecx]
push 0
and eax, 0xffff
push 0x46ded4
push eax
mov eax, dword [0x47319c]
push eax
call dword [edx + 0x1c]
add esp, 0x800
ret 8
call eax
test eax, eax
je 0x42cd35
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
jmp 0x42cd37