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

Disassembly:
sub esp, 0x40c
mov eax, dword [0x68ddfc]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push str.Making_sure_extracted_files_exists_n
call fcn.00569640
add esp, 4
push 1
lea ebx, [edi + 0x4e0]
push 1
mov ecx, ebx
call fcn.00577790
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
xor ebp, ebp
sar eax, 2
test eax, eax
jbe 0x409cce
mov edi, edi
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
cmp ebp, ecx
jb 0x409c48
call fcn.00590826
mov edx, dword [edi + 0x5f4]
mov esi, dword [edx + ebp*4]
test byte [esi + 0x116], 1
je 0x409cb6
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0056a2f0
add esp, 0xc
test al, al
je 0x409c89
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x10a]
jne 0x409c89
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x106]
je 0x409cb6
push esi
push str.restoring__s_n
call fcn.00569640
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x661990
push esi
mov ecx, ebx
call fcn.00578600
test al, al
je 0x409cfa
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x409c30
mov ecx, ebx
call fcn.005778f0
push str.Making_sure_extracted_files_exists___finished_n
call fcn.00569640
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058f627
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.004087b0
int3
Function at 0x40a340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdf10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x68ddfc]
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 0x40a397
push 0
push 0x35a
push str..Updater.cpp
push str.status___STATUS_Checking
call fcn.00569950
add esp, 0x10
mov ecx, esi
call fcn.00408810
call fcn.00408a40
test al, al
je 0x40a3c2
mov ecx, esi
call fcn.00408ab0
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.00408d80
mov dword [esi + 0x20dec], eax
lea eax, [esi + 0x20df5]
push 0x660bde
push eax
call fcn.00401ac0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov ebx, 5
jmp 0x40a400
cmp dword [esi + 0x20dec], ebx
jne 0x40a500
mov ecx, dword [esi + 0x217b4]
mov eax, dword [0x739f10]
or eax, dword [0x739f14]
mov dword [0x739f00], ecx
mov edx, dword [esi + 0x217b8]
mov dword [0x739f04], edx
je 0x40a459
call fcn.00402a70
test al, al
je 0x40a459
push 0
push 0
push 0x739f00
push 0x402730
push 0
push 0
call fcn.0058ff67
add esp, 0x18
mov dword [0x73a0c8], eax
call fcn.00408de0
call fcn.00408f30
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.00569640
mov eax, dword [esi + 0x5e4]
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jne 0x40a48d
mov eax, esi
call fcn.0040a1d0
mov ebx, esi
call fcn.004091d0
mov ecx, esi
call fcn.004098d0
call fcn.0040a130
push str.Validating_game_data_n
call fcn.00569640
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.0057b150
test al, al
jne 0x40a4ec
push str.Game_data_is_damaged__please_restart_launcher_to_repair_damaged_files
mov eax, esi
call fcn.004087b0
push str.Validating_game_data___finished_n
call fcn.00569640
add esp, 4
mov eax, esi
call fcn.0040a1d0
push 0x32
call edi
jmp 0x40a400

