joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004eb8
Capabilities:
Check if file exists
Get session user name

Disassembly:
push 0x334
mov eax, 0x1004ce72
call fcn.100352ea
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x31c], ax
lea eax, [ebp - 0x31a]
push eax
mov esi, ecx
call fcn.10035590
add esp, 0xc
lea eax, [ebp - 0x31c]
push eax
mov ebx, str.polocker.exe
call fcn.10019b00
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10004f11
push 3
pop eax
jmp 0x10004ffa
push esi
push str._lock
lea eax, [ebp - 0x31c]
push eax
push str.__s___s__s
lea ecx, [ebp - 0x338]
call fcn.1001b423
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
push 0xfe
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x112]
push esi
push eax
call fcn.10035590
add esp, 0x1c
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x340], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x10004f85
push esi
push 1
lea esi, [ebp - 0x338]
call fcn.10003179
xor eax, eax
jmp 0x10004ffa
call fcn.1001d270
test eax, eax
mov eax, dword [ebp - 0x334]
jne 0x10004fab
cmp dword [ebp - 0x320], 8
jae 0x10004fa3
lea eax, [ebp - 0x334]
push eax
call fcn.1001a88f
jmp 0x10004fc0
cmp dword [ebp - 0x320], 8
jae 0x10004fba
lea eax, [ebp - 0x334]
push eax
call fcn.1001a9dc
mov dword [ebp - 0x33c], eax
cmp eax, esi
je 0x10004fd4
cmp eax, 0xffffffff
je 0x10004fd4
xor ebx, ebx
inc ebx
jmp 0x10004fd6
xor ebx, ebx
lea eax, [ebp - 0x33c]
call fcn.10004ea2
push esi
push 1
lea esi, [ebp - 0x338]
call fcn.10003179
xor eax, eax
test bl, bl
setne al
dec eax
and eax, 4
call fcn.1003536d
ret

Function at 0x100051e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov ebx, str._LockScreenOnStartup
push ebx
mov edi, str.Software_LockScreenOnStartup
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10005226
cmp dword [ebp - 8], 4
jne 0x10005226
mov eax, dword [ebp - 0xc]
jmp 0x10005228
xor eax, eax
test eax, eax
je 0x10005230
xor eax, eax
jmp 0x10005249
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push esi
mov dword [ebp - 0x10], 1
call fcn.1001b823
xor eax, eax
add esp, 0x10
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100053ba
Capabilities:
Check if file exists
Get session user name

Disassembly:
push ebp
sub esp, 0x324
lea ebp, [esp - 4]
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp + 0x324], eax
push 8
mov eax, 0x1004ce3f
call fcn.10035281
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
mov esi, ecx
call fcn.10035590
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
mov ebx, str.polocker.exe
call fcn.10019b00
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000541c
push 3
pop eax
jmp 0x100054de
push esi
push str._unlock
lea eax, [ebp + 0x1c]
push eax
push str.__s___s__s
lea ecx, [ebp]
call fcn.1001b423
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
push 0xfe
mov word [ebp + 0x224], ax
lea eax, [ebp + 0x226]
push esi
push eax
call fcn.10035590
add esp, 0x1c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x224]
push eax
mov dword [ebp - 0x14], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x10005481
push esi
push 1
lea esi, [ebp]
call fcn.10003179
xor eax, eax
jmp 0x100054de
call fcn.1001d270
test eax, eax
mov eax, dword [ebp + 4]
jne 0x1000549e
cmp dword [ebp + 0x18], 8
jae 0x10005496
lea eax, [ebp + 4]
push eax
call fcn.1001a88f
jmp 0x100054ad
cmp dword [ebp + 0x18], 8
jae 0x100054a7
lea eax, [ebp + 4]
push eax
call fcn.1001a9dc
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x100054be
cmp eax, 0xffffffff
je 0x100054be
xor ebx, ebx
inc ebx
jmp 0x100054c0
xor ebx, ebx
lea eax, [ebp - 0x10]
call fcn.10004ea2
push esi
push 1
lea esi, [ebp]
call fcn.10003179
xor eax, eax
test bl, bl
setne al
dec eax
and eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x324]
xor ecx, ebp
call fcn.10033d61
add ebp, 0x328
leave
ret

Function at 0x10005a6e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10050404
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x10080060]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push str.desktopManager
lea ecx, [esp + 0x2c]
call fcn.10002c0b
and dword [esp + 0x50], 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
call fcn.1000589a
pop ecx
mov ecx, eax
mov byte [esp + 0x50], 1
call fcn.10008ca9
lea esi, [esp + 0xc]
mov byte [esp + 0x50], 0
call fcn.1002147b
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.10003081
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000ac5d
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x10087d84]
push esi
xor esi, esi
cmp eax, esi
je 0x1000ac76
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10087d84], esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10087d84], eax
call fcn.100159fd
push esi
push esi
push esi
push 0x1000a964
push esi
push esi
mov dword [0x10087d7c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10087d80], eax
pop esi
ret

Function at 0x1000cd6f
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x10087dc0]
push esi
xor esi, esi
cmp eax, esi
je 0x1000cd88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10087dc0], esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10087dc0], eax
call fcn.100159fd
push esi
push esi
push esi
push 0x1000c9eb
push esi
push esi
mov dword [0x10087db8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10087dbc], eax
pop esi
ret
Function at 0x1000cf3e
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x98
lea ebp, [esp - 4]
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp + 0x98], eax
push 0x3c
mov eax, 0x1004fc76
call fcn.10035281
mov eax, dword [ebp + 0xa4]
mov esi, dword [ebp + 0xa8]
xor edi, edi
cmp eax, edi
je 0x1000d026
cmp byte [eax], 0
je 0x1000d026
push eax
lea ecx, [ebp - 0x48]
call fcn.10002c0b
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp - 4], edi
call fcn.1002ab08
pop ecx
pop ecx
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10003081
push esi
lea ecx, [ebp - 0x2c]
call fcn.10002c0b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x44]
push eax
mov byte [ebp - 4], 3
call fcn.1002ab08
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10003081
lea eax, [ebp + 0x44]
push eax
lea ecx, [ebp + 0x7c]
call fcn.100011f7
pop ecx
mov byte [ebp - 4], 6
cmp dword [ebp + 0x94], 8
mov eax, dword [ebp + 0x80]
jae 0x1000cffd
lea eax, [ebp + 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000d04d
push edi
push ebx
lea esi, [ebp + 0x7c]
call fcn.10003179
push edi
push ebx
lea ecx, [ebp + 0x44]
call fcn.10003081
push edi
push ebx
lea ecx, [ebp + 0x60]
call fcn.10003081
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x98]
xor ecx, ebp
call fcn.10033d61
add ebp, 0x9c
leave
ret 8
lea eax, [ebp]
call fcn.10008c33
mov byte [ebp - 4], 7
cmp dword [ebp + 0x78], 0x10
mov eax, dword [ebp + 0x64]
mov dword [0x10087dc4], ebx
jae 0x1000d06b
lea eax, [ebp + 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002c0b
lea ecx, [ebp]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.1000c75d
mov bl, al
neg bl
push edi
sbb bl, bl
push 1
lea ecx, [ebp - 0x2c]
inc bl
mov byte [ebp - 4], 7
call fcn.10003081
test bl, bl
je 0x1000d0c6
lea edi, [ebp]
call fcn.10008c50
xor edi, edi
push edi
push 1
lea esi, [ebp + 0x7c]
call fcn.10003179
push edi
push 1
lea ecx, [ebp + 0x44]
call fcn.10003081
push edi
push 1
jmp 0x1000d01e
push 0xffffffffffffffff
lea eax, [ebp + 0x1c]
push eax
xor ebx, ebx
lea eax, [ebp + 0x7c]
mov dword [0x10087dc4], edi
call fcn.100030cc
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.100071f2
push ebx
lea edi, [ebp]
call fcn.1000cdb7
add esp, 0x1c
call fcn.10008c50
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp + 0x7c]
call fcn.10003179
push ebx
push edi
lea ecx, [ebp + 0x44]
call fcn.10003081
push ebx
push edi
lea ecx, [ebp + 0x60]
call fcn.10003081
mov eax, edi
jmp 0x1000d028

Function at 0x1000d76a
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x10087df8]
push esi
xor esi, esi
cmp eax, esi
je 0x1000d783
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10087df8], esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10087df8], eax
call fcn.100159fd
push esi
push esi
push esi
push 0x1000d471
push esi
push esi
mov dword [0x10087df0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10087df4], eax
pop esi
ret
Function at 0x1000f0ab
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x10087e38]
push esi
xor esi, esi
cmp eax, esi
je 0x1000f0c4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10087e38], esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10087e38], eax
call fcn.100159fd
push esi
push esi
push esi
push 0x1000ecd0
push esi
push esi
mov dword [0x10087e30], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10087e34], eax
pop esi
ret

Function at 0x10010a8b
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1004b810
call fcn.100352b4
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.10034278
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x10010ad5
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x10010ac1
mov dword [esi + 0x10], edi
jmp 0x10010ad7
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x10010acd
push esi
jmp 0x10010ace
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x10010ad7
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x10010b37
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x18]
mov esi, eax
cmp ecx, edi
je 0x10010b09
mov eax, dword [ecx]
lea edx, [ebp + 8]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov eax, esi
jmp 0x10010b31
call fcn.10035359
ret

Function at 0x1001156c
Capabilities:
Delete file

Disassembly:
push 0x4c
mov eax, 0x1004da3b
call fcn.100352ea
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x34], eax
cmp esi, ebx
je 0x1001167b
cmp edi, ebx
je 0x1001167b
cmp eax, ebx
je 0x1001167b
call fcn.1001d270
test eax, eax
je 0x1001167b
push esi
call fcn.1001ceff
push edi
mov dword [ebp - 0x3c], eax
call fcn.1001ceff
lea edi, [ebp - 0x58]
mov dword [ebp - 0x38], eax
call fcn.1002aba3
mov dword [ebp - 4], ebx
cmp dword [eax + 0x18], 0x10
jb 0x100115d1
mov eax, dword [eax + 4]
jmp 0x100115d4
add eax, 4
push dword [ebp - 0x38]
lea esi, [ebp - 0x2c]
push dword [ebp - 0x3c]
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile__s__s
call fcn.1001b481
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.10003081
push dword [ebp - 0x3c]
call fcn.1001c7e8
push dword [ebp - 0x38]
call fcn.1001c7e8
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x30], ebx
jae 0x1001161e
lea esi, [ebp - 0x28]
mov eax, dword [0x10088ea8]
cmp eax, ebx
jne 0x10011641
push str.E2FE52CB
call fcn.1001c78b
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10088ea8], eax
cmp eax, ebx
je 0x10011667
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp - 0x34]
push esi
call eax
cmp eax, ebx
je 0x10011667
cmp dword [ebp - 0x30], 0xc8
jne 0x10011667
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003081
mov al, 1
jmp 0x1001167d
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003081
xor al, al
call fcn.1003536d
ret
Function at 0x10011683
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1a4]
push esi
push edi
mov dword [ebp - 0x78], eax
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push ebx
push eax
mov dword [ebp - 0x80], ebx
call fcn.10035590
add esp, 0xc
push ebx
push 0x23
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projonewallpapers
lea eax, [ebp - 0x74]
push eax
call edi
lea esi, [ebp - 0x74]
call fcn.100196ac
cmp dword [ebp - 0x78], ebx
je 0x10011704
push dword [ebp - 0x78]
mov eax, esi
push eax
call edi
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
call fcn.10002ca9
mov ecx, dword [ebp + 0x194]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033d61
add ebp, 0x198
leave
ret

Function at 0x10011d8a
Capabilities:
Check if file exists

Disassembly:
push 0x78
mov eax, 0x1004e1f4
call fcn.100352ea
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x30], ebx
cmp esi, ebx
jne 0x10011db2
push 0x10053b10
mov esi, edi
call fcn.10002ca9
jmp 0x10011eb5
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.10011683
pop ecx
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10011dcd
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011e08
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10011de4
lea eax, [ebp - 0x28]
push eax
call fcn.100196c4
cmp edx, ebx
ja 0x10011df5
cmp eax, 0x400
jbe 0x10011e08
lea eax, [ebp - 0x2c]
push eax
mov esi, edi
call fcn.10002cc9
push ebx
push 1
jmp 0x10011ead
push esi
lea esi, [ebp - 0x4c]
call fcn.10002ca9
mov eax, esi
push eax
xor ebx, ebx
lea eax, [ebp - 0x84]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.10001237
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x10011e38
lea ecx, [ebp - 0x28]
cmp dword [eax + 0x18], 0x10
jb 0x10011e43
mov eax, dword [eax + 4]
jmp 0x10011e46
add eax, 4
push ecx
mov edx, eax
mov ecx, str.wallpapers
call fcn.1001156c
pop ecx
test al, al
je 0x10011e5d
lea eax, [ebp - 0x2c]
jmp 0x10011e75
push 0x10053b10
lea esi, [ebp - 0x68]
call fcn.10002ca9
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 2
push eax
mov esi, edi
call fcn.10002cc9
or dword [ebp - 0x30], ebx
test byte [ebp - 0x30], 2
je 0x10011e91
push 0
push ebx
lea esi, [ebp - 0x68]
call fcn.10003179
push 0
push ebx
lea ecx, [ebp - 0x84]
call fcn.10003081
push 0
push ebx
lea esi, [ebp - 0x4c]
call fcn.10003179
push 0
push ebx
lea esi, [ebp - 0x2c]
call fcn.10003179
mov eax, edi
call fcn.1003536d
ret
Function at 0x10014579
Capabilities:
Create thread

Disassembly:
push 0x12c
mov eax, 0x1004eb14
call fcn.100352ea
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea esi, [edi + 0x20]
push 4
mov dword [ebp - 0x138], edi
mov dword [edi + 0xc], 0xa
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x64
mov dword [edi + 0x1c], ebx
mov dword [ebp - 0x134], esi
call fcn.10034278
pop ecx
cmp eax, ebx
je 0x100145c6
mov dword [eax], esi
jmp 0x100145c8
xor eax, eax
mov dword [esi], eax
mov dword [ebp - 4], ebx
call fcn.10016fd1
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], 1
lea esi, [edi + 0x40]
push 4
mov dword [ebp - 0x134], esi
call fcn.10034278
pop ecx
cmp eax, ebx
je 0x1001460c
mov dword [eax], esi
jmp 0x1001460e
xor eax, eax
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.100170b3
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov byte [eax + 0x19], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov dword [esi + 0x1c], ebx
mov byte [ebp - 4], 3
lea esi, [edi + 0x60]
push 4
mov dword [ebp - 0x134], esi
call fcn.10034278
pop ecx
cmp eax, ebx
je 0x10014650
mov dword [eax], esi
jmp 0x10014652
xor eax, eax
mov dword [esi], eax
mov byte [ebp - 4], 4
call fcn.100170b3
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov byte [eax + 0x19], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov dword [esi + 0x1c], ebx
mov byte [ebp - 4], 5
lea esi, [edi + 0x80]
push 4
mov dword [ebp - 0x134], esi
call fcn.10034278
pop ecx
cmp eax, ebx
je 0x10014697
mov dword [eax], esi
jmp 0x10014699
xor eax, eax
mov dword [esi], eax
mov byte [ebp - 4], 6
call fcn.10016fd1
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov dword [esi + 0x1c], ebx
push 0x118
lea eax, [ebp - 0x12c]
push ebx
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x130], 0x11c
call fcn.10035590
add esp, 0xc
lea esi, [ebp - 0x130]
call fcn.10019cd1
push 6
pop eax
cmp eax, dword [ebp - 0x12c]
sbb eax, eax
inc eax
mov dword [edi + 0x10], eax
call fcn.10015828
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
lea eax, [edi + 4]
push eax
push ebx
push edi
push 0x100147cc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [edi + 8]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
call fcn.1003536d
ret
Function at 0x10014735
Capabilities:
Terminate thread

Disassembly:
push 0
mov eax, 0x1004d492
call fcn.10035281
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], 3
cmp dword [esi], ebx
je 0x1001477e
push ebx
push ebx
push 0x12
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x3e7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x1001478e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x14], ebx
lea eax, [esi + 0x80]
push eax
mov byte [ebp - 4], 2
call fcn.10015bdc
lea eax, [esi + 0x60]
push eax
mov byte [ebp - 4], 1
call fcn.10016112
lea eax, [esi + 0x40]
push eax
mov byte [ebp - 4], bl
call fcn.10016112
or dword [ebp - 4], 0xffffffff
add esi, 0x20
push esi
call fcn.10015bdc
call fcn.10035359
ret 4
Function at 0x1001936a
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x1001958f
test eax, eax
jne 0x100193bb
test ecx, ecx
je 0x1001958f
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x10019411
cmp ax, 0x5c
je 0x10019411
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.10035590
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001958f
test al, 0x10
je 0x1001958f
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x100565b0
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x1001958f
mov dword [ebp - 0xa7c], 1
push 0x100565b4
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10019554
push 0x100565b8
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10019554
cmp dword [ebp - 0xa78], 0xffffffff
je 0x10019554
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x10019534
cmp dword [ebp - 0xa80], 0
je 0x100194f8
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x10019571
cmp dword [ebp + 0xc], 0
je 0x10019554
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.1001936a
push 2
pop ecx
cmp eax, ecx
jne 0x10019554
mov dword [ebp - 0xa7c], ecx
jmp 0x1001957b
cmp dword [ebp - 0xa84], 0
je 0x10019554
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x10019571
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10019474
jmp 0x1001957b
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x10019591
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033d61
leave
ret 0x18
Function at 0x100195a2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x1001969c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1001969c
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10035590
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.10019ec7
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10019619
shr eax, 4
not eax
and eax, 1
jmp 0x1001969e
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.100196ac
test eax, eax
je 0x1001969c
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x1001967e
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x10019684
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.10004ea2
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x1001969e
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10033d61
leave
ret