joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c6fe
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049db30
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049cae0
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.0041c7c2
test eax, eax
jne 0x41c76c
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 0x41c771
or eax, 0xffffffff
jmp 0x41c79a
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 0x41c78f
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 0x41cb1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049db30
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x56f1b4
call fcn.004b9357
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049cae0
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 0x41cb7f
or eax, 0xffffffff
jmp 0x41cbd9
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 0x41cbb6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41cb7a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x41cb7a
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0041cbdf
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x41e1d3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb594
call fcn.0049c89c
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.004b9234
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b95b1
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049cae0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004b5767
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e1f5
pop ecx
test eax, eax
pop ecx
jne 0x41e277
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.0041e29b
test eax, eax
je 0x41e277
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.004b91c0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x425e6e
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4cb950
call fcn.0049c89c
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.00426686
cmp eax, edi
je 0x425ff8
or ebx, 0xffffffff
cmp eax, ebx
je 0x425ed4
cmp eax, 0xfffffffe
je 0x425f09
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x425ebd
push eax
mov ecx, esi
call fcn.0041c5a0
test eax, eax
jne 0x425f09
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.0042690f
cmp eax, edi
je 0x425ed7
cmp eax, 0xfffffffe
je 0x425f09
push edi
jmp 0x425f14
cmp word [esi + 0x78], 2
jne 0x425ff8
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.0042671a
cmp eax, ebx
jne 0x425f0d
push 0x28
jmp 0x425f14
cmp eax, 0xfffffffe
jne 0x425f24
push 0x15
push 4
mov ecx, esi
call fcn.004261d8
mov eax, ebx
jmp 0x426001
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00426536
test eax, eax
je 0x425f53
push 0x28
push 4
mov ecx, esi
call fcn.004261d8
lea eax, [ebp - 0x14]
push 0x4e7c60
push eax
mov dword [ebp - 0x14], ebx
call fcn.0049e0fd
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x425f91
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x425f74
cmp ecx, dword [ebp - 0x2c]
je 0x425f91
push 0x28
push 4
mov ecx, esi
call fcn.004261d8
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4e7c60
push eax
call fcn.0049e0fd
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x425fb0
mov ecx, esi
call fcn.0041d52b
cmp eax, 0xffffffff
jne 0x425fab
push 0
jmp 0x425fd3
cmp eax, 0xfffffffe
je 0x425fd1
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x425ff8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x425fd1
cmp ecx, dword [ebp - 0x2c]
je 0x425ff8
push 0x28
push 4
mov ecx, esi
call fcn.004261d8
or eax, 0xffffffff
jmp 0x426001
mov ecx, esi
call fcn.00426260
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x426a21
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049db30
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x56f1b4
call fcn.004b9357
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049cae0
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 0x426a84
or eax, 0xffffffff
jmp 0x426ade
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 0x426abb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426a7f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x426a7f
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00426b86
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x426ae4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049db30
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049cae0
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.00426c95
test eax, eax
jne 0x426b52
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 0x426b57
or eax, 0xffffffff
jmp 0x426b80
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 0x426b75
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 0x427455
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cba74
call fcn.0049c89c
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b5767
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.004b9234
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b95b1
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049cae0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e1f5
add esp, 0x14
test eax, eax
jne 0x4274f7
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.0041e29b
test eax, eax
je 0x4274f7
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.004b91c0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x428256
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x428269
cmp eax, 0xffffffff
jne 0x42826e
or eax, 0xffffffff
jmp 0x428287
push 0
push edx
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
dec eax
ret 0xc

