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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00511420
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x6749b4
call fcn.005681ba
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00511000
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 0x429e96
or eax, 0xffffffff
jmp 0x429ef0
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 0x429ecd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429e91
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x429e91
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00429f98
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x429ef6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00511420
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.00511000
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.0042a0a7
test eax, eax
jne 0x429f64
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 0x429f69
or eax, 0xffffffff
jmp 0x429f92
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 0x429f87
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 0x42a867
Capabilities:
Get common file path

Disassembly:
mov eax, 0x584b5c
call fcn.00510fdc
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00565b20
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.00568097
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.00568414
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00511000
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.00512787
add esp, 0x14
test eax, eax
jne 0x42a909
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.0041d8e6
test eax, eax
je 0x42a909
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.00568023
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x42b5f4
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x42b607
cmp eax, 0xffffffff
jne 0x42b60c
or eax, 0xffffffff
jmp 0x42b625
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 0x42cb4f
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
push esi
push str.Shell_TrayWnd
mov dword [ebx + 4], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push 5
mov dword [ebp - 0x3c], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
jne 0x42cbb8
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push esi
call edi
push 1
mov esi, eax
call edi
mov edx, dword [ebx]
sub esi, edx
lea ecx, [esi - 1]
mov dword [ebx + 0x3c], ecx
add ecx, edx
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebx + 4]
sub eax, ecx
dec eax
mov dword [ebx + 0x40], eax
add eax, ecx
jmp 0x42cc29
mov eax, dword [ebp - 0x30]
and byte [ebp - 1], 0
and byte [ebp + 0xf], 0
sub eax, esi
je 0x42cbe0
dec eax
je 0x42cbda
dec eax
je 0x42cbd0
dec eax
jne 0x42cbe8
and byte [ebp - 1], 0
and byte [ebp + 0xf], 0
jmp 0x42cbe8
mov byte [ebp - 1], 1
jmp 0x42cbd4
and byte [ebp - 1], 0
mov byte [ebp + 0xf], 1
lea eax, [ebp - 0x18]
push esi
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp byte [ebp + 0xf], 0
je 0x42cc02
mov eax, dword [ebp - 0x18]
inc eax
jmp 0x42cc08
mov eax, dword [ebp - 0x10]
sub eax, dword [ebx]
dec eax
mov dword [ebx + 0x3c], eax
add eax, dword [ebx]
cmp byte [ebp - 1], 0
mov dword [ebx + 0x44], eax
je 0x42cc1c
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x42cc23
mov eax, dword [ebp - 0xc]
sub eax, dword [ebx + 4]
dec eax
mov dword [ebx + 0x40], eax
add eax, dword [ebx + 4]
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x4c]
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], 4
jmp 0x42cc3e
mov eax, dword [ebp + 0xc]
lea esi, [eax - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or ecx, 0xffffffff
movsd dword es:[edi], dword [esi]
sub ecx, dword [ebx + 4]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
add dword [ebp + 0xc], 0x10
dec dword [ebp - 8]
jne 0x42cc3b
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x42e247
Capabilities:
Resume thread

Disassembly:
mov eax, 0x5851d5
call fcn.00510fdc
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x84], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x7c]
push 0x74
call fcn.00568612
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x42e287
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.0042eaa0
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x42e2c6
push 0
push 0
push 4
mov ecx, esi
call fcn.0056c33b
test eax, eax
je 0x42e2d5
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x42e266
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x42e2e2
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x42e2c6

Function at 0x42f672
Capabilities:
Resume thread

Disassembly:
mov eax, 0x585389
call fcn.00510fdc
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x94], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x8c]
push 0x74
call fcn.00568612
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x42f6b5
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.0042fe28
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x42f6f4
push 0
push 0
push 4
mov ecx, esi
call fcn.0056c33b
test eax, eax
je 0x42f703
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x42f694
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x42f710
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x42f6f4

Function at 0x4309b2
Capabilities:
Resume thread

