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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], 1
cmp dword [edi + 0x24], ebx
je 0x412ec7
mov dword [ebp - 0xc], 0x101
push ebx
lea eax, [ebp - 4]
push eax
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.00414064
mov esi, eax
cmp esi, ebx
jge 0x412ee7
push 0x43f54c
jmp 0x412feb
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [edi + 0x18]
call fcn.00432656
mov esi, eax
cmp esi, ebx
jl 0x412f2f
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xc], 1
cmp eax, ebx
je 0x412fce
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp + 8]
call fcn.00414064
mov esi, eax
cmp esi, ebx
jge 0x412f5e
push 0x43f52c
jmp 0x412feb
push dword [ebp - 4]
cmp esi, 0x80070002
jne 0x412f4b
push 0x43f508
push 1
call fcn.004310a4
add esp, 0xc
jmp 0x412fc2
push 0x43f4de
push esi
call fcn.00431454
add esp, 0xc
jmp 0x412ff3
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
sub ecx, ebx
je 0x412fc7
dec ecx
dec ecx
je 0x412fad
cmp eax, ebx
je 0x412fce
jle 0x412f8b
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x412f96
mov esi, 0x80004005
push esi
push 0x30c
push 0x43f37c
call fcn.00431468
push 0x43f4ba
jmp 0x412feb
push dword [ebp - 8]
push dword [ebp - 4]
push 0x43f484
push 1
call fcn.004310a4
add esp, 0x10
mov dword [ebp - 0xc], ebx
jmp 0x412fce
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
push ebx
cdq
push edx
push eax
push dword [edi + 4]
push dword [ebp + 8]
call fcn.004159cc
mov esi, eax
cmp esi, ebx
jge 0x41300a
push 0x43f24c
push esi
call fcn.00431454
pop ecx
pop ecx
cmp esi, ebx
jge 0x41300a
push esi
push dword [ebp - 4]
push 0x43f450
push 1
call fcn.004310a4
add esp, 0x10
cmp dword [ebp - 4], ebx
je 0x413017
push dword [ebp - 4]
call fcn.0042ea70
cmp dword [ebp - 8], ebx
je 0x413024
push dword [ebp - 8]
call fcn.0042ea70
cmp dword [ebp - 0x10], ebx
je 0x413032
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x41b664
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x2c
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00408720
push 0x2c
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.00408720
mov esi, dword [ebp + 0x1c]
xor eax, eax
mov ebx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
add esp, 0x18
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x1c], esi
xor esi, esi
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x28]
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 0x28]
push 0x41b3b4
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 0x2c]
push esi
push esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
jne 0x41b752
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x41b728
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, esi
jl 0x41b733
mov ebx, 0x80004005
push ebx
push 0x3bd
push 0x442992
call fcn.00431468
push 0x443af8
push ebx
call fcn.00431454
pop ecx
pop ecx
jmp 0x41b799
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x41b464
push dword [ebp + 0xc]
call fcn.0040d53a
mov ebx, eax
cmp ebx, esi
jge 0x41b77c
push 0x443a48
push ebx
call fcn.00431454
pop ecx
pop ecx
jmp 0x41b792
push edi
call fcn.00419368
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x38
Function at 0x41ba7a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
push ebx
push ebx
stosd dword es:[edi], eax
push 1
push ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x41bae3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41babf
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x41bacd
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x3b
push 0x443b56
call fcn.00431468
push 0x443bda
jmp 0x41bb42
mov esi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0x41b8c4
push ebx
push ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x41bb4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41bb20
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x41bb2e
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x44
push 0x443b56
call fcn.00431468
push 0x443bba
push dword [ebp - 4]
call fcn.00431454
pop ecx
pop ecx
jmp 0x41bb69
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 8]
mov dword [esi + 0x1e0], eax
mov dword [ebp - 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x41bb7c
push dword [ebp - 8]
call esi
mov dword [ebp - 8], ebx
cmp dword [ebp - 0xc], ebx
je 0x41bb86
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41c202
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x198], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00408720
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41c28e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41c269
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41c274
mov esi, 0x80004005
push esi
push 0x24e
push 0x443fde
call fcn.00431468
push 0x443fc2
jmp 0x41c33c
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.0041c14a
mov esi, eax
cmp esi, edi
jge 0x41c2ac
push 0x443f9c
jmp 0x41c33c
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x41c324
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push 0x443f94
push eax
call fcn.0042ff34
mov esi, eax
add esp, 0xc
cmp esi, edi
jge 0x41c2e2
push 0x443f6a
jmp 0x41c33c
lea eax, [ebp - 0x7c]
push eax
push SysReAllocString
push dword [ebp - 0x74]
call fcn.0041c14a
mov esi, eax
cmp esi, edi
jge 0x41c300
push 0x443f3e
jmp 0x41c33c
push dword [ebp - 0x7c]
mov esi, dword [ebp - 0x78]
push dword [ebp - 0x74]
sub esi, dword [ebp - 0x7c]
push dword [ebp - 0x7c]
lea eax, [ebp + esi*2 - 0x70]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41c324
mov dword [ebp - 0x78], esi
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
push ebx
call fcn.0042f9d0
mov esi, eax
cmp esi, edi
jge 0x41c344
push 0x443f22
push esi
call fcn.00431454
pop ecx
pop ecx
cmp dword [ebp - 0x74], edi
je 0x41c351
push dword [ebp - 0x74]
call fcn.0042ea70
mov ecx, dword [ebp + 0x198]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408498
add ebp, 0x19c
leave
ret
Function at 0x41f71a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x41f77e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41f75f
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41f76a
mov esi, 0x80004005
push esi
push 0x41
push 0x4457c2
call fcn.00431468
push 0x445862
jmp 0x41f7e1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0x41f556
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x41f7eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41f7c4
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41f7cf
mov esi, 0x80004005
push esi
push 0x4a
push 0x4457c2
call fcn.00431468
push 0x445846
push esi
call fcn.00431454
pop ecx
pop ecx
jmp 0x41f7fa
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], edi
je 0x41f80d
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 0xc], edi
je 0x41f817
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret 0xc

Function at 0x420952
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov esi, ecx
call fcn.00408720
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4209cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4209aa
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4209b5
mov esi, 0x80004005
push esi
push 0x41b
push 0x445e6e
call fcn.00431468
push 0x445e42
jmp 0x4209ed
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x43e58c
push edi
call fcn.0042ff34
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x4209f5
push 0x445e02
push esi
call fcn.00431454
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408498
leave
ret
Function at 0x420b00
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov ecx, 0x20000004
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x420b8d
lea eax, [ebp - 4]
push eax
push 0x1a
call fcn.00420a50
mov esi, eax
cmp esi, edi
jge 0x420b38
push 0x445f42
jmp 0x420b7e
push 2
push 8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x420b88
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x420b5e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x420b69
mov esi, 0x80004005
push esi
push 0x557
push 0x445e6e
call fcn.00431468
push 0x445f28
push esi
call fcn.00431454
pop ecx
pop ecx
jmp 0x420bb8
mov ecx, 0x20000005
push 0x7d0
push 3
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
push ecx
push 1
push dword [ebp + 0xc]
call fcn.004363a2
push 0x80
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 4], edi
je 0x420bc5
push dword [ebp - 4]
call fcn.004317d2
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x421e0c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x1e0]
sub esp, 0x260
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x1dc], eax
push ebx
push esi
mov esi, dword [ebp + 0x1ec]
xor ebx, ebx
push 0x250
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
call fcn.00408720
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x4030b4
push dword [ebp + 0x1e8]
call fcn.004207cc
test eax, eax
js 0x421e70
push 7
push dword [ebp - 0x78]
call fcn.004357c2
cmp dword [ebp + 0x1e8], ebx
jne 0x421f2e
push edi
lea edi, [ebp - 0x78]
mov ecx, esi
call fcn.00420952
pop edi
test eax, eax
js 0x421f2e
lea eax, [ebp - 0x80]
push eax
push 0x446a28
push dword [ebp - 0x78]
call fcn.004307ea
test eax, eax
js 0x421f2e
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x421f2e
test byte [ebp - 0x74], 0x10
jne 0x421f18
xor eax, eax
mov word [ebp + 0x1be], ax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jbe 0x421efc
push 0x2e
add eax, eax
pop ecx
cmp cx, word [ebp + eax - 0x4c]
jne 0x421efc
movzx eax, word [ebp + eax - 0x4a]
push 0x52
pop ecx
cmp cx, ax
je 0x421f18
push 0x72
pop ecx
cmp cx, ax
je 0x421f18
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x78]
call fcn.004307ea
test eax, eax
js 0x421f18
push dword [ebp - 0x7c]
call fcn.00434f56
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421ebd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x7c], ebx
je 0x421f3b
push dword [ebp - 0x7c]
call fcn.0042ea70
cmp dword [ebp - 0x80], ebx
je 0x421f48
push dword [ebp - 0x80]
call fcn.0042ea70
cmp dword [ebp - 0x78], ebx
pop esi
pop ebx
je 0x421f57
push dword [ebp - 0x78]
call fcn.0042ea70
mov ecx, dword [ebp + 0x1dc]
xor ecx, ebp
call fcn.00408498
add ebp, 0x1e0
leave
ret 8
Function at 0x42958c
Capabilities:
Copy file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 4]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov edi, 0x43b5fe
cmp eax, ebx
je 0x4295ac
mov ecx, dword [eax]
jmp 0x4295b9
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4295b7
mov ecx, dword [ecx]
jmp 0x4295b9
mov ecx, edi
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4295c2
mov edi, dword [edx]
test eax, eax
je 0x4295d4
xor eax, eax
test edx, edx
setne al
add eax, 0x20000150
jmp 0x4295e3
mov eax, dword [esi + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [ebp + 8]
push 0x44a568
push edi
push ecx
push eax
push 1
call fcn.0040c33a
add esp, 0x18
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00434aae
test eax, eax
je 0x429667
test byte [ebp - 4], 1
je 0x429667
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x429667
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x429636
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x429641
mov ebx, 0x80004005
push ebx
push 0x4df
push 0x44a440
call fcn.00431468
push dword [ebp + 0xc]
push 0x44a52a
push ebx
call fcn.00431454
add esp, 0xc
jmp 0x4296ef
push 0
lea edi, [esi + 0x20]
push edi
push esi
push fcn.00428eee
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x4296ef
cmp dword [edi], ebx
je 0x4296ac
mov esi, 0x80070642
push esi
push 0x4e9
push 0x44a440
mov ebx, esi
call fcn.00431468
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x44a4fa
push esi
jmp 0x4296e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4296c0
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x4296cb
mov ebx, 0x80004005
push ebx
push 0x4ed
push 0x44a440
call fcn.00431468
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x44a4c6
push ebx
call fcn.00431454
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x4296f8
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebx + 4]
and dword [ebp - 4], 0
push esi
push edi
mov esi, 0x43b5fe
test ecx, ecx
je 0x429716
mov eax, dword [ecx]
jmp 0x42971f
mov eax, dword [ebx + 8]
test eax, eax
je 0x429724
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x429727
mov dword [ebp - 8], esi
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x429735
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x429738
mov dword [ebp - 0xc], esi
lea esi, [ecx + 0x2c]
test ecx, ecx
jne 0x429768
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x14]
lea esi, [edx + 0x40]
mov dword [ebp - 0x10], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ecx, ecx
je 0x429773
xor eax, eax
test edx, edx
setne al
add eax, 0x20000150
jmp 0x429782
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x1c]
jmp 0x42974b
mov eax, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [esi]
push 0x44a59e
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
push 1
call fcn.0040c33a
mov edi, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push edi
call fcn.00434aae
test eax, eax
je 0x429808
test byte [ebp - 4], 1
je 0x429808
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x429808
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4297d7
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x4297e2
mov edi, 0x80004005
push edi
push 0x50d
push 0x44a440
call fcn.00431468
push dword [ebp + 8]
push 0x44a52a
push edi
call fcn.00431454
add esp, 0xc
jmp 0x429897
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], fcn.00428eee
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
push 0x62
pop ecx
cmp cx, word [eax]
jne 0x429865
push 0x69
pop ecx
cmp cx, word [eax + 2]
jne 0x429865
push 0x74
pop ecx
cmp cx, word [eax + 4]
jne 0x429865
push 0x73
pop ecx
cmp cx, word [eax + 6]
jne 0x429865
movzx ecx, word [eax + 8]
push 0x3a
pop edx
cmp dx, cx
je 0x429858
push 0x73
pop edx
cmp dx, cx
jne 0x429865
push 0x3a
pop ecx
cmp cx, word [eax + 0xa]
jne 0x429865
push edi
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0042e466
jmp 0x42987e
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push dword [ebp - 0x14]
push esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
push dword [ebx]
call fcn.0042dcbe
mov edi, eax
test edi, edi
jns 0x429897
push dword [ebp + 8]
push dword [esi]
push 0x44a56e
push edi
call fcn.00431454
add esp, 0x10
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x42cf26
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [esp + 0xc]
or dword [esi + 0x3c], 0xffffffff
push edi
xor ebx, ebx
push ebx
push dword [esp + 0x18]
lea eax, [esi + 0x1c]
push eax
call fcn.0042f9d0
mov edi, eax
cmp edi, ebx
jge 0x42cf53
push 0x44ba82
jmp 0x42d038
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x24], eax
cmp eax, ebx
jne 0x42cf9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42cf7b
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42cf86
mov edi, 0x80004005
push edi
push 0x78
push 0x44b650
call fcn.00431468
push 0x44ba5a
jmp 0x42d038
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x28], eax
cmp eax, ebx
jne 0x42cfde
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42cfbf
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42cfca
mov edi, 0x80004005
push edi
push 0x7b
push 0x44b650
call fcn.00431468
push 0x44ba2e
jmp 0x42d038
push ebx
push ebx
push esi
push 0x42ccde
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
cmp eax, ebx
jne 0x42d028
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d009
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42d014
mov edi, 0x80004005
push edi
push 0x7f
push 0x44b650
call fcn.00431468
push 0x44ba0a
jmp 0x42d038
call fcn.0042c674
mov edi, eax
cmp edi, ebx
jge 0x42d040
push 0x44b9e2
push edi
call fcn.00431454
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
Function at 0x42d2fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 8], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00420854
mov dword [ebp - 4], eax
cmp eax, ebx
jge 0x42d339
push dword [ebp + 8]
push 0x44bc8e
push eax
call fcn.00431454
add esp, 0xc
jmp 0x42d3ed
mov eax, dword [ebp + 0xc]
push ebx
push 0x80
push 4
push ebx
push 4
push 0xc0000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x42d39f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d370
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d37e
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0xd0
push 0x44bb88
call fcn.00431468
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0x44bc6c
push dword [ebp - 4]
jmp 0x42d32c
push ebx
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, edi
push eax
lea eax, [edi + esi]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d3f6
add edi, dword [ebp - 8]
cmp dword [ebp - 8], ebx
je 0x42d3c8
cmp edi, 8
jb 0x42d39f
cmp edi, 8
je 0x42d3d2
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
or dword [ebp + 8], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp + 8], 0xffffffff
je 0x42d3ed
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d40a
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d418
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0xd7
push 0x44bb88
call fcn.00431468
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0x44bc4c
push dword [ebp - 4]
call fcn.00431454
add esp, 0xc
jmp 0x42d3de