Function at 0x42ace6
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cbf4d
call fcn.0049c89c
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x42ad01
push 1
pop eax
jmp 0x42ad70
push 0x78
mov dword [esi + 4], edi
call fcn.004b864c
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x42ad23
push dword [ebp + 8]
push esi
call fcn.0042f475
jmp 0x42ad25
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 8], eax
je 0x42ad50
push edi
push edi
push 4
mov ecx, eax
call fcn.004b7afb
test eax, eax
jne 0x42ad55
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x42ad4d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 8], edi
or eax, 0xffffffff
jmp 0x42ad70
mov eax, dword [esi + 8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 8]
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 4
Function at 0x42b5b6
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4cc064
call fcn.0049c89c
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x56f1b4
lea ecx, [ebp - 0x10]
call fcn.004b9234
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x42b64a
cmp ebx, edi
jl 0x42b5e4
cmp ebx, dword [esi + 0x14]
jge 0x42b5e4
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x42b5e6
xor eax, eax
cmp dword [eax + 0x800], 0x64
jne 0x42b644
cmp dword [eax + 0x808], 0x64
jne 0x42b644
push dword [eax + 0x530]
lea edi, [eax + 0x530]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b642
test ebx, ebx
jle 0x42b61f
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b95b1
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b95b1
push edi
lea ecx, [ebp - 0x10]
call fcn.004b95ed
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b95b1
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x42b5d3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x42b68d
lea eax, [ebp - 0x14]
push eax
call fcn.00402052
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x42b675
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x42b67e
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b91c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b91c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42c20d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4cc587
call fcn.0049c89c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x188]
mov dword [ebp - 4], 0x25
call fcn.004b91c0
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x24
call fcn.004b91c0
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0x23
call fcn.004b91c0
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x22
call fcn.004b91c0
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 0x21
call fcn.004b91c0
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x20
call fcn.004b91c0
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 0x1f
call fcn.004b91c0
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 0x1e
call fcn.004b91c0
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 0x1d
call fcn.004b91c0
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0x1c
call fcn.004b91c0
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0x1b
call fcn.004b91c0
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0x1a
call fcn.004b91c0
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 0x19
call fcn.004b91c0
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x104]
call fcn.004b91c0
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 0x17
call fcn.004b91c0
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0x16
call fcn.004b91c0
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x15
call fcn.004b91c0
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0x14
call fcn.004b91c0
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 0x13
call fcn.004b91c0
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x12
call fcn.004b91c0
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.004b91c0
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x10
call fcn.004b91c0
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 0xf
call fcn.004b91c0
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xe
call fcn.004b91c0
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.004b91c0
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0xc
call fcn.004b91c0
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xb
call fcn.004b91c0
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xa
call fcn.004b91c0
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 9
call fcn.004b91c0
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 8
call fcn.004b91c0
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call fcn.004b91c0
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.004b91c0
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.004b91c0
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.004b91c0
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.004b91c0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.004b91c0
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.004b91c0
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.004b91c0
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.004b91c0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42e64d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cca2f
call fcn.0049c89c
sub esp, 0xdc
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call ebx
test eax, eax
je 0x42e815
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, 0xc
je 0x42e812
cmp eax, 0xd
je 0x42e812
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.0041748e
push dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.004174fd
push dword [esi]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.00417542
add esp, 0x18
cmp dword [edi], 0xb
mov byte [ebp - 4], 2
jne 0x42e702
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.004177d3
add esp, 0x10
push dword [ebp + 8]
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push str._s_s._s
push esi
call fcn.004b5491
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004b91c0
jmp 0x42e7ee
push dword [esi]
call ebx
test eax, eax
je 0x42e7ee
mov ebx, str._s_s._s
push 0
lea ecx, [ebp - 0xe8]
call fcn.0040e1b8
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 4
call fcn.004b9307
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
call fcn.004b9307
lea eax, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004b9307
lea ecx, [ebp - 0xe8]
call fcn.004b8b3e
dec eax
je 0x42e787
dec eax
je 0x42e7d9
dec eax
je 0x42e7d1
sub eax, 8
je 0x42e76c
dec eax
je 0x42e7c9
dec eax
je 0x42e7c1
jmp 0x42e7a0
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b5491
add esp, 0x14
mov dword [edi], 0xb
jmp 0x42e7a0
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b5491
add esp, 0x14
mov dword [edi], 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040e26d
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e713
jmp 0x42e7ee
mov dword [edi], 0xd
jmp 0x42e7df
mov dword [edi], 0xc
jmp 0x42e7df
mov dword [edi], 3
jmp 0x42e7df
mov dword [edi], 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040e26d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004b91c0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b91c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b91c0
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x42e8a8
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e8ec
xor ebx, ebx
mov esi, 0x3e8
push dword [esp + 0x10]
call fcn.004173bf
cmp eax, 0xffffffff
pop ecx
jne 0x42e8ec
push dword [edi + 0x10]
push esi
call fcn.00416fb4
pop ecx
test eax, eax
pop ecx
jne 0x42e8f0
add ebx, esi
cmp ebx, 0x2710
jge 0x42e8f0
jmp 0x42e8c2
xor eax, eax
jmp 0x42e8f3
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret 4
Function at 0x42e8f9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
push dword [ebp + 8]
mov ebx, ecx
call esi
test eax, eax
jne 0x42e915
push 0xfffffffffffffffe
pop eax
jmp 0x42e96f
push dword [ebp + 0xc]
call esi
xor edi, edi
test eax, eax
je 0x42e933
cmp dword [ebp + 0x10], edi
je 0x42e96c
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0042e8a8
test eax, eax
jl 0x42e96c
mov esi, 0x3e8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004173e3
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42e968
push dword [ebx + 0x10]
push esi
call fcn.00416fb4
pop ecx
test eax, eax
pop ecx
jne 0x42e96c
add edi, esi
cmp edi, 0x2710
jge 0x42e96c
jmp 0x42e938
xor eax, eax
jmp 0x42e96f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x43110e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ccd1a
call fcn.0049c89c
sub esp, 0x240
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0041a717
pop ecx
mov eax, dword [eax]
push 1
xor esi, esi
push 1
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004170fc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b91c0
lea ecx, [ebp - 0x84]
call fcn.0042c9f7
push dword [ebp + 0x2c]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
push dword [ebp + 0x28]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00430d44
cmp eax, esi
je 0x43118a
mov byte [ebp - 4], 4
mov esi, eax
jmp 0x431273
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4311a3
mov byte [ebp - 4], 5
or esi, 0xffffffff
jmp 0x431273
push esi
lea ecx, [ebp - 0x24c]
call fcn.004609b0
push 3
lea ecx, [ebp - 0x24c]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004626d0
test al, al
jne 0x4311f1
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24c], 0x4d34bc
call fcn.00460a80
lea ecx, [ebp - 0x24c]
call fcn.004609d0
mov byte [ebp - 4], 7
jmp 0x43119b
cmp dword [ebp + 0x24], esi
jle 0x43123b
cmp dword [ebp + 0x20], esi
jle 0x43123b
push edi
lea ecx, [ebp - 0x24c]
call fcn.00461590
lea ecx, [ebp - 0x24c]
mov edi, eax
call fcn.00461580
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push edi
push eax
call fcn.00431d42
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24c]
push dword [ebp + 0x18]
push eax
call fcn.00418c03
add esp, 0x20
pop edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.00460fd0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24c], 0x4d34bc
call fcn.00460a80
lea ecx, [ebp - 0x24c]
call fcn.004609d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.004b91c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x84], 0x4d6da4
call fcn.00417169
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x432228
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4cce70
call fcn.0049c89c
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432266
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041748e
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b91c0
lea eax, [ebp - 0x14]
push eax
call fcn.0041a717
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.004170fc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b91c0
push dword [ebp + 8]
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.004b9357
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 8]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.00432007
test eax, eax
je 0x4322bd
mov esi, eax
jmp 0x4322f2
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x20]
test eax, eax
je 0x4322d7
or esi, 0xffffffff
jmp 0x4322f2
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x24]
or esi, 0xffffffff
cmp eax, esi
je 0x4322f2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00417169
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x451823
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4cf342
call fcn.0049c89c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00451008
mov eax, dword [0x56a9b8]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x56a9b8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x4d84e8
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x56a9b8]
mov dword [esi + 0x3c], eax
mov eax, dword [0x56a9b8]
mov dword [esi + 0x40], eax
mov eax, dword [0x56a9b8]
mov dword [esi + 0x44], eax
mov edi, 0x56f1b4
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4d84dc
call fcn.004b9357
push edi
lea ecx, [esi + 0x18]
call fcn.004b9357
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.004b9357
push edi
lea ecx, [esi + 0x40]
call fcn.004b9357
push edi
lea ecx, [esi + 0x44]
call fcn.004b9357
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret