joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403380
Capabilities:
Get common file path

Disassembly:
sub esp, 0xb14
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0xb10], eax
push 0x104
lea eax, [esp + 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push ecx
lea edx, [esp + 0x10c]
push edx
push 0x104
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [esp]
test eax, eax
je 0x4033d3
mov byte [eax - 1], 0
lea ecx, [esp + 4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10c]
push eax
call fcn.0057df2c
add esp, 8
test eax, eax
je 0x403435
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x318]
push str.Updater_current_directory___s__is_different_from_working_directory___s_
push eax
call fcn.00406e20
add esp, 0x10
push 0x30
push str.Warning
lea ecx, [esp + 0x318]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0xb10]
xor ecx, esp
mov al, 1
call fcn.0057bc02
add esp, 0xb14
ret

Function at 0x4034d0
Capabilities:
Inspect load icon resource
Terminate process

Disassembly:
mov eax, dword [0x699228]
push 5
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push str._generate
push 0x698e00
mov dword [0x699230], eax
mov dword [0x691540], 0
call fcn.0057c9d0
add esp, 8
test eax, eax
je 0x403518
call fcn.00401c20
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
call fcn.004032f0
test al, al
jne 0x403508
call fcn.00403380
call fcn.00403450
test al, al
jne 0x403553
push 0x40
push str.UAC_problem
push str.Updater_must_be_run_from_administrator
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
call fcn.00407a60
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x73bcb0
push 0x6665ac
push 0x17
push 0
push 0x645a64
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x403587
mov dword [0x73bcb0], 0
push str._cmdLine
push 0x698e00
call fcn.0057c9d0
add esp, 8
test eax, eax
je 0x4035a4
mov byte [0x73bcac], 1
push esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call esi
push 0x7f89
push 0
mov dword [0x73bc10], eax
call esi
push 0x209
push 0x73bd48
push 0x12f
push 0
mov dword [0x73bc0c], eax
call dword [sym.imp.USER32.dll_LoadStringW]
pop esi
ret
Function at 0x4040f0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x5ca71e
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push esi
push edi
mov eax, dword [0x6926dc]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
cmp byte [0x73bcac], 0
je 0x404178
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.0057d1ab
add eax, 0x20
push eax
push 0x666654
push 0x66697c
call fcn.0057d185
call fcn.0057d1ab
push eax
push 0x666984
push str.CONIN_
call fcn.0057d185
add esp, 0x18
mov dword [0x6992a0], 1
jmp 0x4042f2
mov eax, 0x73c7b8
call fcn.00402540
mov eax, dword [0x699228]
push 5
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x69922c]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x69922c]
push 0x800000
push 0
push edx
call fcn.00559c30
mov eax, dword [0x69922c]
push 0xc00000
push 0
push eax
call fcn.00559c30
mov ecx, dword [0x69922c]
add esp, 0x18
push 0x403f60
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.005636b0
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateICA]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
push 0xa
push esi
mov ebx, eax
call edi
mov esi, eax
lea eax, [ebx - 0x311]
cdq
sub eax, edx
mov ecx, eax
push 0
lea eax, [esi - 0x28a]
cdq
push 0x28a
sub eax, edx
mov edx, dword [0x69922c]
push 0x311
sar eax, 1
push eax
sar ecx, 1
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xac640
call fcn.0057c675
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x220], 0
test eax, eax
je 0x40426b
mov ecx, eax
call fcn.00561120
jmp 0x40426d
xor eax, eax
mov dword [esp + 0x220], 0xffffffff
mov ecx, dword [0x69922c]
push 0
push ecx
mov ecx, eax
mov dword [0x69928c], eax
call fcn.0055ce20
call fcn.004035e0
push str.Nov__6_2023_16:20:05
push str.0.0.0
lea edx, [esp + 0x1c]
push str.WOUpdater__s___s_
push edx
call fcn.00406e40
mov ecx, dword [0x69922c]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00403980
mov edx, dword [0x69922c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ecx, dword [0x699294]
call fcn.00566540
mov ecx, dword [0x699290]
call fcn.00566780
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0057bc02
add esp, 0x214
ret
Function at 0x405ab8
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [esp + 0x410]
push edi
add eax, 0x21660
push eax
lea edi, [esp + 0xc]
call fcn.0040e2a0
cmp esi, 5
ja case.default.0x405a90
jmp dword [esi*4 + 0x405aec]
push str.https:__www.facebook.com_groups_543494289903043_
lea edx, [esp + 0xc]
call fcn.00401dd0
add esp, 4
push 5
push 0
push 0x66697a
lea eax, [esp + 0x14]
push eax
jmp 0x405ac6
push 5
push 0
push 0x66697a
push str.https:__www.facebook.com_groups_543494289903043_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x40c]
pop edi
xor ecx, esp
call fcn.0057bc02
add esp, 0x40c
ret

Function at 0x406260
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ca6db
mov eax, dword fs:[0]
push eax
sub esp, 0xc14
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0xc10], eax
push esi
push edi
mov eax, dword [0x6926dc]
xor eax, esp
push eax
lea eax, [esp + 0xc20]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x20dd0], 0
je 0x4062c2
xor eax, eax
call fcn.004012f0
cmp eax, 1
jne 0x4063ef
call fcn.004012f0
cmp eax, 1
jne 0x4063ef
push str.Starting_game_n
call fcn.0055a410
inc dword [0x6992b8]
add esp, 4
push 6
push 0
mov dword [esp + 0xc30], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.WarZ.exe
call fcn.0055b0b0
add esp, 0xc
test al, al
jne 0x406314
push str.failed1_n
call fcn.0055a410
add esp, 4
jmp 0x40632b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push str._08x__d_n
call fcn.0055a410
add esp, 0xc
lea ecx, [esi + 0x21660]
push ecx
lea edi, [esp + 0x20]
call fcn.0040e2a0
mov edx, edi
push edx
push 0x698e00
lea eax, [esp + 0x424]
push str._WOUpdatedOk__s__WOLogin___s_
push eax
call fcn.00406e20
add esp, 0x10
cmp dword [esi + 0x21c80], 0
jbe 0x4063ae
lea eax, [esp + 0x41c]
lea edx, [eax + 1]
jmp 0x406370
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406370
sub eax, edx
cmp dword [esi + 0x21c84], 0x10
lea ecx, [esp + eax + 0x41c]
mov dword [esp + 0x10], ecx
jb 0x406395
mov esi, dword [esi + 0x21c70]
jmp 0x40639b
add esi, 0x21c70
push esi
lea edx, [esp + 0x14]
push str.__survey___s_
push edx
call fcn.0040e3c0
add esp, 0xc
call fcn.004079d0
push 5
push 0
lea ecx, [esp + 0x424]
push ecx
push str.WarZ.exe
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jge 0x4063e0
push eax
push str.failed:__d_n
call fcn.0055a410
add esp, 8
cmp dword [0x6992b8], 0
je 0x4063ef
dec dword [0x6992b8]
mov ecx, dword [esp + 0xc20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc10]
xor ecx, esp
call fcn.0057bc02
add esp, 0xc20
ret
Function at 0x407420
Capabilities:
Set console window title

