joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410b10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4bc704]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test ebx, ebx
jne 0x410b3a
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x410c1e
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
mov dword [ebp - 0x230], 0
call fcn.0046ae60
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x410b85
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
push edi
jmp 0x410b90
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x218]
jne 0x410c07
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x228]
cmp ecx, eax
jae 0x410bd7
mov ecx, dword [esi]
lea edx, [ebp - 0x228]
cmp ecx, edx
ja 0x410bd7
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x410bc7
mov eax, esi
call fcn.0041df70
mov eax, dword [esi + 4]
test eax, eax
je 0x410bf2
mov ecx, dword [esi]
mov edx, dword [ecx + edi*4]
mov dword [eax], edx
jmp 0x410bf2
cmp eax, dword [esi + 8]
jne 0x410be3
mov eax, esi
call fcn.0041df70
mov eax, dword [esi + 4]
test eax, eax
je 0x410bf2
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov edx, dword [ebp - 0x228]
add dword [esi + 4], 4
push esi
push edx
push ebx
call fcn.00410b10
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x410b90
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
Function at 0x410c40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4bc704]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x144]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea ecx, [ebp - 0x120]
push esi
push ecx
call fcn.0046ae60
add esp, 0xc
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x410cda
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x110], 2
jne 0x410da7
mov eax, dword [ebp - 0x11c]
sub eax, 5
je 0x410d67
mov ecx, 1
sub eax, ecx
jne 0x410da7
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x410d29
cmp byte [ebp - 6], cl
jne 0x410da7
mov esi, 5
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
cmp eax, ecx
jne 0x410d48
cmp byte [ebp - 6], cl
jne 0x410da7
mov esi, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x410da7
cmp byte [ebp - 6], cl
jne 0x410da7
mov esi, 3
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x410d98
cmp byte [ebp - 6], 1
jne 0x410da7
cmp word [ebp - 0x144], 9
jne 0x410da7
mov esi, 2
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
mov ecx, 1
cmp eax, ecx
je 0x410d82
test eax, eax
jne 0x410da7
mov esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00467ce1
mov esp, ebp
pop ebp
ret

Function at 0x410ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bc704]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x410ee4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea eax, [esi + esi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00464d5d
add esp, 4
xor ecx, ecx
test esi, esi
je 0x410f66
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x62613938
mov dword [ebp - 8], 0x66656463
mov dword [ebp - 0x24], 0x33323130
mov dword [ebp - 0x20], 0x37363534
mov dword [ebp - 0x1c], 0x62613938
mov dword [ebp - 0x18], 0x66656463
nop
movzx edx, byte [ecx + edi]
shr edx, 4
movzx edx, byte [ebp + edx - 0x14]
mov word [eax + ecx*4], dx
movzx edx, byte [ecx + edi]
and edx, 0xf
movzx edx, byte [ebp + edx - 0x24]
mov word [eax + ecx*4 + 2], dx
inc ecx
cmp ecx, esi
jb 0x410f40
xor ecx, ecx
mov dword [eax + esi*4], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
Function at 0x411930
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push edi
push eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
cmp esi, edi
je 0x41199a
push esi
call fcn.00464d5d
mov ecx, dword [ebp + 0xc]
add esp, 4
mov ebx, eax
mov eax, dword [ecx]
push ebx
push esi
push edi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4119bc
push ebx
call fcn.004683dc
add esp, 4
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x49f470
call fcn.00404d20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov eax, dword [ebp - 0x10]
movzx esi, word [eax]
movzx ecx, word [eax + 2]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
shl esi, 0x10
or esi, ecx
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], edi
mov edx, dword [ecx]
push edx
push esi
push str.StringFileInfo_08lx_s
lea edi, [ebp + 0xc]
call fcn.00408690
mov esi, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x411a5c
push ebx
call fcn.004683dc
mov edi, dword [ebp + 8]
add esp, 4
push edi
mov ecx, 0x49f470
call fcn.00404d20
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x411ab9
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00404d20
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404780
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411aa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ac5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411ae0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c468
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.0046ae60
xor eax, eax
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00404d20
lea edx, [ebp - 0x14]
push 0x49f3e8
push edx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00408fc0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00412aa0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x411bb5
mov eax, 0x104
lea ecx, [ebp - 0x10]
call fcn.00404bb0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00469425
add esp, 8
test eax, eax
js 0x411c7a
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x411c7a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x411c14
push eax
call esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x411c1e
push eax
call esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404c10
int3
Function at 0x414660
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c270
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.00414f30
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x4146af
push esi
mov ecx, 0x49f470
call fcn.00404d20
or edi, 0xffffffff
jmp 0x41471b
push 0x4c8314
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0040a4b0
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
je 0x4146dd
test al, 0x10
je 0x4146ea
push esi
mov ecx, 0x49f470
call fcn.00404d20
jmp 0x4146fa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404780
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41471b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41473a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b252
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4bc704]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x220], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.0046ae60
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x417be1
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417bc4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00404c30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret

Function at 0x417d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b252
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4bc704]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x220], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.0046ae60
mov edx, dword [ebp + 8]
add esp, 0xc
push 0
push edx
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x417e24
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417e07
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
push esi
call fcn.00404c30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00467ce1
mov esp, ebp
pop ebp
ret
Function at 0x41b7f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488208
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CAppLaunch.0
xor edi, edi
push 0x4c6000
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x41b83d
push eax
call fcn.00467cd6
add esp, 4
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x41b856
push eax
call fcn.00467cd6
add esp, 4
lea ecx, [esi + 0x10]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.0041de50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
push eax
mov dword [esi], vtable.CFpLaunch.0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esi + 0xc]
sub esi, 0x10
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b89d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41d3e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bdf0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov dword [ebp - 4], 0
call fcn.00408fc0
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x14]
push str.UninstallString
mov ecx, 0x80000002
call fcn.0041ff10
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0041db00
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d48d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d4b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41dc80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bd30
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ebp - 0x10]
call fcn.004121c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41dccf
mov ecx, dword [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
mov byte [ebp - 4], 1
call fcn.004693b4
push edx
push eax
push str._I64d
lea edi, [ebp - 0x14]
call fcn.00408690
push str._apprecord.ini
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00409300
add esp, 0x1c
mov byte [ebp - 4], 2
mov eax, dword [eax]
sub eax, 0x10
call fcn.00404780
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.APPLIST
call fcn.00404d20
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edi, dword [ebp - 0x14]
push esi
push edi
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ddad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ddcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ddf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x421620
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dbbe
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x18]
xor edi, edi
call fcn.00417ce0
lea esi, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.00417b20
push str.Aptdata
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00409300
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421695
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov esi, esp
call fcn.00404780
lea ecx, [ebp - 0x18]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.004181f0
push str.AptShadow.exe
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00409300
add esp, 0x14
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421723
test byte [0x4c8654], 1
jne 0x421705
or dword [0x4c8654], 1
mov byte [ebp - 4], 5
call fcn.00415250
push 0x4968f0
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 4
push ecx
mov esi, esp
mov eax, 0x4c8554
mov dword [ebp - 0x20], esp
call fcn.00408150
mov edx, dword [ebp - 0x10]
push edx
call fcn.00411ae0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421769
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42178f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e408
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x4c8540], 1
jne 0x421e05
or dword [0x4c8540], 1
push 0x4955b0
call fcn.004683c5
add esp, 4
push 0
mov ecx, 2
call fcn.004087f0
mov ebx, eax
test ebx, ebx
je 0x421eec
lea eax, [ebp - 0x24]
push eax
call fcn.004035a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x421e45
mov eax, 0x4c8198
lea edi, [ebp - 0x1c]
call fcn.004046a0
jmp 0x421ec9
lea esi, [ebp - 0x10]
call fcn.00417ce0
push str.AptShadow.exe
push eax
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 1
call fcn.00409300
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421e86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea edi, [ebp - 0x1c]
mov eax, 0x4c819c
je 0x421ea1
mov eax, 0x4c81a8
call fcn.004046a0
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421ec9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
mov esi, ebx
call fcn.0040a220
mov ecx, ebx
call fcn.00409c10
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
lea esi, [ebp - 0x24]
call fcn.00403810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4