joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4295ca
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4bfed8
call fcn.004bd430
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [edi], vtable.CBkWindow.0
call fcn.00420f44
push 0x4f4430
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00420f44
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00420f44
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0043753b
push 0x4f4430
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 4], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
lea esi, [edi + 0x28]
mov ecx, 0x4f36c4
call fcn.00402b17
xor ebx, ebx
lea esi, [edi + 0x40]
mov ecx, 0x4f36c4
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
call fcn.00402b17
lea esi, [edi + 0x48]
mov ecx, 0x4f36c4
mov dword [edi + 0x44], ebx
call fcn.00402b17
lea esi, [edi + 0x4c]
mov ecx, 0x4f36c4
call fcn.00402b17
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
or dword [edi + 0x64], 0xffffffff
lea eax, [edi + 0x14]
push eax
mov dword [edi + 0x58], ebx
mov word [edi + 0x5c], bx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], 1
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42b0ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x42b178
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x42b121
cmp dword [ebp - 8], 2
jne 0x42b177
push esi
mov esi, dword [ebp + 0xc]
call fcn.0040313b
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00402e0e
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x42b176
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x42b168
push eax
call fcn.0049b764
pop ecx
mov edx, esi
call fcn.00402944
mov dword [ebp - 0xc], 1
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x42b17f
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x42b1ad
push dword [esp + 0xc]
call fcn.0049b764
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push edi
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42b1ad
inc edi
mov eax, edi
pop edi
ret 8
Function at 0x42d9e9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c0ae3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x9c]
mov eax, esi
mov dword [esp + 0x28], esi
call fcn.0046f0a7
and dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 0x24], eax
jle 0x42dbf4
add edi, 0x88
mov dword [esp + 0x18], edi
jmp 0x42da41
mov esi, dword [esp + 0x28]
mov eax, esi
call fcn.0046f0a7
mov edi, dword [esp + 0x10]
cmp edi, eax
jae 0x42da68
mov eax, esi
call fcn.0046f0a7
cmp edi, eax
jb 0x42da60
call fcn.0049d680
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
jmp 0x42da6a
xor ebx, ebx
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.00481f55
and dword [esp + 0x24c], 0
mov eax, dword [0x4f36c4]
mov ecx, 0x4f36c4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x250], 1
mov edi, dword [esp + 0x24]
push eax
push edi
push dword [esp + 0x24]
call fcn.0047208f
test eax, eax
jne 0x42dbc6
lea esi, [esp + 0x30]
mov eax, ebx
call fcn.00481f6d
mov byte [esp + 0x24c], 2
push dword [eax]
lea esi, [esp + 0x3c]
call fcn.00402cbc
mov byte [esp + 0x24c], 3
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.00403217
lea eax, [esp + 0x3c]
cmp dword [esp + 0x38], eax
je 0x42daff
push dword [esp + 0x38]
call fcn.0049bd0b
pop ecx
mov byte [esp + 0x24c], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004027f9
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
call fcn.00472668
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dbba
lea esi, [esp + 0x2c]
mov eax, ebx
call fcn.00479df2
mov byte [esp + 0x24c], 7
push dword [eax]
lea esi, [esp + 0x140]
call fcn.00402cbc
mov byte [esp + 0x24c], 8
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.00403217
lea eax, [esp + 0x140]
cmp dword [esp + 0x13c], eax
je 0x42db85
push dword [esp + 0x13c]
call fcn.0049bd0b
pop ecx
mov byte [esp + 0x24c], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004027f9
push 0
push dword [esp + 0x20]
xor ecx, ecx
push dword [esp + 0x14]
inc ecx
call fcn.00473c3e
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004027f9
or dword [esp + 0x24c], 0xffffffff
lea eax, [edi - 0x10]
call fcn.004027f9
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jl 0x42da3d
mov ecx, dword [esp + 0x244]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e0cc
Capabilities:
Delete file
Move file

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42e0eb
push 4
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42e0ee
xor eax, eax
inc eax
ret 4
Function at 0x42e0f1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c26fc
call fcn.004bd430
push ecx
push ecx
push ebx
push str.http:__config.i.duba.net_aldconfig_resource.png
lea eax, [ebp - 0x10]
push eax
call fcn.00403217
and dword [ebp - 4], 0
push 0x1f4
push 0
push 0
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004767b4
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004027f9
test ebx, ebx
jne 0x42e148
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e148
xor eax, eax
inc eax
jmp 0x42e14a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x42e5d6
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x42e608
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42e5fb
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 8], 0
xor eax, eax
inc eax
ret
Function at 0x42e6ee
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4f446c]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x42e70b
mov ebp, dword [eax + 4]
jmp 0x42e70d
xor ebp, ebp
cmp ebp, esi
jne 0x42e71d
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x42e742
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x42e742
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42e742
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x3b8], esi
push ebp
mov dword [eax], esi
call fcn.0042eb4b
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x42e76d
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42e85c
mov eax, dword [0x4f446c]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x42e784
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, ebp
call fcn.0040ccda
cmp dword [ebx + 0x3ac], esi
je 0x42e7fb
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x42e7df
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x42e7fb
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0042ed07
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x3b8], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x42e840
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x42e840
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x42e840
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4f446c]
cmp eax, esi
je 0x42e850
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x42e949
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x42e9ba
cmp dword [esp + 8], edi
je 0x42e9ba
mov eax, dword [esi + 8]
cmp eax, edi
je 0x42e975
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42e975
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
cmp dword [esi + 8], edi
jne 0x42e9ba
push ebx
mov ebx, dword [esi]
push 0xc
call fcn.00458807
cmp eax, edi
pop ecx
jne 0x42e98d
xor eax, eax
jmp 0x42e9ab
mov ecx, dword [esp + 0xc]
push edi
push edi
push eax
push 0x42f60c
push edi
push edi
mov dword [eax], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], ecx
call fcn.0049f9c8
add esp, 0x18
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 8], eax
pop ebx
mov eax, ecx
jmp 0x42e9bc
xor eax, eax
pop edi
ret 4

Function at 0x42f7d4
Capabilities:
Delete file

Disassembly:
mov eax, 0x4bfcc7
call fcn.004bd430
sub esp, 0x14
mov eax, dword [0x4f36c4]
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov ecx, 0x4f36c4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 4], esi
mov edi, 0x4f54f0
mov dword [ebp - 0x1c], esi
push str.GetPacketData__d
mov esi, edi
call fcn.004792bd
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov esi, ebx
call fcn.0042f8e4
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp - 0x14], eax
call fcn.004792bd
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
jne 0x42f849
mov dword [ebx + 0x1c], 1
jmp 0x42f8c2
push 0x28
call fcn.00458807
test eax, eax
pop ecx
je 0x42f85f
push eax
call fcn.00468523
mov ebx, eax
jmp 0x42f861
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x42f8c2
push str.Extract...
call fcn.004792bd
mov eax, dword [ebx]
pop ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [eax]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Extract_return:_d
call fcn.004792bd
test ebx, ebx
pop ecx
pop ecx
je 0x42f8bb
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x42f8d2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42f8df
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x20]
jmp 0x42f89d
Function at 0x42f9c5
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.0049cce0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42fa51
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x4f54f0
call fcn.004792bd
add esp, 0xc
jmp 0x42fac9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x42fa84
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x42faac
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x42fabb
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x4f54f0
call fcn.004792bd
add esp, 0xc
jmp 0x42fac2
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43127c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c26fc
call fcn.004bd430
sub esp, 0xc
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
call fcn.00431306
add esp, 0xc
mov dword [ebp - 4], edi
cmp dword [esi], edi
je 0x4312e3
mov eax, esi
push dword [eax]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00418169
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.004027f9
test bl, bl
jne 0x4312ea
inc edi
lea eax, [esi + edi*4]
cmp dword [eax], 0
jne 0x4312ab
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4314f3
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x431564
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x431564
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x4d7f28]
fnstsw ax
test ah, 1
jne 0x431564
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x43188d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4bfc16
call fcn.004bd430
sub esp, 0x204
xor eax, eax
push edi
mov dword [ebp - 0x10], eax
push 0x1fe
mov dword [ebp - 4], 1
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0049cce0
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push pe_nt_image_headers32
push eax
push 0x4cc208
push dword [ebp + 8]
push 0x4cef44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403217
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0040308d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040317b
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x431948
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c1d32
call fcn.004bd430
push edi
push 0x12c
xor edi, edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.004767b4
add esp, 0x14
test eax, eax
jne 0x431985
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431985
inc edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
pop edi
leave
ret

Function at 0x4319aa
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c1d32
call fcn.004bd430
push ecx
push edi
push dword [ebp + 0x10]
xor edi, edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.004767b4
add esp, 0x14
test eax, eax
jne 0x4319e6
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4319e6
inc edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
pop edi
leave
ret
Function at 0x432130
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4be7df
call fcn.004bd430
push ecx
push ebx
push esi
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432193
cmp dword [ebp + 0xc], 0
je 0x432193
mov esi, dword [ebp + 8]
call fcn.00415b00
push esi
push eax
call fcn.004033e6
call fcn.0041434f
mov ebx, eax
call fcn.004144b0
push 0x1770
call fcn.0043dd3b
mov dword [esp], 0x1771
call fcn.00436b99
mov dword [esp], 0x1772
call fcn.004367a0
jmp 0x4321b5
push 0x2710
call fcn.00436b99
mov dword [esp], 0x2711
call fcn.004367a0
mov dword [esp], 0x2712
call fcn.0043dd3b
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x432256
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c2618
call fcn.004bd430
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ebx, ebx
call fcn.0040317b
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00443b70
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f9
test edi, edi
je 0x4322e4
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.0040317b
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.0040317b
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.00431948
pop ecx
pop ecx
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.004027f9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x432313
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c2618
call fcn.004bd430
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ebx, ebx
call fcn.0040317b
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00443b70
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f9
test edi, edi
je 0x4323a7
mov eax, dword [ebp + 8]
push 0x708
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.0040317b
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.0040317b
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.004319aa
add esp, 0xc
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.004027f9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret