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

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6aedfc]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push str.Making_sure_extracted_files_exists_n
call fcn.005694d0
add esp, 4
push 1
lea ebx, [edi + 0x4e0]
push 1
mov ecx, ebx
call fcn.005775c0
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
xor ebp, ebp
sar eax, 2
test eax, eax
jbe 0x409efe
mov edi, edi
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
cmp ebp, ecx
jb 0x409e78
call fcn.00590496
mov edx, dword [edi + 0x5f4]
mov esi, dword [edx + ebp*4]
test byte [esi + 0x116], 1
je 0x409ee6
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0056a180
add esp, 0xc
test al, al
je 0x409eb9
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x112]
jne 0x409eb9
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x10a]
je 0x409ee6
push esi
push str.restoring__s_n
call fcn.005694d0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x6825a0
push esi
mov ecx, ebx
call fcn.00578430
test al, al
je 0x409f2a
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x409e60
mov ecx, ebx
call fcn.00577720
push str.Making_sure_extracted_files_exists___finished_n
call fcn.005694d0
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058f297
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.00401ac0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.004089e0
int3
Function at 0x40a4d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dead0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6aedfc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [esi + 0x20dec], 0
je 0x40a527
push 0
push 0x34b
push str..Updater.cpp
push str.status___STATUS_Checking
call fcn.005697e0
add esp, 0x10
mov ecx, esi
call fcn.00408a40
call fcn.00408c70
test al, al
je 0x40a552
mov ecx, esi
call fcn.00408ce0
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
mov eax, esi
mov byte [esi + 0x98], 1
call fcn.00408fb0
mov dword [esi + 0x20dec], eax
lea eax, [esi + 0x20df5]
push 0x6817fa
push eax
call fcn.00401ac0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov ebx, 5
jmp 0x40a590
cmp dword [esi + 0x20dec], ebx
jne 0x40a690
mov ecx, dword [esi + 0x21794]
mov eax, dword [0x75b0f8]
or eax, dword [0x75b0fc]
mov dword [0x75b0e8], ecx
mov edx, dword [esi + 0x21798]
mov dword [0x75b0ec], edx
je 0x40a5e9
call fcn.00402bb0
test al, al
je 0x40a5e9
push 0
push 0
push 0x75b0e8
push 0x402870
push 0
push 0
call fcn.0058fbd7
add esp, 0x18
mov dword [0x75b2b0], eax
call fcn.00409010
call fcn.00409160
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x5e4]
push ecx
push eax
push str.current_build_version_d__updater_data_version_d_n
call fcn.005694d0
mov eax, dword [esi + 0x5e4]
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jne 0x40a61d
mov eax, esi
call fcn.0040a400
mov ebx, esi
call fcn.00409400
mov ecx, esi
call fcn.00409b00
call fcn.0040a360
push str.Validating_game_data_n
call fcn.005694d0
add esp, 4
lea edx, [esi + 0x20df5]
push str.Validating_game_data
push edx
call fcn.00401ac0
add esp, 8
lea eax, [esi + 0x21600]
push eax
lea ecx, [esi + 0x215f8]
push ecx
push 0
lea ecx, [esi + 0x4e0]
call fcn.0057afb0
test al, al
jne 0x40a67c
push str.Game_data_is_damaged__please_restart_launcher_to_repair_damaged_files
mov eax, esi
call fcn.004089e0
push str.Validating_game_data___finished_n
call fcn.005694d0
add esp, 4
mov eax, esi
call fcn.0040a400
push 0x32
call edi
jmp 0x40a590
Function at 0x40bb70
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x21638], 0
je 0x40bb92
push 0
push 0x5d3
push str..Updater.cpp
push str.mainThread___NULL
call fcn.005697e0
add esp, 0x10
cmp dword [esi + 0x21658], 0
je 0x40bbb4
push 0
push 0x5d4
push str..Updater.cpp
push str.loginThread___NULL
call fcn.005697e0
add esp, 0x10
push ebx
push edi
push 0
push 0
push esi
push 0x40a760
push 0
push 0
call fcn.0058fbd7
push 0
push 0
push esi
push 0x40b030
push 0
push 0
mov dword [esi + 0x21638], eax
call fcn.0058fbd7
add esp, 0x30
mov dword [esi + 0x21cbc], eax
lea edi, [esi + 0x21648]
mov ebx, 3
push 0
push 0
push esi
push 0x40b040
push 0
push 0
call fcn.0058fbd7
mov dword [edi], eax
add esp, 0x18
add edi, 4
sub ebx, 1
jne 0x40bbf6
pop edi
pop ebx
ret

Function at 0x40bca0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.CUpdater::Stop___n
mov esi, eax
call fcn.005694d0
add esp, 4
cmp byte [esi + 0x20df4], 0
jne 0x40bcc3
mov eax, dword [esi + 0x21640]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x73dcb4
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 0x40bd08
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21638]
push ecx
call ebp
mov dword [esi + 0x21638], ebx
mov eax, dword [esi + 0x21cbc]
cmp eax, ebx
je 0x40bd25
push ebx
push eax
call edi
mov edx, dword [esi + 0x21cbc]
push edx
call ebp
mov dword [esi + 0x21cbc], ebx
mov eax, dword [esi + 0x21658]
cmp eax, ebx
je 0x40bd42
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 0x40bd66
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 0x40bd50
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
call esi
push 0x73dcb4
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40e080
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40e0d9
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e0b0
mov ecx, dword [esp]
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]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x40e0e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e130
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 0x40e140
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareHouse_of_Warrior_InteractiveWarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40e174
mov ecx, esi
call fcn.0040e1b0
mov al, 1
pop esi
add esp, 8
ret
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
add esi, 0x100
push esi
push 0
push 0
push str.hardwareid
push edx
mov dword [esp + 0x20], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret

Function at 0x40e1b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
mov eax, dword [0x6aedfc]
xor eax, esp
mov dword [esp + 0x1d0], eax
push esi
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareHouse_of_Warrior_InteractiveWarZ
push bind
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40e260
push 0x1c8
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.005929f0
add esp, 0xc
lea eax, [esp + 8]
call fcn.004021c0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
add esi, 0x100
push str.0x_I64x
mov edx, esi
call fcn.0040e3a0
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e235
mov ecx, dword [esp + 4]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.hardwareid
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1d4]
pop esi
xor ecx, esp
call fcn.0058f297
mov esp, ebp
pop ebp
ret
Function at 0x42e9c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0017
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x6aedfc]
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.00425680
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00425680
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.00427810
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.00427810
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.00428140
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.00428140
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0045b160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0045b1e0
movzx edx, al
test edx, edx
je 0x42ea9e
lea ecx, [ebp - 0x1bc]
call fcn.00426a90
push eax
lea ecx, [ebp - 0x134]
call fcn.00426a90
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x42eb7c
lea ecx, [ebp - 0x134]
call fcn.00425810
test eax, eax
jg 0x42eac0
lea ecx, [ebp - 0x1bc]
call fcn.00425810
test eax, eax
jle 0x42eb53
lea ecx, [ebp - 0x24c]
call fcn.00425680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00425680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0042ebf0
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.0042ebf0
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00426120
push eax
lea ecx, [ebp - 0x24c]
call fcn.00426120
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.00425790
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00425790
jmp 0x42eb7c
lea ecx, [ebp - 0x1bc]
call fcn.00426120
push eax
lea ecx, [ebp - 0x134]
call fcn.00426120
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 0x42eb95
cmp dword [ebp + 0x10], 0
je 0x42eb95
mov ecx, dword [ebp + 0x10]
call fcn.00442cc0
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0045b1c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00425790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00425790
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.0058f297
mov esp, ebp
pop ebp
ret
Function at 0x42ed20
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d009c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6aedfc]
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.00425680
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00427810
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00428140
lea ecx, [ebp - 0x134]
call fcn.0045b160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0045b1e0
movzx ecx, al
test ecx, ecx
je 0x42ede8
lea ecx, [ebp - 0x94]
call fcn.00426a90
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.0045b1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425790
mov al, byte [ebp - 0x255]
jmp 0x42efbb
lea ecx, [ebp - 0x94]
call fcn.00425810
cmp eax, 0x104
jle 0x42eeee
lea ecx, [ebp - 0x1bc]
call fcn.00425680
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.0042e650
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.00425680
mov byte [ebp - 4], 3
push 0x61e594
lea ecx, [ebp - 0x24c]
call fcn.004272d0
lea ecx, [ebp - 0x1bc]
call fcn.004274f0
push eax
lea ecx, [ebp - 0x24c]
call fcn.004272d0
lea ecx, [ebp - 0x24c]
call fcn.00426120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
jne 0x42ee8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42ee8f
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.00425790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00425790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0045b1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425790
mov al, byte [ebp - 0x256]
jmp 0x42efbb
lea ecx, [ebp - 0x94]
call fcn.00426120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x42ef61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
cmp dword [ebp + 0xc], 0
je 0x42ef4e
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00442d60
lea ecx, [ebp - 0x94]
call fcn.004274f0
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 0x42ef61
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.0045b1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425790
mov al, byte [ebp - 0x257]
jmp 0x42efbb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0058f297
mov esp, ebp
pop ebp
ret
Function at 0x42ff90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d01a1
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x6aedfc]
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.00425810
test eax, eax
jne 0x42fffb
cmp dword [ebp + 0x14], 0
je 0x42fff4
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 0x430164
lea ecx, [ebp - 0x94]
call fcn.00425680
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00427810
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00428140
lea ecx, [ebp - 0x94]
call fcn.00425810
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x134]
call fcn.0045b160
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x104
jge 0x4300ac
lea ecx, [ebp - 0x94]
call fcn.00426770
movzx ecx, al
test ecx, ecx
jne 0x43007b
lea ecx, [ebp - 0x134]
call fcn.0045b1e0
movzx edx, al
test edx, edx
je 0x4300ac
lea ecx, [ebp - 0x94]
call fcn.00426a90
push eax
call fcn.00431e00
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xffffffff
jne 0x4300a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x43012c
cmp dword [ebp - 0x138], 0
jle 0x430102
lea ecx, [ebp - 0x1c4]
call fcn.00425680
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0042ebf0
add esp, 8
lea ecx, [ebp - 0x1c4]
call fcn.00426140
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.00425790
jmp 0x430119
lea ecx, [ebp - 0x94]
call fcn.00426140
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 0x43012c
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.0045b1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425790
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.0058f297
mov esp, ebp
pop ebp
ret
Function at 0x430520
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d024c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x6aedfc]
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.00425680
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00427810
push 0x5c
push 0x2f
lea ecx, [ebp - 0x13c]
call fcn.00428140
lea ecx, [ebp - 0xac]
call fcn.0045b160
mov byte [ebp - 4], 1
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xac]
call fcn.0045b1e0
movzx ecx, al
test ecx, ecx
je 0x4305c4
push 0
lea ecx, [ebp - 0x13c]
call fcn.00426a90
push eax
call fcn.00431dc0
add esp, 8
mov dword [ebp - 0xb0], eax
jmp 0x43063d
lea ecx, [ebp - 0x13c]
call fcn.00425810
test eax, eax
jle 0x430623
lea ecx, [ebp - 0x1c4]
call fcn.00425680
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.0042ebf0
add esp, 8
push 0
lea ecx, [ebp - 0x1c4]
call fcn.00426120
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.00425790
jmp 0x43063d
push 0
lea ecx, [ebp - 0x13c]
call fcn.00426120
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x430693
cmp dword [ebp + 0xc], 0
je 0x430693
lea ecx, [ebp - 0x1ec]
call fcn.0042ae10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.0042e0c0
lea ecx, [ebp - 0x1ec]
call fcn.0055db40
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.0042b1e0
cmp dword [ebp - 0xb0], 0
setne cl
mov byte [ebp - 0x1ed], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.0045b1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00425790
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.0058f297
mov esp, ebp
pop ebp
ret
Function at 0x4306f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d01a1
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x6aedfc]
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.00425680
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00427810
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00428140
push 0
push 1
lea ecx, [ebp - 0x94]
push ecx
call fcn.0042efe0
add esp, 0xc
lea ecx, [ebp - 0x134]
call fcn.0045b160
mov byte [ebp - 4], 1
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x134]
call fcn.0045b1e0
movzx edx, al
test edx, edx
je 0x4307af
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x94]
call fcn.00426a90
push eax
call fcn.00431de0
add esp, 8
movzx ecx, al
mov dword [ebp - 0x138], ecx
jmp 0x43082c
lea ecx, [ebp - 0x94]
call fcn.00425810
test eax, eax
jle 0x430810
lea ecx, [ebp - 0x1c4]
call fcn.00425680
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0042ebf0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.00426120
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.00425790
jmp 0x43082c
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.00426120
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.0045b1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425790
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.0058f297
mov esp, ebp
pop ebp
ret

Function at 0x431de0
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 0x436f80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
call fcn.00441a70
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x437050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x436ff4
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x140], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0043fde0
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 0x437047
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.0043fde0
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.00442820
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 0x43eed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d14e2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6aedfc]
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.00445e70
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.00425680
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.00410d10
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.00441c90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a8
call fcn.004853d0
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