joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bdd0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x21638], 0
je 0x40bdf2
push 0
push 0x575
push str..Updater.cpp
push str.mainThread___NULL
call fcn.0055a490
add esp, 0x10
cmp dword [esi + 0x21658], 0
je 0x40be14
push 0
push 0x576
push str..Updater.cpp
push str.loginThread___NULL
call fcn.0055a490
add esp, 0x10
push ebx
push edi
push 0
push 0
push esi
push 0x40ab90
push 0
push 0
call fcn.0057c6ca
push 0
push 0
push esi
push 0x40b440
push 0
push 0
mov dword [esi + 0x21638], eax
call fcn.0057c6ca
add esp, 0x30
mov dword [esi + 0x21c88], eax
lea edi, [esi + 0x21648]
mov ebx, 3
push 0
push 0
push esi
push 0x40b450
push 0
push 0
call fcn.0057c6ca
mov dword [edi], eax
add esp, 0x18
add edi, 4
sub ebx, 1
jne 0x40be56
pop edi
pop ebx
ret

Function at 0x40bf00
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.CUpdater::Stop___n
mov esi, eax
call fcn.0055a180
add esp, 4
cmp byte [esi + 0x20df4], 0
jne 0x40bf23
mov eax, dword [esi + 0x21640]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x71806c
call edi
lea eax, [esi + 0x20dd4]
push eax
mov dword [esp + 0x14], eax
call edi
mov eax, dword [esi + 0x21638]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp eax, ebx
je 0x40bf68
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21638]
push ecx
call ebp
mov dword [esi + 0x21638], ebx
mov eax, dword [esi + 0x21c88]
cmp eax, ebx
je 0x40bf85
push ebx
push eax
call edi
mov edx, dword [esi + 0x21c88]
push edx
call ebp
mov dword [esi + 0x21c88], ebx
mov eax, dword [esi + 0x21658]
cmp eax, ebx
je 0x40bfa2
push ebx
push eax
call edi
mov eax, dword [esi + 0x21658]
push eax
call ebp
mov dword [esi + 0x21658], ebx
add esi, 0x21648
mov ebx, 3
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
je 0x40bfc6
push 0
push eax
call edi
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], 0
add esi, 4
sub ebx, 1
jne 0x40bfb0
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
call esi
push 0x71806c
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40df10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ca74d
mov eax, dword fs:[0]
push eax
sub esp, 0x194
push ebx
push edi
mov eax, dword [0x6926e4]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40df9b
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40df70
mov ecx, dword [esp + 0x10]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.username
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
mov ebx, str.api_Login.aspx
call fcn.0040d770
push esi
push str.username
lea ecx, [esp + 0xd4]
mov dword [esp + 0x1b0], 0
call fcn.0040e8e0
lea ecx, [esi + 0x80]
push ecx
push str.password
lea ecx, [esp + 0xd4]
call fcn.0040e8e0
lea eax, [esp + 0x14]
call fcn.0040db60
test al, al
jne 0x40e010
mov edx, dword [esp + 0x180]
push edx
push str.Login_FAILED__code:__d_n
call fcn.0055a180
add esp, 8
mov dword [esi + 0x10c], 3
jmp 0x40e0de
mov edx, dword [esp + 0x194]
lea edi, [esi + 0x108]
push edi
lea ecx, [esi + 0x104]
push ecx
lea ebx, [esi + 0x100]
push ebx
push str._d__d__d
push edx
call fcn.0057c402
add esp, 0x14
cmp eax, 3
je 0x40e051
push str.Login:_bad_answer_n
call fcn.0055a350
add esp, 4
jmp 0x40e0de
mov eax, dword [edi]
cmp eax, 0x3e7
jne 0x40e06b
lea ecx, [esp + 0x14]
mov dword [esi + 0x10c], 7
push ecx
jmp 0x40e0e3
cmp dword [ebx], 0
jne 0x40e081
lea edx, [esp + 0x14]
mov dword [esi + 0x10c], 5
push edx
jmp 0x40e0e3
cmp eax, 0x64
jne 0x40e092
mov dword [esi + 0x10c], 4
jmp 0x40e0de
cmp eax, 0x46
jne 0x40e0a3
mov dword [esi + 0x10c], 6
jmp 0x40e0de
cmp eax, 0xc8
jne 0x40e0b6
mov dword [esi + 0x10c], 0xa
jmp 0x40e0de
cmp eax, 0xc9
jne 0x40e0c9
mov dword [esi + 0x10c], 9
jmp 0x40e0de
sub eax, 0x12c
neg eax
sbb eax, eax
and eax, 3
add eax, 8
mov dword [esi + 0x10c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1ac], 0xffffffff
call fcn.0040d910
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e110
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5ca11b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6926e4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov eax, dword [0x6926e4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x234]
mov ecx, dword [eax + 0x108]
mov edx, dword [eax + 0x104]
mov eax, dword [eax + 0x100]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str._d:_d:_d
push ecx
call fcn.004078f0
lea eax, [esp + 0x30]
add esp, 0x14
xor ecx, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40e180
sub eax, esi
je 0x40e1ad
jmp 0x40e190
xor byte [esp + ecx + 0x1c], 0x64
lea eax, [esp + 0x1c]
inc ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40e1a0
sub eax, esi
cmp ecx, eax
jb 0x40e190
lea ecx, [esp + 8]
call fcn.0040f8f0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0
call fcn.0040faf0
push str.utf_8
lea ecx, [esp + 0xc]
call fcn.0040fb80
lea ecx, [esp + 8]
call fcn.0040fb30
mov edx, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x40e1e8
lea ecx, [esp + 8]
mov dword [esp + 0x22c], 0xffffffff
call fcn.0040fa00
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0057bd22
add esp, 0x228
ret 4
Function at 0x41a8f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb177
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x6926e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x134]
call fcn.00417ea0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00417ea0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.00419c50
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.00419c50
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.0041a180
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.0041a180
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0044d9e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0044da60
movzx edx, al
test edx, edx
je 0x41a9ce
lea ecx, [ebp - 0x1bc]
call fcn.004190e0
push eax
lea ecx, [ebp - 0x134]
call fcn.004190e0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x41aaac
lea ecx, [ebp - 0x134]
call fcn.00418030
test eax, eax
jg 0x41a9f0
lea ecx, [ebp - 0x1bc]
call fcn.00418030
test eax, eax
jle 0x41aa83
lea ecx, [ebp - 0x24c]
call fcn.00417ea0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00417ea0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0041ab20
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.0041ab20
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.004188a0
push eax
lea ecx, [ebp - 0x24c]
call fcn.004188a0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dl
mov byte [ebp - 0x1bd], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00417fb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00417fb0
jmp 0x41aaac
lea ecx, [ebp - 0x1bc]
call fcn.004188a0
push eax
lea ecx, [ebp - 0x134]
call fcn.004188a0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
movzx ecx, byte [ebp - 0x1bd]
test ecx, ecx
jne 0x41aac5
cmp dword [ebp + 0x10], 0
je 0x41aac5
mov ecx, dword [ebp + 0x10]
call fcn.0044cc50
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0044da40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00417fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00417fb0
mov al, byte [ebp - 0x2d5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057bd22
mov esp, ebp
pop ebp
ret
Function at 0x41ac50
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb1fc
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6926e4]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00417ea0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00419c50
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041a180
lea ecx, [ebp - 0x134]
call fcn.0044d9e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0044da60
movzx ecx, al
test ecx, ecx
je 0x41ad18
lea ecx, [ebp - 0x94]
call fcn.004190e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne dl
mov byte [ebp - 0x255], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044da40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00417fb0
mov al, byte [ebp - 0x255]
jmp 0x41aeeb
lea ecx, [ebp - 0x94]
call fcn.00418030
cmp eax, 0x104
jle 0x41ae1e
lea ecx, [ebp - 0x1bc]
call fcn.00417ea0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.0041a580
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.00417ea0
mov byte [ebp - 4], 3
push 0x5cd94c
lea ecx, [ebp - 0x24c]
call fcn.004197d0
lea ecx, [ebp - 0x1bc]
call fcn.00419980
push eax
lea ecx, [ebp - 0x24c]
call fcn.004197d0
lea ecx, [ebp - 0x24c]
call fcn.004188a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
jne 0x41adbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x41adbf
mov dword [ebp - 0x1c0], 1
cmp dword [ebp - 0x1c0], 0
setne dl
mov byte [ebp - 0x256], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00417fb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00417fb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044da40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00417fb0
mov al, byte [ebp - 0x256]
jmp 0x41aeeb
lea ecx, [ebp - 0x94]
call fcn.004188a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x41ae91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
cmp dword [ebp + 0xc], 0
je 0x41ae7e
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0044ccf0
lea ecx, [ebp - 0x94]
call fcn.00419980
push eax
push str.failedToDeleteFilepath
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call eax
cmp dword [ebp - 0x254], 2
jne 0x41ae91
mov dword [ebp - 0x250], 1
cmp dword [ebp - 0x250], 0
setne cl
mov byte [ebp - 0x257], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044da40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00417fb0
mov al, byte [ebp - 0x257]
jmp 0x41aeeb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0057bd22
mov esp, ebp
pop ebp
ret
Function at 0x41b810
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb351
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x6926e4]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.00418030
test eax, eax
jne 0x41b87b
cmp dword [ebp + 0x14], 0
je 0x41b874
push str.GetAttributes:_filename_is_empty
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
call edx
xor al, al
jmp 0x41b9e4
lea ecx, [ebp - 0x94]
call fcn.00417ea0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00419c50
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041a180
lea ecx, [ebp - 0x94]
call fcn.00418030
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x134]
call fcn.0044d9e0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x104
jge 0x41b92c
lea ecx, [ebp - 0x94]
call fcn.00418e10
movzx ecx, al
test ecx, ecx
jne 0x41b8fb
lea ecx, [ebp - 0x134]
call fcn.0044da60
movzx edx, al
test edx, edx
je 0x41b92c
lea ecx, [ebp - 0x94]
call fcn.004190e0
push eax
call fcn.0041d680
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xffffffff
jne 0x41b927
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x41b9ac
cmp dword [ebp - 0x138], 0
jle 0x41b982
lea ecx, [ebp - 0x1c4]
call fcn.00417ea0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0041ab20
add esp, 8
lea ecx, [ebp - 0x1c4]
call fcn.004188c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00417fb0
jmp 0x41b999
lea ecx, [ebp - 0x94]
call fcn.004188c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x41b9ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp dword [edx], 0xffffffff
setne al
mov byte [ebp - 0x1c5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044da40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00417fb0
mov al, byte [ebp - 0x1c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0057bd22
mov esp, ebp
pop ebp
ret
Function at 0x41bd00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb2fc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x6926e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x13c]
call fcn.00417ea0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00419c50
push 0x5c
push 0x2f
lea ecx, [ebp - 0x13c]
call fcn.0041a180
lea ecx, [ebp - 0xac]
call fcn.0044d9e0
mov byte [ebp - 4], 1
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xac]
call fcn.0044da60
movzx ecx, al
test ecx, ecx
je 0x41bda4
push 0
lea ecx, [ebp - 0x13c]
call fcn.004190e0
push eax
call fcn.0041d640
add esp, 8
mov dword [ebp - 0xb0], eax
jmp 0x41be1d
lea ecx, [ebp - 0x13c]
call fcn.00418030
test eax, eax
jle 0x41be03
lea ecx, [ebp - 0x1c4]
call fcn.00417ea0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.0041ab20
add esp, 8
push 0
lea ecx, [ebp - 0x1c4]
call fcn.004188a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00417fb0
jmp 0x41be1d
push 0
lea ecx, [ebp - 0x13c]
call fcn.004188a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x41be73
cmp dword [ebp + 0xc], 0
je 0x41be73
lea ecx, [ebp - 0x1ec]
call fcn.00411d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.004145f0
lea ecx, [ebp - 0x1ec]
call fcn.0040fc00
push eax
push str.errorMsg
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ec]
call fcn.00412130
cmp dword [ebp - 0xb0], 0
setne cl
mov byte [ebp - 0x1ed], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.0044da40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00417fb0
mov al, byte [ebp - 0x1ed]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057bd22
mov esp, ebp
pop ebp
ret
Function at 0x41bed0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb351
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x6926e4]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00417ea0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00419c50
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041a180
push 0
lea ecx, [ebp - 0x94]
push ecx
call fcn.0041af10
add esp, 8
lea ecx, [ebp - 0x134]
call fcn.0044d9e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x134]
call fcn.0044da60
movzx edx, al
test edx, edx
je 0x41bf8d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x94]
call fcn.004190e0
push eax
call fcn.0041d660
add esp, 8
movzx ecx, al
mov dword [ebp - 0x138], ecx
jmp 0x41c00a
lea ecx, [ebp - 0x94]
call fcn.00418030
test eax, eax
jle 0x41bfee
lea ecx, [ebp - 0x1c4]
call fcn.00417ea0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0041ab20
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.004188a0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00417fb0
jmp 0x41c00a
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.004188a0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
setne al
mov byte [ebp - 0x1c5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044da40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00417fb0
mov al, byte [ebp - 0x1c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0057bd22
mov esp, ebp
pop ebp
ret

Function at 0x41d660
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
pop ebp
ret
Function at 0x423510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4235d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42357c
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x130], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0041ea80
push str.Failed_to_start_thread
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0x10]
call edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0x24]
call eax
xor al, al
jmp 0x4235bb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.0041ea80
push str.Task_started_in_background_thread.
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 0x24]
call edx
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x42a220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc462
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6926e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ClsBgTask.0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 9], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00443ab0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x28], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00417ea0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.004151c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xd8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.0045e5d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a8
call fcn.004767a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42a340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc4c0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6926e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ClsBgTask.0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00444050
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a8
call fcn.00476860
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.0045e6a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.00416670
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00417fb0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00443b00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret