joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e022
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c865b
call fcn.00495bfc
sub esp, 0x808
push ebx
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x814]
push 0x1a
push eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
jge 0x41e074
push dword [ebp + 8]
call fcn.0041defd
pop ecx
mov eax, dword [ebp + 8]
jmp 0x41e0d6
push esi
push 0x5066ec
lea ecx, [ebp - 0x10]
call fcn.004b0dea
push 1
pop esi
mov dword [ebp - 4], esi
call fcn.004c39cd
mov eax, dword [eax + 4]
push dword [eax + 0x78]
lea eax, [ebp - 0x814]
push 0x4ee24c
push eax
lea eax, [ebp - 0x10]
push str._s_s_s
push eax
call fcn.004ae6a7
push dword [ebp - 0x10]
call fcn.0041c21e
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
call fcn.004b0ae3
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.004b0d76
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41e0e4
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8697
call fcn.00495bfc
sub esp, 0x10
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041defd
push 1
lea eax, [ebp - 0x14]
pop ebx
mov dword [ebp - 4], ebx
mov dword [esp], str.Components
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b101b
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e155
lea eax, [ebp - 0x14]
push str.Modules
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004b101b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004b0ebd
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004b0d76
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004b0ae3
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004b0d76
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b0d76
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41e18b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c86cb
call fcn.00495bfc
sub esp, 0x80c
and word [ebp - 0x818], 0
push ebx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
stosw word es:[edi], ax
lea eax, [ebp - 0x818]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x5020c8]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041be40
mov eax, dword [0x5020c8]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push str._s_s
push eax
call fcn.004ae6a7
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.004b0ae3
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b0d76
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b0d76
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4201b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00495cf0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.00495c20
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00420274
test eax, eax
jne 0x42021e
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x420223
or eax, 0xffffffff
jmp 0x42024c
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x420241
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x4205ce
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00495cf0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x5066ec
call fcn.004b0f0d
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00495c20
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x420631
or eax, 0xffffffff
jmp 0x42068b
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x420668
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42062c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x42062c
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00420691
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x421c80
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c8bc0
call fcn.00495bfc
sub esp, 0x830
and word [ebp - 0x83c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004b0dea
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b1167
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00495c20
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004aee9e
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.00497347
pop ecx
test eax, eax
pop ecx
jne 0x421d24
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.00421d48
test eax, eax
je 0x421d24
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004b0d76
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x42a226
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4c909c
call fcn.00495bfc
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 0xa0], edi
call fcn.0042aa3e
cmp eax, edi
je 0x42a3b0
or ebx, 0xffffffff
cmp eax, ebx
je 0x42a28c
cmp eax, 0xfffffffe
je 0x42a2c1
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x42a275
push eax
mov ecx, esi
call fcn.004100e9
test eax, eax
jne 0x42a2c1
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.0042acc2
cmp eax, edi
je 0x42a28f
cmp eax, 0xfffffffe
je 0x42a2c1
push edi
jmp 0x42a2cc
cmp word [esi + 0x78], 2
jne 0x42a3b0
mov eax, esi
mov ecx, esi
cdq
mov edi, eax
lea eax, [esi + 0x8c]
push eax
lea eax, [esi + 0x88]
push eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
call fcn.0042aad2
cmp eax, ebx
jne 0x42a2c5
push 0x28
jmp 0x42a2cc
cmp eax, 0xfffffffe
jne 0x42a2dc
push 0x15
push 4
mov ecx, esi
call fcn.0042a590
mov eax, ebx
jmp 0x42a3b9
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0042a8ee
test eax, eax
je 0x42a30b
push 0x28
push 4
mov ecx, esi
call fcn.0042a590
lea eax, [ebp - 0x14]
push 0x4e2db0
push eax
mov dword [ebp - 0x14], ebx
call fcn.0049724f
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x42a349
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x42a32c
cmp ecx, dword [ebp - 0x2c]
je 0x42a349
push 0x28
push 4
mov ecx, esi
call fcn.0042a590
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4e2db0
push eax
call fcn.0049724f
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x42a368
mov ecx, esi
call fcn.00420fdd
cmp eax, 0xffffffff
jne 0x42a363
push 0
jmp 0x42a38b
cmp eax, 0xfffffffe
je 0x42a389
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x42a3b0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x42a389
cmp ecx, dword [ebp - 0x2c]
je 0x42a3b0
push 0x28
push 4
mov ecx, esi
call fcn.0042a590
or eax, 0xffffffff
jmp 0x42a3b9
mov ecx, esi
call fcn.0042a618
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x42add4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00495cf0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x5066ec
call fcn.004b0f0d
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00495c20
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42ae37
or eax, 0xffffffff
jmp 0x42ae91
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x42ae6e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42ae32
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x42ae32
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0042af39
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x42ae97
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00495cf0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.00495c20
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0042b048
test eax, eax
jne 0x42af05
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42af0a
or eax, 0xffffffff
jmp 0x42af33
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42af28
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x42b808
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c91c0
call fcn.00495bfc
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004aee9e
and word [ebp - 0x83c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004b0dea
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b1167
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00495c20
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.00497347
add esp, 0x14
test eax, eax
jne 0x42b8aa
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.00421d48
test eax, eax
je 0x42b8aa
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004b0d76
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x42da9b
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x4c97fa
call fcn.00495bfc
push ecx
mov eax, dword [0x5020c8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [0x5020c8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x10], eax
mov ebx, 0x5066ec
mov byte [ebp - 4], 1
push ebx
mov dword [esi], 0x4d2c5c
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004b0f0d
push ebx
lea ecx, [esi + 0x10]
call fcn.004b0f0d
mov ecx, dword [ebp - 0xc]
push 0x64
pop eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x430f8a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9bd8
call fcn.00495bfc
push ecx
push esi
mov esi, ecx
test byte [esi + 9], 0x10
je 0x430fa6
push 1
pop eax
jmp 0x43117e
test byte [esi + 4], 1
jne 0x430fbd
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430fbd
or dword [esi + 8], 1
push ebx
lea eax, [esi + 0x44]
push edi
push eax
lea ecx, [esi + 0x128]
call fcn.004b0ebd
lea eax, [esi + 0x48]
lea ecx, [esi + 0x12c]
push eax
call fcn.004b0ebd
lea edi, [esi + 0x130]
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.004b0ebd
mov ecx, edi
call fcn.004ae789
mov ecx, edi
call fcn.004ae6fd
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x431018
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, edi
call fcn.004b0f0d
lea ebx, [esi + 0x2fc]
mov edi, 0x5066ec
push edi
mov ecx, ebx
call fcn.004b0f0d
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp eax, edx
jl 0x431066
jg 0x43103d
cmp ecx, edx
jbe 0x431066
push edx
push edx
push edx
push eax
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.00428080
add esp, 0x18
and dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004b0ebd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
lea ebx, [esi + 0x300]
push edi
mov ecx, ebx
call fcn.004b0f0d
lea ecx, [esi + 0x304]
push edi
call fcn.004b0f0d
lea ecx, [esi + 0x308]
push edi
call fcn.004b0f0d
lea ecx, [esi + 0x30c]
push edi
call fcn.004b0f0d
lea ecx, [esi + 0x38]
call fcn.00437f58
mov edi, eax
test edi, edi
je 0x431167
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
test ecx, ecx
jl 0x4310ca
jg 0x4310ba
test eax, eax
jbe 0x4310ca
push ecx
push eax
push str._d_f
push ebx
call fcn.004ae6a7
add esp, 0x10
mov eax, dword [edi + 0x58]
cmp eax, 0x2d0
jne 0x4310db
push str.HD_720
jmp 0x431111
cmp eax, 0x438
jne 0x4310e9
push str.HD_1080
jmp 0x431111
cmp eax, 0x5a0
jne 0x4310f7
push str.QHD_2K
jmp 0x431111
cmp eax, 0x870
jne 0x431105
push str.UHD_4K
jmp 0x431111
cmp eax, 0x10e0
jne 0x43111c
push str.UHD_8K
lea ecx, [esi + 0x304]
call fcn.004b0f0d
mov eax, dword [edi + 0x54]
mov ebx, str._dx_d
test eax, eax
jle 0x431141
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x431141
push ecx
push eax
lea eax, [esi + 0x308]
push ebx
push eax
call fcn.004ae6a7
add esp, 0x10
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x431167
mov edi, dword [edi + 0x84]
test edi, edi
jle 0x431167
push edi
push eax
lea eax, [esi + 0x30c]
push ebx
push eax
call fcn.004ae6a7
add esp, 0x10
lea eax, [esi + 0xc]
lea ecx, [esi + 0x310]
push eax
call fcn.004b0ebd
or byte [esi + 9], 0x10
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4311f6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9bec
call fcn.00495bfc
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x431226
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431226
push dword [esi + 0x10]
mov ecx, esi
call fcn.004314e3
test eax, eax
je 0x431298
test byte [esi + 4], 1
jne 0x431273
mov eax, dword [0x5020c8]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004312ac
test eax, eax
jne 0x431267
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004314e3
test eax, eax
jne 0x431267
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
jmp 0x431298
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
push 0x4edd14
push dword [esi + 0x128]
call fcn.00495cb5
pop ecx
test eax, eax
pop ecx
jne 0x43129c
mov ecx, esi
call fcn.0043134d
test eax, eax
jne 0x43129c
or byte [esi + 5], 2
xor eax, eax
jmp 0x43129f
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x431201
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9bec
call fcn.00495bfc
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x431226
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431226
push dword [esi + 0x10]
mov ecx, esi
call fcn.004314e3
test eax, eax
je 0x431298
test byte [esi + 4], 1
jne 0x431273
mov eax, dword [0x5020c8]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004312ac
test eax, eax
jne 0x431267
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004314e3
test eax, eax
jne 0x431267
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
jmp 0x431298
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
push 0x4edd14
push dword [esi + 0x128]
call fcn.00495cb5
pop ecx
test eax, eax
pop ecx
jne 0x43129c
mov ecx, esi
call fcn.0043134d
test eax, eax
jne 0x43129c
or byte [esi + 5], 2
xor eax, eax
jmp 0x43129f
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4312ac
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9c00
call fcn.00495bfc
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x431335
test byte [ebx + 4], 1
jne 0x431335
and dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], str..jpg
mov dword [ebp - 0x1c], str..jpeg
mov dword [ebp - 0x18], str..png
mov dword [ebp - 0x14], str..bmp
lea esi, [ebp - 0x20]
push dword [esi]
mov eax, dword [ebx + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041bfbd
add esp, 0xc
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004b0ebd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b0d76
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431349
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x4312f3
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
xor eax, eax
jmp 0x431338

Function at 0x432db1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9e88
call fcn.00495bfc
sub esp, 0x48
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432eee
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0042d057
xor ebx, ebx
lea ecx, [ebp - 0x54]
push ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
call fcn.0042d101
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004b0dea
mov eax, dword [0x5020c8]
mov dword [ebp - 0x10], eax
push 0x4fb488
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b1167
lea ecx, [ebp - 0x34]
call fcn.00494eeb
push ebx
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00494fb0
xor esi, esi
cmp eax, ebx
je 0x432ebb
push edi
lea ecx, [ebp - 0x34]
call fcn.004951d6
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00495199
test eax, eax
jne 0x432eb2
lea eax, [ebp + 8]
lea ecx, [ebp - 0x34]
push eax
call fcn.004952a5
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004b0ebd
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.004b0d76
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
cmp eax, ebx
je 0x432e96
cmp dword [ebp + 0x10], ebx
je 0x432eb2
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00432db1
jmp 0x432eb0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
call fcn.0042d1d9
test eax, eax
je 0x432eb2
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00432b7e
add esi, eax
cmp edi, ebx
jne 0x432e34
pop edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00494f2a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b0d76
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b0d76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0042d0c5
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x432efc
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c9e9d
call fcn.00495bfc
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x432f21
call fcn.00432fb7
push 1
pop eax
jmp 0x432f99
push 0x74
call fcn.004b134a
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x432f3d
push esi
call fcn.0043159a
jmp 0x432f3f
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x432f73
push edi
push edi
push 4
mov ecx, eax
call fcn.004b5c75
test eax, eax
jne 0x432f78
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x432f6d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x432f99
mov eax, dword [esi + 0x1f8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x1f8]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x432fb7
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c9eb1
call fcn.00495bfc
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x432fd6
push 1
pop eax
jmp 0x43303c
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004b134a
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x432ffc
push edi
push ebx
mov ecx, eax
call fcn.0043164e
jmp 0x432ffe
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x433067
push 0
push 0
push 4
mov ecx, eax
call fcn.004b5c75
test eax, eax
je 0x43304b
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc ebx
add esi, 4
cmp ebx, 2
jl 0x432fde
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov ecx, dword [edi + ebx*4 + 0x1fc]
lea esi, [edi + ebx*4 + 0x1fc]
test ecx, ecx
je 0x433064
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x43303c

Function at 0x433317
Capabilities:
Check if file exists

Disassembly:
push dword [0x5067a4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43333c
push 0
push 0x414
push dword [0x5067a4]
call fcn.0041bdc3
add esp, 0xc
ret