Function at 0x40bb90
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x21638], 0
je 0x40bbb2
push 0
push 0x5fd
push str..Updater.cpp
push str.mainThread___NULL
call fcn.00569950
add esp, 0x10
cmp dword [esi + 0x21658], 0
je 0x40bbd4
push 0
push 0x5fe
push str..Updater.cpp
push str.loginThread___NULL
call fcn.00569950
add esp, 0x10
push ebx
push edi
push 0
push 0
push esi
push 0x40a5d0
push 0
push 0
call fcn.0058ff67
push 0
push 0
push esi
push 0x40b000
push 0
push 0
mov dword [esi + 0x21638], eax
call fcn.0058ff67
add esp, 0x30
mov dword [esi + 0x21dc8], eax
lea edi, [esi + 0x21648]
mov ebx, 3
push 0
push 0
push esi
push 0x40b010
push 0
push 0
call fcn.0058ff67
mov dword [edi], eax
add esp, 0x18
add edi, 4
sub ebx, 1
jne 0x40bc16
pop edi
pop ebx
ret
Function at 0x40bcc0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.CUpdater::Stop___n
mov esi, eax
call fcn.00569640
add esp, 4
cmp byte [esi + 0x20df4], 0
jne 0x40bce3
mov eax, dword [esi + 0x21640]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x71d294
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 0x40bd28
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21638]
push ecx
call ebp
mov dword [esi + 0x21638], ebx
mov eax, dword [esi + 0x21dc8]
cmp eax, ebx
je 0x40bd45
push ebx
push eax
call edi
mov edx, dword [esi + 0x21dc8]
push edx
call ebp
mov dword [esi + 0x21dc8], ebx
mov eax, dword [esi + 0x21658]
cmp eax, ebx
je 0x40bd62
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 0x40bd86
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 0x40bd70
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
call esi
push 0x71d294
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40e0d0
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 0x40e129
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e100
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 0x40e130
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 0x40e192
mov edx, dword [esp + 8]
sub edx, 0xffffff80
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e166
mov ecx, dword [esp + 4]
sub eax, esi
inc eax
push eax
push edx
push 1
push 0
push str.passwd
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret 4
Function at 0x40e1a0
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 0x40e1f0
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 0x40e200
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 0x40e253
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
sub edx, 0xffffff80
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.passwd
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 0x40e260
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 0x40e294
mov ecx, esi
call fcn.0040e2d0
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 0x40e2d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
mov eax, dword [0x68ddfc]
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 0x40e380
push 0x1c8
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00592d80
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.0040e4d0
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e355
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.0058f627
mov esp, ebp
pop ebp
ret
Function at 0x42ea80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af407
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x68ddfc]
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.00425730
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00425730
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.004278c0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.004278c0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.004281f0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.004281f0
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0045b2a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0045b320
movzx edx, al
test edx, edx
je 0x42eb5e
lea ecx, [ebp - 0x1bc]
call fcn.00426b40
push eax
lea ecx, [ebp - 0x134]
call fcn.00426b40
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x42ec3c
lea ecx, [ebp - 0x134]
call fcn.004258c0
test eax, eax
jg 0x42eb80
lea ecx, [ebp - 0x1bc]
call fcn.004258c0
test eax, eax
jle 0x42ec13
lea ecx, [ebp - 0x24c]
call fcn.00425730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00425730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0042ecb0
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.0042ecb0
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.004261d0
push eax
lea ecx, [ebp - 0x24c]
call fcn.004261d0
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.00425840
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00425840
jmp 0x42ec3c
lea ecx, [ebp - 0x1bc]
call fcn.004261d0
push eax
lea ecx, [ebp - 0x134]
call fcn.004261d0
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 0x42ec55
cmp dword [ebp + 0x10], 0
je 0x42ec55
mov ecx, dword [ebp + 0x10]
call fcn.00442da0
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0045b300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00425840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00425840
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.0058f627
mov esp, ebp
pop ebp
ret
Function at 0x42edf0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af48c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x68ddfc]
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.00425730
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.004278c0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.004281f0
lea ecx, [ebp - 0x134]
call fcn.0045b2a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0045b320
movzx ecx, al
test ecx, ecx
je 0x42eeb8
lea ecx, [ebp - 0x94]
call fcn.00426b40
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.0045b300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425840
mov al, byte [ebp - 0x255]
jmp 0x42f08b
lea ecx, [ebp - 0x94]
call fcn.004258c0
cmp eax, 0x104
jle 0x42efbe
lea ecx, [ebp - 0x1bc]
call fcn.00425730
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.0042e710
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.00425730
mov byte [ebp - 4], 3
push 0x5fd5a4
lea ecx, [ebp - 0x24c]
call fcn.00427380
lea ecx, [ebp - 0x1bc]
call fcn.004275a0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00427380
lea ecx, [ebp - 0x24c]
call fcn.004261d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
jne 0x42ef5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42ef5f
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.00425840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00425840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0045b300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425840
mov al, byte [ebp - 0x256]
jmp 0x42f08b
lea ecx, [ebp - 0x94]
call fcn.004261d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x42f031
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
cmp dword [ebp + 0xc], 0
je 0x42f01e
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00442e40
lea ecx, [ebp - 0x94]
call fcn.004275a0
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 0x42f031
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.0045b300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425840
mov al, byte [ebp - 0x257]
jmp 0x42f08b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0058f627
mov esp, ebp
pop ebp
ret
Function at 0x430060
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af591
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x68ddfc]
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.004258c0
test eax, eax
jne 0x4300cb
cmp dword [ebp + 0x14], 0
je 0x4300c4
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 0x430234
lea ecx, [ebp - 0x94]
call fcn.00425730
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.004278c0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.004281f0
lea ecx, [ebp - 0x94]
call fcn.004258c0
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x134]
call fcn.0045b2a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x104
jge 0x43017c
lea ecx, [ebp - 0x94]
call fcn.00426820
movzx ecx, al
test ecx, ecx
jne 0x43014b
lea ecx, [ebp - 0x134]
call fcn.0045b320
movzx edx, al
test edx, edx
je 0x43017c
lea ecx, [ebp - 0x94]
call fcn.00426b40
push eax
call fcn.00431ed0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xffffffff
jne 0x430177
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x4301fc
cmp dword [ebp - 0x138], 0
jle 0x4301d2
lea ecx, [ebp - 0x1c4]
call fcn.00425730
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0042ecb0
add esp, 8
lea ecx, [ebp - 0x1c4]
call fcn.004261f0
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.00425840
jmp 0x4301e9
lea ecx, [ebp - 0x94]
call fcn.004261f0
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 0x4301fc
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.0045b300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425840
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.0058f627
mov esp, ebp
pop ebp
ret
Function at 0x4305f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af63c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x68ddfc]
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.00425730
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x13c]
call fcn.004278c0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x13c]
call fcn.004281f0
lea ecx, [ebp - 0xac]
call fcn.0045b2a0
mov byte [ebp - 4], 1
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xac]
call fcn.0045b320
movzx ecx, al
test ecx, ecx
je 0x430694
push 0
lea ecx, [ebp - 0x13c]
call fcn.00426b40
push eax
call fcn.00431e90
add esp, 8
mov dword [ebp - 0xb0], eax
jmp 0x43070d
lea ecx, [ebp - 0x13c]
call fcn.004258c0
test eax, eax
jle 0x4306f3
lea ecx, [ebp - 0x1c4]
call fcn.00425730
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.0042ecb0
add esp, 8
push 0
lea ecx, [ebp - 0x1c4]
call fcn.004261d0
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.00425840
jmp 0x43070d
push 0
lea ecx, [ebp - 0x13c]
call fcn.004261d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x430763
cmp dword [ebp + 0xc], 0
je 0x430763
lea ecx, [ebp - 0x1ec]
call fcn.0042aed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.0042e180
lea ecx, [ebp - 0x1ec]
call fcn.004f3d80
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.0042b2a0
cmp dword [ebp - 0xb0], 0
setne cl
mov byte [ebp - 0x1ed], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.0045b300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00425840
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.0058f627
mov esp, ebp
pop ebp
ret
Function at 0x4307c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af591
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x68ddfc]
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.00425730
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.004278c0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.004281f0
push 0
push 1
lea ecx, [ebp - 0x94]
push ecx
call fcn.0042f0b0
add esp, 0xc
lea ecx, [ebp - 0x134]
call fcn.0045b2a0
mov byte [ebp - 4], 1
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x134]
call fcn.0045b320
movzx edx, al
test edx, edx
je 0x43087f
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x94]
call fcn.00426b40
push eax
call fcn.00431eb0
add esp, 8
movzx ecx, al
mov dword [ebp - 0x138], ecx
jmp 0x4308fc
lea ecx, [ebp - 0x94]
call fcn.004258c0
test eax, eax
jle 0x4308e0
lea ecx, [ebp - 0x1c4]
call fcn.00425730
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0042ecb0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.004261d0
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.00425840
jmp 0x4308fc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.004261d0
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.0045b300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00425840
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.0058f627
mov esp, ebp
pop ebp
ret

Function at 0x431eb0
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