joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408ef0
Capabilities:
Delete file

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6ade1c]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push str.Making_sure_extracted_files_exists_n
call fcn.00568410
add esp, 4
push 1
lea ebx, [edi + 0x4e0]
push 1
mov ecx, ebx
call fcn.005762f0
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
xor ebp, ebp
sar eax, 2
test eax, eax
jbe 0x408fde
mov edi, edi
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
cmp ebp, ecx
jb 0x408f58
call fcn.0058f903
mov edx, dword [edi + 0x5f4]
mov esi, dword [edx + ebp*4]
test byte [esi + 0x116], 1
je 0x408fc6
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.00569130
add esp, 0xc
test al, al
je 0x408f99
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x10a]
jne 0x408f99
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x106]
je 0x408fc6
push esi
push str.restoring__s_n
call fcn.00568410
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x681748
push esi
mov ecx, ebx
call fcn.00577160
test al, al
je 0x40900a
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x408f40
mov ecx, ebx
call fcn.00576450
push str.Making_sure_extracted_files_exists___finished_n
call fcn.00568410
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058e447
add esp, 0x40c
ret
push esi
lea edx, [esp + 0x18]
push str.Cant_extract_file__s_nPlease_delete_this_file_manually
push edx
call fcn.00401dd0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.00407ac0
int3
Function at 0x40a8f0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x21808], 0
je 0x40a912
push 0
push 0x67a
push str..Updater.cpp
push str.mainThread___NULL
call fcn.00568720
add esp, 0x10
cmp dword [esi + 0x2189c], 0
je 0x40a934
push 0
push 0x67b
push str..Updater.cpp
push str.loginThread___NULL
call fcn.00568720
add esp, 0x10
push ebx
push edi
push 0
push 0
push esi
push 0x409760
push 0
push 0
call fcn.0058ed87
push 0
push 0
push esi
push 0x40a4f0
push 0
push 0
mov dword [esi + 0x21808], eax
call fcn.0058ed87
add esp, 0x30
mov dword [esi + 0x21f00], eax
lea edi, [esi + 0x21818]
mov ebx, 0x20
push 0
push 0
push esi
push 0x40a510
push 0
push 0
call fcn.0058ed87
mov dword [edi], eax
add esp, 0x18
add edi, 4
sub ebx, 1
jne 0x40a976
pop edi
pop ebx
ret

Function at 0x40aa20
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push str.CUpdater::Stop___n
mov esi, eax
call fcn.00568410
xor ebx, ebx
add esp, 4
cmp byte [esi + 0x20df4], bl
jne 0x40aa46
mov eax, dword [esi + 0x21810]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x735f1c
call edi
lea eax, [esi + 0x20dd4]
push eax
mov dword [esp + 0x18], eax
call edi
mov eax, dword [esi + 0x21808]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x40aa89
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21808]
push ecx
call ebp
mov dword [esi + 0x21808], ebx
mov eax, dword [esi + 0x21f00]
cmp eax, ebx
je 0x40aaa6
push ebx
push eax
call edi
mov edx, dword [esi + 0x21f00]
push edx
call ebp
mov dword [esi + 0x21f00], ebx
mov eax, dword [esi + 0x21f04]
cmp eax, ebx
je 0x40aac3
push ebx
push eax
call edi
mov eax, dword [esi + 0x21f04]
push eax
call ebp
mov dword [esi + 0x21f04], ebx
mov eax, dword [esi + 0x2189c]
cmp eax, ebx
je 0x40aae0
push ebx
push eax
call edi
mov ecx, dword [esi + 0x2189c]
push ecx
call ebp
mov dword [esi + 0x2189c], ebx
add esi, 0x21818
mov dword [esp + 0x10], 0x20
mov edi, edi
mov eax, dword [esi]
cmp eax, ebx
je 0x40ab01
push ebx
push eax
call edi
mov edx, dword [esi]
push edx
call ebp
mov dword [esi], ebx
add esi, 4
sub dword [esp + 0x10], 1
jne 0x40aaf0
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call esi
push 0x735f1c
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x40d3d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.GhostOnlineTH_MMO_RPG_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d420
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.username
push eax
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 8
ret 4
Function at 0x42d860
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cef87
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x6ade1c]
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.00424620
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00424620
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.004266a0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.004266a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.00426fd0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.00426fd0
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0045a030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0045a0b0
movzx edx, al
test edx, edx
je 0x42d93e
lea ecx, [ebp - 0x1bc]
call fcn.00425920
push eax
lea ecx, [ebp - 0x134]
call fcn.00425920
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x42da1c
lea ecx, [ebp - 0x134]
call fcn.004247b0
test eax, eax
jg 0x42d960
lea ecx, [ebp - 0x1bc]
call fcn.004247b0
test eax, eax
jle 0x42d9f3
lea ecx, [ebp - 0x24c]
call fcn.00424620
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00424620
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0042da90
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.0042da90
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00424fb0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00424fb0
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.00424730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00424730
jmp 0x42da1c
lea ecx, [ebp - 0x1bc]
call fcn.00424fb0
push eax
lea ecx, [ebp - 0x134]
call fcn.00424fb0
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 0x42da35
cmp dword [ebp + 0x10], 0
je 0x42da35
mov ecx, dword [ebp + 0x10]
call fcn.00441b60
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0045a090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00424730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00424730
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.0058e447
mov esp, ebp
pop ebp
ret
Function at 0x42dbc0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf00c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6ade1c]
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.00424620
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.004266a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00426fd0
lea ecx, [ebp - 0x134]
call fcn.0045a030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0045a0b0
movzx ecx, al
test ecx, ecx
je 0x42dc88
lea ecx, [ebp - 0x94]
call fcn.00425920
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.0045a090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00424730
mov al, byte [ebp - 0x255]
jmp 0x42de5b
lea ecx, [ebp - 0x94]
call fcn.004247b0
cmp eax, 0x104
jle 0x42dd8e
lea ecx, [ebp - 0x1bc]
call fcn.00424620
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.0042d4f0
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.00424620
mov byte [ebp - 4], 3
push 0x61d5c4
lea ecx, [ebp - 0x24c]
call fcn.00426160
lea ecx, [ebp - 0x1bc]
call fcn.00426380
push eax
lea ecx, [ebp - 0x24c]
call fcn.00426160
lea ecx, [ebp - 0x24c]
call fcn.00424fb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
jne 0x42dd2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42dd2f
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.00424730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00424730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0045a090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00424730
mov al, byte [ebp - 0x256]
jmp 0x42de5b
lea ecx, [ebp - 0x94]
call fcn.00424fb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x42de01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
cmp dword [ebp + 0xc], 0
je 0x42ddee
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00441c00
lea ecx, [ebp - 0x94]
call fcn.00426380
push eax
push str.failedToDeleteFilepath
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
call eax
cmp dword [ebp - 0x254], 2
jne 0x42de01
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.0045a090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00424730
mov al, byte [ebp - 0x257]
jmp 0x42de5b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0058e447
mov esp, ebp
pop ebp
ret
Function at 0x42ee30
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf111
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x6ade1c]
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.004247b0
test eax, eax
jne 0x42ee9b
cmp dword [ebp + 0x14], 0
je 0x42ee94
push str.GetAttributes:_filename_is_empty
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
call edx
xor al, al
jmp 0x42f004
lea ecx, [ebp - 0x94]
call fcn.00424620
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.004266a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00426fd0
lea ecx, [ebp - 0x94]
call fcn.004247b0
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x134]
call fcn.0045a030
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x104
jge 0x42ef4c
lea ecx, [ebp - 0x94]
call fcn.00425600
movzx ecx, al
test ecx, ecx
jne 0x42ef1b
lea ecx, [ebp - 0x134]
call fcn.0045a0b0
movzx edx, al
test edx, edx
je 0x42ef4c
lea ecx, [ebp - 0x94]
call fcn.00425920
push eax
call fcn.00430ca0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xffffffff
jne 0x42ef47
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x42efcc
cmp dword [ebp - 0x138], 0
jle 0x42efa2
lea ecx, [ebp - 0x1c4]
call fcn.00424620
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0042da90
add esp, 8
lea ecx, [ebp - 0x1c4]
call fcn.00424fd0
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.00424730
jmp 0x42efb9
lea ecx, [ebp - 0x94]
call fcn.00424fd0
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 0x42efcc
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.0045a090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00424730
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.0058e447
mov esp, ebp
pop ebp
ret
Function at 0x42f3c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf1bc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x6ade1c]
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.00424620
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x13c]
call fcn.004266a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x13c]
call fcn.00426fd0
lea ecx, [ebp - 0xac]
call fcn.0045a030
mov byte [ebp - 4], 1
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xac]
call fcn.0045a0b0
movzx ecx, al
test ecx, ecx
je 0x42f464
push 0
lea ecx, [ebp - 0x13c]
call fcn.00425920
push eax
call fcn.00430c60
add esp, 8
mov dword [ebp - 0xb0], eax
jmp 0x42f4dd
lea ecx, [ebp - 0x13c]
call fcn.004247b0
test eax, eax
jle 0x42f4c3
lea ecx, [ebp - 0x1c4]
call fcn.00424620
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.0042da90
add esp, 8
push 0
lea ecx, [ebp - 0x1c4]
call fcn.00424fb0
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.00424730
jmp 0x42f4dd
push 0
lea ecx, [ebp - 0x13c]
call fcn.00424fb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x42f533
cmp dword [ebp + 0xc], 0
je 0x42f533
lea ecx, [ebp - 0x1ec]
call fcn.00429cb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.0042cf60
lea ecx, [ebp - 0x1ec]
call fcn.004f2af0
push eax
push str.errorMsg
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ec]
call fcn.0042a080
cmp dword [ebp - 0xb0], 0
setne cl
mov byte [ebp - 0x1ed], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.0045a090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00424730
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.0058e447
mov esp, ebp
pop ebp
ret
Function at 0x42f590
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf111
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x6ade1c]
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.00424620
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.004266a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00426fd0
push 0
push 1
lea ecx, [ebp - 0x94]
push ecx
call fcn.0042de80
add esp, 0xc
lea ecx, [ebp - 0x134]
call fcn.0045a030
mov byte [ebp - 4], 1
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x134]
call fcn.0045a0b0
movzx edx, al
test edx, edx
je 0x42f64f
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x94]
call fcn.00425920
push eax
call fcn.00430c80
add esp, 8
movzx ecx, al
mov dword [ebp - 0x138], ecx
jmp 0x42f6cc
lea ecx, [ebp - 0x94]
call fcn.004247b0
test eax, eax
jle 0x42f6b0
lea ecx, [ebp - 0x1c4]
call fcn.00424620
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0042da90
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.00424fb0
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.00424730
jmp 0x42f6cc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.00424fb0
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.0045a090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00424730
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.0058e447
mov esp, ebp
pop ebp
ret

Function at 0x430c80
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 0x435e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
call fcn.00440900
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x435ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x435e94
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x140], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0043ec70
push str.Failed_to_start_thread
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + 0x14]
call edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x28]
call eax
xor al, al
jmp 0x435ee7
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0043ec70
push str.Task_started_in_background_thread.
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 4]
push ecx
push str.createThread
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004416b0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + 0x28]
call edx
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x43dd40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0482
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6ade1c]
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.00444cf0
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.00424620
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.0040fd00
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.00440b20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a8
call fcn.00484220
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 0x440910
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x6ade1c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c4], 0x190
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x440951
mov byte [ebp - 0x1c0], 0
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp + 8]
call fcn.004290d0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058e447
mov esp, ebp
pop ebp
ret

Function at 0x440990
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6ade1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], 0x76
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x4409d1
mov byte [ebp - 0x80], 0
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.004290d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e447
mov esp, ebp
pop ebp
ret
Function at 0x44b300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
cmp dword [ebp + 0xc], 0
je 0x44b324
cmp dword [ebp + 8], 0
jne 0x44b343
cmp dword [ebp + 0x18], 0
je 0x44b33c
push str.NULL_buf_or_bufSize
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
xor al, al
jmp 0x44b43d
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
je 0x44b3b9
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44b3a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26
jne 0x44b389
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov al, 1
jmp 0x44b43d
cmp dword [ebp + 0x18], 0
je 0x44b39b
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00441c00
xor al, al
jmp 0x44b43d
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x44b3b2
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov al, 1
jmp 0x44b43d
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
je 0x44b423
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0058f789
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jne 0x44b3f0
mov al, 1
jmp 0x44b43d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call fcn.00594393
add esp, 4
test eax, eax
je 0x44b417
cmp dword [ebp + 0x18], 0
je 0x44b411
mov ecx, dword [ebp + 0x18]
call fcn.00441b60
xor al, al
jmp 0x44b43d
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov al, 1
jmp 0x44b43d
cmp dword [ebp + 0x18], 0
je 0x44b43b
push str.No_file_is_open.
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
mov esp, ebp
pop ebp
ret 0x14