Disassembly:
sub esp, 0x218
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040bca0
call fcn.0055a160
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
call fcn.0055a1b0
call fcn.0055a160
push 0x64
call edi
cmp dword [esi + 0x20dec], 3
jne 0x407471
mov dword [esi + 0x20dec], 5
cmp dword [esi + 0x20df0], 0
jne 0x4074f8
mov eax, dword [esi + 0x215f8]
mov ecx, dword [esi + 0x215fc]
mov dword [esp + 0x10], eax
or eax, ecx
mov dword [esp + 0x14], ecx
jne 0x407496
fldz
jmp 0x4074bf
fild qword [esi + 0x21600]
fild qword [esp + 0x10]
fdivp st(1)
fstp dword [esp + 0xc]
fld1
fcom dword [esp + 0xc]
fnstsw ax
test ah, 5
jp 0x4074b9
fstp dword [esp + 0xc]
jmp 0x4074bb
fstp st(0)
fld dword [esp + 0xc]
fstp dword [esp + 0xc]
sub esp, 8
fld dword [esp + 0x14]
lea eax, [esi + 0x20df5]
fmul qword [0x6685e8]
lea ecx, [esp + 0x20]
fstp qword [esp]
push eax
push str._s:__.1f__
push ecx
call fcn.00406e40
add esp, 0x14
lea edx, [esp + 0x18]
push edx
call ebx
jmp 0x407450
mov eax, esi
call fcn.0040bdd0
mov eax, dword [esi + 0x20df0]
sub eax, 1
je 0x407542
sub eax, 1
je 0x40752c
sub eax, 1
je 0x40754f
push 0
push 0x37
push str..Main_CmdLine.cpp
push 0x666978
call fcn.0055a720
add esp, 0x10
jmp 0x40754f
add esi, 0x211f5
push esi
push str.Update_error_n_s_n_nPlease_retry_later
call fcn.0055a410
add esp, 8
jmp 0x40754f
push str.Update_ok_n
call fcn.0055a410
add esp, 4
push str._nPress_enter_to_exit...
call fcn.0055a410
add esp, 4
call fcn.0057d36d
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057bc02
add esp, 0x218
ret

Function at 0x4079d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push 0x90
lea eax, [esp + 0xc]
push 0
push eax
mov esi, str.open
call fcn.0057df80
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push str.OS_Version:__d__d__s_n
call fcn.0055a410
add esp, 0x10
cmp dword [esp + 8], 6
mov eax, str.runas
jae 0x407a3b
mov eax, esi
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
call fcn.0057bc02
add esp, 0x98
ret
Function at 0x407a60
Capabilities:
Copy file
Create process on windows
Delete file
Move file
Terminate process

Disassembly:
sub esp, 0x60c
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0x608], eax
push 0x104
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push str..new.exe
push ecx
call fcn.0057c9d0
add esp, 8
test eax, eax
jne 0x407ad9
lea edx, [esp]
push edx
lea eax, [esp + 0x108]
push str._s.new.exe
push eax
call fcn.00401db0
add esp, 0xc
lea ecx, [esp + 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
mov ecx, dword [esp + 0x608]
xor ecx, esp
call fcn.0057bc02
add esp, 0x60c
ret
push str..exe_updated__moving_back_n
mov byte [0x73bcaf], 1
call fcn.0055a410
add esp, 4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp]
push edx
lea eax, [esp + 0x108]
push 0x104
push eax
call fcn.0057c39f
lea eax, [esp + 0xc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407b18
sub eax, edx
cmp eax, 8
ja 0x407b3c
push 0
push 0x31
push str..SelfUpdateEXE.cpp
push str.strlen_exeMain____8
call fcn.0055a720
add esp, 0x10
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407b42
push ebx
push ebp
push esi
sub eax, edx
mov byte [esp + eax + 4], cl
push edi
lea ecx, [esp + 0x10]
push ecx
push str.exeMain:__s_n
call fcn.0055a410
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 8
xor esi, esi
lea esp, [esp]
lea edx, [esp + 0x10]
push edx
call edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x118]
push ecx
call ebx
test eax, eax
jne 0x407c23
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x11c]
push eax
call ebp
test eax, eax
jne 0x407c23
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x407b80
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
push str.Failed_to_replace_updater_file_n_nPlease_manually_rename__s_to__s
lea edx, [esp + 0x224]
call fcn.00401dd0
add esp, 0xc
push 0x30
push str.Updater
lea eax, [esp + 0x220]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push 0
push 0
push 0x666744
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
jmp 0x407c25
mov al, 1
mov ecx, dword [esp + 0x618]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057bc02
add esp, 0x60c
ret
Function at 0x407c40
Capabilities:
Create process on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push 0x104
lea eax, [esp + 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.Trying_to_update_n
call fcn.0055a410
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0xc]
push str._s.new.exe
push edx
call fcn.00401db0
lea eax, [esp + 0x14]
push 0x666654
push eax
call fcn.0057c974
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x407cb5
lea ecx, [esp + 4]
push ecx
push str.cant_open__s_for_writing_n
call fcn.0055a5e0
add esp, 8
mov edx, dword [esp + 0x214]
push esi
push 1
push edx
push edi
call fcn.0057d4d4
push esi
call fcn.0057c080
mov eax, dword [0x73bcb4]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
push ecx
push str.executing__s_n
call fcn.0055a410
add esp, 8
call fcn.004079d0
push 5
push 0
push 0x698e00
lea edx, [esp + 0x10]
push edx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
pop esi
jge 0x407d22
push eax
lea eax, [esp + 4]
push eax
push str.failed_to_launch__s___d
call fcn.0055a5e0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov al, 1
call fcn.0057bc02
add esp, 0x20c
ret
Function at 0x4081b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5ca0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x6926dc]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
fldz
lea ecx, [esp + 0x10]
fst dword [esi]
mov dword [esi + 8], 0
fstp dword [esi + 4]
call fcn.0040e3f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0
call fcn.0040e5b0
movzx eax, word [esp + 0x54]
push 0x666de8
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4082ed
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4082ed
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.0040e750
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040e5d0
push eax
lea ecx, [esp + 0x18]
call fcn.0040e5f0
mov ecx, dword [0x69928c]
push eax
add ecx, 0x50
call fcn.0055c850
push eax
call sub.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory
test eax, eax
jne 0x4082ed
mov ecx, dword [0x69928c]
call fcn.0056ac30
push 1
push 1
push 0x16
push 4
push 4
mov ecx, eax
mov dword [esi + 8], eax
call fcn.0056c4c0
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 8]
push edx
call fcn.0056c340
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0
push eax
mov eax, dword [ecx + 0x44]
call eax
fild dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
fild dword [esp + 0x38]
test ecx, ecx
jge 0x4082ce
fadd dword [0x668510]
fdivp st(1)
mov edx, dword [esp + 0x3c]
fstp dword [esi]
fild dword [esp + 0x5c]
fild dword [esp + 0x3c]
test edx, edx
jge 0x4082e8
fadd dword [0x668510]
fdivp st(1)
fstp dword [esi + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0040e4d0
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 0xc
Function at 0x409900
Capabilities:
Delete file
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push ebp
lea eax, [esp + 0x14]
mov ebx, ecx
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0055b0b0
add esp, 0xc
test al, al
je 0x40993f
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x112]
je 0x409a24
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x666654
push esi
call fcn.0057c974
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x40997f
push esi
push str.Cant_replace_file__s_nPlease_delete_this_file_manually
lea edx, [esp + 0x20]
call fcn.00401dd0
add esp, 8
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.00408dd0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.0040e5d0
push eax
mov ecx, ebx
call fcn.0040e5f0
push eax
push esi
lea ecx, [edi + 0x4e0]
call fcn.005671d0
mov eax, dword [esi + 0x10a]
cmp eax, dword [esp + 8]
je 0x4099ca
push 0
push 0x19d
push str..Updater.cpp
push str.fe__size__out_size
call fcn.0055a720
add esp, 0x10
lea ebx, [edi + 0x20dd4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ebp
push 1
push ecx
push edx
call fcn.0057d4d4
push ebp
call fcn.0057c080
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.WarZ.exe
push esi
call fcn.0057df2c
add esp, 8
test eax, eax
jne 0x409a17
mov byte [edi + 0x21654], 1
call fcn.00409c90
mov eax, dword [esp + 0xc]
push eax
call fcn.0057d626
add esp, 4
mov ecx, dword [esp + 0x41c]
pop ebp
pop ebx
xor ecx, esp
call fcn.0057bc02
add esp, 0x41c
ret
Function at 0x409b10
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5cac78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6926dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
xor esi, esi
mov dword [esp + 0x18], ebx
call fcn.0040bfb0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], esi
call fcn.0040c130
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
test ecx, ecx
jbe 0x409bbf
mov ebp, 0x100000
mov edx, dword [edi + 0x5f8]
sub edx, dword [edi + 0x5f4]
sar edx, 2
cmp esi, edx
jb 0x409b88
call fcn.0057cfc3
mov eax, dword [edi + 0x5f4]
mov eax, dword [eax + esi*4]
test dword [eax + 0x116], ebp
jne 0x409ba5
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040c240
inc ebx
mov edx, dword [edi + 0x5f8]
sub edx, dword [edi + 0x5f4]
inc esi
sar edx, 2
cmp esi, edx
jb 0x409b70
mov dword [esp + 0x14], ebx
xor esi, esi
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x409c38
xor ebp, ebp
lea ebx, [edi + 0x5e4]
cmp esi, eax
jb 0x409bed
call fcn.0057cfc3
mov eax, dword [esp + 0x24]
lea edi, [eax + ebp]
push edi
mov ecx, ebx
call fcn.00568a00
test byte [edi + 0x116], 1
je 0x409c0c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebp, 0x128
cmp esi, eax
jb 0x409bed
mov ebx, dword [esp + 0x14]
xor esi, esi
push ebx
push str.removed__d_files_n
call fcn.0055a410
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, esi
je 0x409c57
push eax
call fcn.0057c26d
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0057c26d
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x409c90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x61c
mov eax, dword [0x6926dc]
xor eax, esp
mov dword [esp + 0x614], eax
lea eax, [esp + 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.WarZ.exe
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 8]
push 0x66750c
push edx
call fcn.00401db0
push str.Infestation:_Survivor_Stories
push str.Allow_network_traffic_for__s
lea edx, [esp + 0x228]
call fcn.00401dd0
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a20
mov ecx, dword [esp + 0x630]
add esp, 0x1c
xor ecx, esp
call fcn.0057bc02
add esp, 0x61c
ret
Function at 0x40a650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cacc0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6926dc]
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 0x40a6a7
push 0
push 0x34d
push str..Updater.cpp
push str.status___STATUS_Checking
call fcn.0055a720
add esp, 0x10
mov ecx, esi
call fcn.00408e30
call fcn.00409050
test al, al
je 0x40a6d0
call fcn.004090c0
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.00409310
push 0x66697a
lea edx, [esi + 0x20df5]
mov dword [esi + 0x20dec], eax
call fcn.00401dd0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
mov ebx, 5
cmp dword [esi + 0x20dec], ebx
jne 0x40a810
mov eax, dword [esi + 0x21760]
mov dword [0x73c7b8], eax
mov ecx, dword [esi + 0x21764]
mov eax, 0x73c7b8
mov dword [0x73c7bc], ecx
call fcn.00402540
mov edx, dword [0x73c7c8]
or edx, dword [0x73c7cc]
je 0x40a76e
cmp dword [0x73c850], 0
jne 0x40a74f
call fcn.00402de0
test al, al
je 0x40a76e
push 0
push 0
push 0x73c7b8
push 0x402ab0
push 0
push 0
call fcn.0057c5aa
add esp, 0x18
mov dword [0x73c980], eax
call fcn.00409370
call fcn.004094c0
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.0055a410
mov eax, dword [esi + 0x5e4]
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jne 0x40a7a0
call fcn.0040a590
mov ebx, esi
call fcn.00409760
mov ecx, esi
call fcn.00409e60
call fcn.0040a4f0
push str.Validating_game_data_n
call fcn.0055a410
add esp, 4
push str.Validating_game_data
lea edx, [esi + 0x20df5]
call fcn.00401dd0
add esp, 4
lea edx, [esi + 0x21600]
push edx
lea eax, [esi + 0x215f8]
push eax
push 0
lea ecx, [esi + 0x4e0]
call fcn.0056a2e0
test al, al
jne 0x40a7fe
push str.Game_data_is_damaged__please_restart_launcher_to_repair_damaged_files
mov eax, esi
call fcn.00408dd0
push str.Validating_game_data___finished_n
call fcn.0055a410
add esp, 4
call fcn.0040a590
push 0x32
call edi
jmp 0x40a702