Disassembly:
mov eax, 0x5854f1
call fcn.00510fdc
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x84], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x7c]
push 0x74
call fcn.00568612
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x4309f2
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.00431126
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x430a31
push 0
push 0
push 4
mov ecx, esi
call fcn.0056c33b
test eax, eax
je 0x430a40
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x4309d1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x430a4d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x430a31
Function at 0x434383
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
jle 0x43439f
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
call fcn.00434365
inc edi
cmp edi, dword [esi + 8]
jl 0x43438e
mov eax, dword [esi + 0x24]
cmp dword [eax - 8], 0
je 0x4343d2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4343d2
push dword [esi + 0x24]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4343d2
push 0
push 0x414
push dword [esi + 0x24]
call fcn.004104ec
add esp, 0xc
pop edi
pop esi
ret

Function at 0x43463d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x58592b
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], 0x59f760
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.004346bd
lea ecx, [esi + 0x60]
mov dword [ebp - 4], edi
call fcn.0043473d
mov ecx, dword [ebp - 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi], 0x59f74c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4358d9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5859d7
call fcn.00510fdc
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x184], ebx
lea eax, [esi + 0x180]
jg 0x435917
jl 0x435903
cmp dword [eax], ebx
ja 0x435917
cmp dword [esi + 0x6cc], ebx
lea eax, [esi + 0x6c8]
jl 0x43593d
jg 0x435917
cmp dword [eax], ebx
jbe 0x43593d
lea ecx, [esi + 0x2a8]
call fcn.004ec280
test al, al
jne 0x4359fa
lea ecx, [esi + 0x7c0]
call fcn.004ec280
test al, al
jne 0x4359fa
test byte [esi + 0xec], 0x10
jne 0x4359fa
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43595f
or eax, 0xffffffff
jmp 0x4359fd
lea ecx, [ebp - 0xec]
call fcn.00435a0d
push dword [ebp + 0xc]
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.00458bd9
test eax, eax
je 0x435987
or esi, 0xffffffff
jmp 0x4359e7
cmp dword [esi + 0x538], 1
push edi
jg 0x4359ab
fild qword [ebp - 0xcc]
mov edi, dword [esi]
fmul qword [0x59dfb0]
call fcn.0051127c
push edx
push eax
mov ecx, esi
call dword [edi + 0x48]
lea ecx, [ebp - 0xec]
call fcn.004592fb
mov edi, eax
cmp edi, ebx
je 0x4359dd
push dword [edi + 0x58]
push dword [edi + 0x54]
call fcn.00423826
pop ecx
mov edx, dword [esi]
pop ecx
mov dword [esi + 0x6d0], eax
push dword [edi + 0x58]
mov ecx, esi
push dword [edi + 0x54]
push eax
call dword [edx + 0x44]
or dword [esi + 0xec], 0x10
xor esi, esi
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.00435d0d
mov eax, esi
jmp 0x4359fd
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4371b5
Capabilities:
Contain obfuscated stackstrings

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

Disassembly:
mov eax, 0x58627d
call fcn.00510fdc
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0xd4], 0xa
jne 0x438582
cmp dword [eax + 0xdc], 0
jne 0x43867d
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], 0x3e8
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 8], ebx
jle 0x438670
mov eax, dword [edi + 8]
test eax, eax
je 0x4385aa
cmp dword [eax], 0
jne 0x43867d
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 4]
test eax, eax
je 0x438601
cmp dword [eax + 0x10], 0x64
jne 0x4385ca
cmp dword [eax + 0x1c], 0x64
je 0x438657
cmp dword [eax + 0x80], 0
jne 0x438657
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x43866e
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x94]
inc ecx
cmp eax, ecx
jge 0x438657
test eax, eax
je 0x43866e
cmp eax, dword [ebp - 0x10]
jge 0x438657
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x7c]
jmp 0x43863b
mov eax, dword [esi]
test byte [eax + 0x24], 0x20
jne 0x438657
cmp dword [eax + 0x120], 0
jne 0x438657
mov eax, dword [eax + 0x11c]
test eax, eax
je 0x43866e
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x94]
inc ecx
cmp eax, ecx
jge 0x438657
test eax, eax
je 0x43866e
cmp eax, dword [ebp - 0x10]
jge 0x438657
mov eax, dword [esi]
mov edi, dword [eax + 0x11c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x98]
cmp eax, dword [ebp + 0x14]
jb 0x438657
mov eax, dword [edi + 0x94]
mov ebx, esi
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
cmp eax, dword [ecx + 8]
jl 0x43859a
jmp 0x438670
mov ebx, esi
mov eax, dword [edi + 8]
xor esi, esi
cmp eax, esi
je 0x438682
cmp dword [eax], esi
je 0x438682
push 1
pop eax
jmp 0x4386ec
cmp ebx, esi
jne 0x43868b
or eax, 0xffffffff
jmp 0x4386ec
push 0x78
call fcn.00568612
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x4386af
push dword [ebp + 0xc]
push dword [ebx + 4]
push dword [ebx]
push edi
call fcn.00456561
mov esi, eax
or dword [ebp - 4], 0xffffffff
xor edi, edi
push edi
push edi
push 4
mov ecx, esi
call fcn.0056c33b
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4386e2
mov dword [eax + 0x80], esi
jmp 0x4386ea
mov eax, dword [ebx]
mov dword [eax + 0x120], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x439848
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x5864bf
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x2c]
mov dword [ebx], eax
mov eax, dword [0x66cc08]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x38], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x3c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x40], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x44], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x48], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x4c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x50], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 8
call fcn.00439963
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], eax
mov edi, 0x6749b4
mov eax, 0x3e8
push edi
mov ecx, ebx
mov dword [esi], 0x59f8d4
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x1000
call fcn.005681ba
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], 0x50
mov dword [esi + 0x34], 0x6e
call fcn.005681ba
push edi
lea ecx, [esi + 0x3c]
call fcn.005681ba
push edi
lea ecx, [esi + 0x40]
call fcn.005681ba
push edi
lea ecx, [esi + 0x44]
call fcn.005681ba
push edi
lea ecx, [esi + 0x48]
call fcn.005681ba
push edi
lea ecx, [esi + 0x4c]
call fcn.005681ba
push edi
lea ecx, [esi + 0x50]
call fcn.005681ba
push edi
lea ecx, [esi + 0x54]
call fcn.005681ba
and dword [esi + 0x58], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x43ca4e
Capabilities:
Resume thread

Disassembly:
mov eax, 0x586aed
call fcn.00510fdc
push ecx
push esi
push edi
mov esi, ecx
push 0x74
call fcn.00568612
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor edi, edi
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x43ca81
push edi
push dword [ebp + 0xc]
push esi
call fcn.004553cb
mov esi, eax
jmp 0x43ca83
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x43caa3
push edi
push edi
push 4
mov ecx, esi
call fcn.0056c33b
test eax, eax
jne 0x43caa8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x43cac2
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x43d133
Capabilities:
Resume thread

Disassembly:
mov eax, 0x586b1d
call fcn.00510fdc
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x5ec]
test edx, edx
jle 0x43d17b
mov eax, dword [eax + 0x5e8]
mov ecx, dword [eax]
test ecx, ecx
je 0x43d16d
cmp dword [ecx + 0x10], 0x64
jne 0x43d16c
cmp dword [ecx + 0x1c], 0x64
je 0x43d16d
inc ebx
inc edi
add eax, 4
cmp edi, edx
jl 0x43d15a
xor edi, edi
cmp ebx, edi
jne 0x43d180
push 1
pop eax
jmp 0x43d1e4
push 0x74
call fcn.00568612
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x43d1a3
push 1
push dword [ebp + 0xc]
push esi
call fcn.004553cb
mov esi, eax
jmp 0x43d1a5
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x43d1c5
push edi
push edi
push 4
mov ecx, esi
call fcn.0056c33b
test eax, eax
jne 0x43d1ca
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x43d1e4
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x43ff7e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x586e54
call fcn.00510fdc
push ecx
lea eax, [ebp - 0x10]
push esi
mov esi, ecx
push eax
call fcn.00419be1
and dword [ebp - 4], 0
mov dword [esp], str.Completed.wav
push dword [eax]
add esi, 4
push str._sMedia_s
push esi
call fcn.005652d9
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00568023
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ffd7
push 0x6749b4
mov ecx, esi
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4407e4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x586f39
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], 0x59f760
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.0044096b
lea ecx, [esi + 0x98]
mov dword [ebp - 4], edi
call fcn.00440aa8
push 1
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 1
call fcn.00440866
mov ecx, dword [ebp - 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi], 0x59ff6c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret