Function at 0x410b50
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d4ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6ac
mov eax, dword [0x4aff50]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov esi, 0xf
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x518], edi
mov byte [edi + 0x3a0], bl
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 4], ebx
call fcn.00407d10
add esp, 4
push ebx
lea ecx, [ebp - 0x170]
call fcn.00425da0
push ebx
lea ecx, [edi + 0x27c]
mov byte [ebp - 4], 1
call fcn.00482877
mov edx, dword [0x4ae198]
mov eax, edx
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410bf0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00404760
push 6
mov esi, 0xf
push 0x4939d8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], 0
call fcn.00404760
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 4
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x68]
push ecx
push eax
lea edx, [ebp - 0x1a8]
push edx
mov byte [ebp - 4], 5
call fcn.00415c80
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
jb 0x410c6a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004826a1
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
jb 0x410c86
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004826a1
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 7
jb 0x410ca6
mov edx, dword [ebp - 0x64]
push edx
call fcn.004826a1
add esp, 4
cmp dword [ebp - 0x190], 0x10
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], 0
jae 0x410cc5
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x170]
call fcn.00426030
test al, al
jne 0x410cfe
push 0x89
call fcn.004014b0
add esp, 4
push 0x88
mov esi, eax
call fcn.004014b0
add esp, 4
push 0x10
push esi
push eax
mov eax, dword [edi + 0x1c]
push eax
jmp 0x412069
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xf0], 0
mov edx, dword [0x4ae1a4]
mov eax, edx
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410d30
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.00404760
lea ecx, [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0xb
call fcn.004258f0
test al, al
mov eax, dword [ebp - 0x34]
sete bl
cmp eax, 0x10
mov byte [ebp - 4], 0xa
jb 0x410d7a
mov eax, dword [ebp - 0x48]
push eax
call fcn.004826a1
add esp, 4
test bl, bl
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
je 0x410db9
push 0x8b
call fcn.004014b0
add esp, 4
push 0x8a
mov esi, eax
call fcn.004014b0
mov ecx, dword [edi + 0x1c]
add esp, 4
push 0x10
push esi
push eax
push ecx
jmp 0x412069
mov edx, dword [0x4ae198]
mov ebx, 0xf
mov eax, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410dd7
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00404760
push 1
push 0x4939e0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00404760
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0xd
call fcn.00415c80
add esp, 0xc
lea edx, [ebp - 0x68]
push edx
push eax
lea eax, [ebp - 0x18c]
push eax
mov byte [ebp - 4], 0xe
call fcn.00415c80
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ebx, 0x10
cmp eax, ebx
jb 0x410e56
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004826a1
add esp, 4
cmp dword [ebp - 0x34], ebx
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x410e7a
mov edx, dword [ebp - 0x48]
push edx
call fcn.004826a1
add esp, 4
cmp dword [ebp - 0x50], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0x10
jb 0x410e9d
mov eax, dword [ebp - 0x64]
push eax
call fcn.004826a1
add esp, 4
cmp dword [ebp - 0x174], ebx
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jae 0x410ebf
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x170]
call fcn.00426030
test al, al
jne 0x410ef7
push 0x8d
call fcn.004014b0
add esp, 4
push 0x8c
mov esi, eax
call fcn.004014b0
mov ecx, dword [edi + 0x1c]
add esp, 4
push ebx
push esi
push eax
push ecx
jmp 0x412069
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
mov edx, dword [0x4ae1a4]
push edx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.004050c0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x14
call fcn.004258f0
test al, al
mov eax, dword [ebp - 0x18]
mov esi, 0x10
sete bl
cmp eax, esi
mov byte [ebp - 4], 0x13
jb 0x410f5c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004826a1
add esp, 4
test bl, bl
je 0x410f89
push 0x8f
call fcn.004014b0
add esp, 4
push 0x8e
mov esi, eax
call fcn.004014b0
add esp, 4
push 0x10
push esi
push eax
mov eax, dword [edi + 0x1c]
push eax
jmp 0x412069
cmp dword [ebp - 0xdc], esi
mov eax, dword [ebp - 0xf0]
jae 0x410f9d
lea eax, [ebp - 0xf0]
push eax
lea ecx, [edi + 0x410]
call fcn.004827c1
cmp dword [ebp - 0xf8], esi
mov eax, dword [ebp - 0x10c]
jae 0x410fbd
lea eax, [ebp - 0x10c]
push eax
lea ecx, [edi + 0x3c0]
call fcn.004827c1
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0xf4]
push edx
call fcn.00403db0
add esp, 8
test al, al
je 0x41100c
push 0x91
call fcn.004014b0
add esp, 4
push 0x90
mov esi, eax
call fcn.004014b0
add esp, 4
push 0x10
push esi
push eax
mov eax, dword [edi + 0x1c]
push eax
jmp 0x412069
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0xf4]
push edx
call fcn.00403d80
add esp, 8
test al, al
je 0x41109b
push 0x92
call fcn.004014b0
add esp, 4
push eax
lea ecx, [edi + 0x4b0]
call fcn.004827c1
mov ebx, dword [ebp - 0x518]
lea esi, [ebx + 0x1dc]
push 0x3e8
mov ecx, esi
call fcn.00407650
lea edi, [ebx + 0x22c]
push 0x64
mov ecx, edi
call fcn.00407650
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov ecx, esi
call fcn.00407650
push 0
mov ecx, edi
call fcn.00407650
lea esi, [ebx + 0x460]
push 1
mov ecx, esi
call fcn.00482877
mov ecx, esi
call fcn.00482898
jmp 0x411a05
push 0x93
call fcn.004014b0
add esp, 4
push eax
lea ecx, [edi + 0x4b0]
call fcn.004827c1
mov eax, dword [0x4ae19c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004050c0
mov esi, eax
push str.Temp_
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x15
call fcn.004050c0
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 0x16
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x1f0]
push eax
mov byte [ebp - 4], 0x17
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.004036e0
lea ecx, [ebp - 0x12c]
call fcn.004036e0
lea ecx, [ebp - 0xa0]
call fcn.004036e0
xor ebx, ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], ebx
mov byte [ebp - 0x1c0], bl
mov eax, dword [ebp - 0x1d8]
mov esi, 0x10
cmp eax, esi
mov eax, dword [ebp - 0x1ec]
mov byte [ebp - 4], 0x1c
jae 0x41116f
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0041d2a0
test al, al
jne 0x4111a8
push 0x95
call fcn.004014b0
add esp, 4
push 0x94
mov esi, eax
call fcn.004014b0
mov ecx, dword [edi + 0x1c]
add esp, 4
push 0x10
push esi
push eax
push ecx
jmp 0x412069
mov dword [ebp - 0x52c], ebx
mov dword [ebp - 0x528], ebx
mov dword [ebp - 0x524], ebx
cmp dword [ebp - 0xf8], esi
mov eax, dword [ebp - 0x10c]
mov byte [ebp - 4], 0x1d
jae 0x4111d2
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x530]
push edx
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0041d030
test al, al
jne 0x411212
push 0x97
call fcn.004014b0
add esp, 4
push 0x96
mov esi, eax
call fcn.004014b0
add esp, 4
push 0x10
push esi
push eax
mov eax, dword [edi + 0x1c]
push eax
jmp 0x412069
lea ecx, [ebp - 0x530]
call fcn.00413c30
push eax
push ebx
lea ecx, [edi + 0x22c]
call fcn.00407620
mov esi, dword [ebp - 0x52c]
cmp esi, dword [ebp - 0x528]
je 0x411807
lea ebx, [esi + 0x1c]
push ebx
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.004036e0
push 0x4939ec
lea ecx, [ebp - 0x61c]
call fcn.004050c0
mov edi, eax
push 0x4939f4
lea ecx, [ebp - 0x600]
mov byte [ebp - 4], 0x21
call fcn.004050c0
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xd8]
push edx
mov byte [ebp - 4], 0x22
call fcn.00415c80
add esp, 0xc
push ebx
push eax
lea eax, [ebp - 0x148]
push eax
mov byte [ebp - 4], 0x23
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 0x24
call fcn.00415c80
add esp, 0xc
push edi
push eax
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 0x25
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.004036e0
lea ecx, [ebp - 0x148]
call fcn.004036e0
lea ecx, [ebp - 0xd8]
call fcn.004036e0
lea ecx, [ebp - 0x600]
call fcn.004036e0
lea ecx, [ebp - 0x61c]
mov byte [ebp - 4], 0x27
call fcn.004036e0
push 0x4939fc
lea ecx, [ebp - 0x550]
call fcn.004050c0
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x56c]
push ecx
mov byte [ebp - 4], 0x2c
call fcn.00415c80
add esp, 0xc
push ebx
push eax
lea edx, [ebp - 0x588]
push edx
mov byte [ebp - 4], 0x2d
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 0x2e
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x588]
call fcn.004036e0
lea ecx, [ebp - 0x56c]
call fcn.004036e0
lea ecx, [ebp - 0x550]
call fcn.004036e0
mov ebx, 0xf
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x12c]
push edx
mov byte [ebp - 4], 0x33
call fcn.00418ae0
mov eax, dword [ebp - 0x34]
mov edi, 0x10
add esp, 8
cmp eax, edi
mov eax, dword [ebp - 0x48]
jae 0x4113de
lea eax, [ebp - 0x48]
push 0x493a04
push eax
call fcn.0047c3e5
add esp, 8
test eax, eax
jne 0x411856
push str.begin_updating_PakHelper.dll
push 1
call fcn.00409700
push eax
call fcn.0041a2e0
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp eax, edi
mov eax, dword [ebp - 0x80]
jae 0x411416
lea eax, [ebp - 0x80]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
test eax, eax
jne 0x4115b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4115b8
cmp eax, 3
je 0x4115b8
push 1
push 2
lea ecx, [ebp - 0x69c]
call fcn.00415a50
lea eax, [ebp - 0x69c]
push str.cant_delete__s
push eax
mov byte [ebp - 4], 0x34
call fcn.00414b10
add esp, 8
push 0x493a60
push eax
call fcn.00414b10
add esp, 8
push 0x5bc
mov ecx, eax
call fcn.00415570
push 0x493a34
push eax
call fcn.00414b10
add esp, 8
lea ecx, [ebp - 0x550]
push ecx
lea ecx, [ebp - 0x69c]
call fcn.00418fd0
mov ecx, dword [ebp - 0x6c]
mov edi, 0x10
cmp ecx, edi
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0x35
jae 0x4114b6
lea ecx, [ebp - 0x80]
cmp dword [eax + 0x18], edi
jb 0x4114c0
mov eax, dword [eax + 4]
jmp 0x4114c3
add eax, 4
push ecx
push eax
push 0
call fcn.00409700
push eax
call fcn.0041a2e0
add esp, 0x10
lea ecx, [ebp - 0x550]
call fcn.004036e0
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0x33
call fcn.004143d0
lea ecx, [ebp - 0x650]
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0047d779
push 0x99
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x588]
call fcn.004050c0
mov esi, eax
push 0x98
mov byte [ebp - 4], 0x36
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x56c]
call fcn.004050c0
lea edx, [ebp - 0x84]
push edx
push eax
lea eax, [ebp - 0x550]
push eax
mov byte [ebp - 4], 0x37
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0x38
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x550]
call fcn.004036e0
lea ecx, [ebp - 0x56c]
call fcn.004036e0
lea ecx, [ebp - 0x588]
mov byte [ebp - 4], 0x3a
call fcn.004036e0
cmp dword [ebp - 0x18], edi
mov esi, dword [ebp - 0x2c]
jae 0x411599
lea esi, [ebp - 0x2c]
push 0x9a
call fcn.004014b0
mov edx, dword [ebp - 0x518]
add esp, 4
push edi
push eax
mov eax, dword [edx + 0x1c]
push esi
push eax
jmp 0x412069
cmp dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 0x64]
jae 0x4115c4
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.0041e760
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 0x3d
call fcn.00407bd0
add esp, 8
test al, al
jne 0x4116a9
push 0x9c
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x588]
call fcn.004050c0
mov esi, eax
push 0x9b
mov byte [ebp - 4], 0x3e
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x56c]
call fcn.004050c0
lea ecx, [ebp - 0x84]
push ecx
push eax
lea edx, [ebp - 0x550]
push edx
mov byte [ebp - 4], 0x3f
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x40
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x550]
call fcn.004036e0
lea ecx, [ebp - 0x56c]
call fcn.004036e0
lea ecx, [ebp - 0x588]
mov byte [ebp - 4], 0x42
call fcn.004036e0
cmp dword [ebp - 0x18], 0x10
mov esi, dword [ebp - 0x2c]
jae 0x41169f
lea esi, [ebp - 0x2c]
push 0x9d
jmp 0x412053
mov eax, dword [ebp - 0x88]
mov ebx, 0x10
cmp eax, ebx
mov eax, dword [ebp - 0x9c]
jae 0x4116c4
lea eax, [ebp - 0x9c]
push eax
call fcn.00418db0
add esp, 4
test al, al
jne 0x41177d
push 0x9f
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x588]
call fcn.004050c0
mov esi, eax
push 0x9e
mov byte [ebp - 4], 0x45
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x56c]
call fcn.004050c0
lea ecx, [ebp - 0xa0]
push ecx
push eax
lea edx, [ebp - 0x550]
push edx
mov byte [ebp - 4], 0x46
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x47
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x550]
call fcn.004036e0
lea ecx, [ebp - 0x56c]
call fcn.004036e0
lea ecx, [ebp - 0x588]
mov byte [ebp - 4], 0x49
call fcn.004036e0
cmp dword [ebp - 0x18], ebx
mov esi, dword [ebp - 0x2c]
jae 0x41176a
lea esi, [ebp - 0x2c]
push 0xa0
call fcn.004014b0
add esp, 4
push ebx
jmp 0x41205d
cmp dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x80]
jae 0x411788
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.0041e5c0
cmp dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x64]
jae 0x41179f
lea eax, [ebp - 0x64]
push eax
call edi
push esi
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x530]
call fcn.0041b4a0
push str.end_updating_PakHelper.dll
push 1
call fcn.00409700
push eax
call fcn.0041a2e0
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.004036e0
lea ecx, [ebp - 0x4c]
call fcn.004036e0
lea ecx, [ebp - 0x12c]
call fcn.004036e0
lea ecx, [ebp - 0x68]
call fcn.004036e0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1d
call fcn.004036e0
mov edi, dword [ebp - 0x518]
xor ebx, ebx
push str.begin_loading_PakHelper.dll
push 1
call fcn.00409700
push eax
call fcn.0041a2e0
add esp, 0xc
push 0x493af8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [edi + 0x74], eax
jne 0x411890
push 0xa2
call fcn.004014b0
add esp, 4
push 0xa1
mov esi, eax
call fcn.004014b0
mov ecx, dword [edi + 0x1c]
add esp, 4
push ebx
push esi
push eax
push ecx
jmp 0x412069
lea ecx, [ebp - 0x4c]
call fcn.004036e0
lea ecx, [ebp - 0x12c]
call fcn.004036e0
lea ecx, [ebp - 0x68]
call fcn.004036e0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1d
call fcn.004036e0
mov edi, dword [ebp - 0x518]
add esi, 0x74
xor ebx, ebx
jmp 0x411230
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UpdataFile
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0x534], eax
jne 0x4118da
mov edx, dword [edi + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xa4
call fcn.004014b0
add esp, 4
push 0xa3
mov esi, eax
call fcn.004014b0
add esp, 4
push ebx
push esi
push eax
mov eax, dword [edi + 0x1c]
push eax
jmp 0x412069
mov ecx, dword [edi + 0x74]
push str.UpdataComplete
push ecx
call esi
cmp eax, ebx
mov dword [ebp - 0x520], eax
jne 0x411921
mov edx, dword [edi + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xa6
call fcn.004014b0
add esp, 4
push 0xa5
mov esi, eax
call fcn.004014b0
add esp, 4
push ebx
push esi
push eax
mov eax, dword [edi + 0x1c]
push eax
jmp 0x412069
push str.end_loading_PakHelper.dll
push 1
call fcn.00409700
push eax
call fcn.0041a2e0
mov byte [ebp - 0x2f4], 0
xor eax, eax
mov ecx, 0x40
lea edi, [ebp - 0x2f3]
rep stosd dword es:[edi], eax
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x2f4]
stosw word es:[edi], ax
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.Updater.exe
lea ecx, [ebp - 0xa0]
call fcn.004050c0
lea edx, [ebp - 0x2f4]
push edx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x4c
call fcn.004050c0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0x4d
call fcn.00418ae0
add esp, 8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x4c
call fcn.004036e0
mov ebx, dword [ebp - 0x52c]
mov dword [ebp - 0x51c], 1
cmp ebx, dword [ebp - 0x528]
mov esi, dword [ebp - 0x518]
je 0x41223b
mov al, byte [esi + 0x3a0]
test al, al
je 0x411a64
lea ecx, [ebp - 0xa0]
call fcn.004036e0
lea ecx, [ebp - 0x530]
call fcn.0041af90
lea ecx, [ebp - 0x1d4]
call fcn.0041b620
lea ecx, [ebp - 0x1f0]
call fcn.004036e0
lea ecx, [ebp - 0x110]
call fcn.004036e0
lea ecx, [ebp - 0x18c]
call fcn.004036e0
lea ecx, [ebp - 0xf4]
call fcn.004036e0
lea ecx, [ebp - 0x1a8]
call fcn.004036e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x170]
call fcn.0041b9e0
lea ecx, [ebp - 0xbc]
call fcn.004036e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0046bf5e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [ebx + 0x1c]
push edi
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x550]
push eax
call fcn.00415c80
add esp, 0xc
push ebx
push eax
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 0x4e
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 0x50
call fcn.004036e0
push str..zip
lea ecx, [ebp - 0x6b8]
call fcn.004050c0
mov esi, eax
push 0x493b54
lea ecx, [ebp - 0x600]
mov byte [ebp - 4], 0x51
call fcn.004050c0
push eax
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x61c]
push eax
mov byte [ebp - 4], 0x52
call fcn.00415c80
add esp, 0xc
push edi
push eax
lea ecx, [ebp - 0x588]
push ecx
mov byte [ebp - 4], 0x53
call fcn.00415c80
add esp, 0xc
push ebx
push eax
lea edx, [ebp - 0x56c]
push edx
mov byte [ebp - 4], 0x54
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x55
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x56c]
call fcn.004036e0
lea ecx, [ebp - 0x588]
call fcn.004036e0
lea ecx, [ebp - 0x61c]
call fcn.004036e0
lea ecx, [ebp - 0x600]
call fcn.004036e0
lea ecx, [ebp - 0x6b8]
mov byte [ebp - 4], 0x57
call fcn.004036e0
push 0x493b5c
lea ecx, [ebp - 0x5a4]
call fcn.004050c0
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x5c0]
push edx
mov byte [ebp - 4], 0x5c
call fcn.00415c80
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x5dc]
push eax
mov byte [ebp - 4], 0x5d
call fcn.00415c80
add esp, 0xc
push ebx
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov byte [ebp - 4], 0x5e
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x5dc]
call fcn.004036e0
lea ecx, [ebp - 0x5c0]
call fcn.004036e0
lea ecx, [ebp - 0x5a4]
call fcn.004036e0
xor eax, eax
mov esi, 0xf
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], al
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x144], al
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 0x64
call fcn.00418ae0
add esp, 8
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.00418b80
mov eax, dword [ebp - 0x6c]
add esp, 8
cmp eax, 0x10
mov eax, dword [ebp - 0x80]
jae 0x411c2d
lea eax, [ebp - 0x80]
push eax
push str.begin_updating__s
push 1
call fcn.00409700
push eax
call fcn.0041a2e0
mov ecx, dword [ebp - 0x88]
mov eax, 0x10
add esp, 0x10
cmp ecx, eax
mov ecx, dword [ebp - 0x9c]
jae 0x411c5e
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
jae 0x411c69
lea eax, [ebp - 0x64]
push ecx
push eax
call fcn.0047c3e5
add esp, 8
test eax, eax
jne 0x411c97
cmp dword [ebp - 0x88], 0x10
mov eax, dword [ebp - 0x9c]
jae 0x411c8c
lea eax, [ebp - 0x9c]
push eax
push str.skip_updating__s
jmp 0x4121e1
cmp dword [ebp - 0x130], 0x10
mov eax, dword [ebp - 0x144]
jae 0x411cac
lea eax, [ebp - 0x144]
push 0x493b8c
push eax
call fcn.0047c3e5
add esp, 8
test eax, eax
je 0x4120a1
cmp dword [ebp - 0x130], 0x10
mov eax, dword [ebp - 0x144]
jae 0x411cd7
lea eax, [ebp - 0x144]
push 0x493b90
push eax
call fcn.0047c3e5
add esp, 8
test eax, eax
je 0x4120a1
mov eax, dword [ebp - 0x6c]
mov edi, 0x10
cmp eax, edi
mov eax, dword [ebp - 0x80]
jae 0x411cff
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x411ea3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411ea3
cmp eax, 3
je 0x411ea3
push 1
push 2
lea ecx, [ebp - 0x69c]
call fcn.00415a50
push 0xa7
mov byte [ebp - 4], 0x66
call fcn.004014b0
add esp, 4
push eax
lea eax, [ebp - 0x69c]
push eax
call fcn.00414b10
add esp, 8
push 0x493bc0
push eax
call fcn.00414b10
add esp, 8
push 0x63f
mov ecx, eax
call fcn.00415570
push str.__funcCUpdateDlg::DoContinueUpdate_
push eax
call fcn.00414b10
add esp, 8
lea ecx, [ebp - 0x5a4]
push ecx
lea ecx, [ebp - 0x69c]
call fcn.00418fd0
cmp dword [ebp - 0x6c], edi
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0x67
jae 0x411d9f
lea ecx, [ebp - 0x80]
cmp dword [eax + 0x18], edi
jb 0x411da9
mov eax, dword [eax + 4]
jmp 0x411dac
add eax, 4
push ecx
push eax
push 0
call fcn.00409700
push eax
call fcn.0041a2e0
add esp, 0x10
lea ecx, [ebp - 0x5a4]
call fcn.004036e0
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0x64
call fcn.004143d0
lea ecx, [ebp - 0x650]
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0047d779
push 0xa9
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x5dc]
call fcn.004050c0
mov esi, eax
push 0xa8
mov byte [ebp - 4], 0x68
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x5c0]
call fcn.004050c0
lea edx, [ebp - 0x84]
push edx
push eax
lea eax, [ebp - 0x5a4]
push eax
mov byte [ebp - 4], 0x69
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0x6a
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x5a4]
call fcn.004036e0
lea ecx, [ebp - 0x5c0]
call fcn.004036e0
lea ecx, [ebp - 0x5dc]
mov byte [ebp - 4], 0x6c
call fcn.004036e0
cmp dword [ebp - 0x18], 0x10
mov esi, dword [ebp - 0x2c]
jae 0x411e83
lea esi, [ebp - 0x2c]
push 0xaa
call fcn.004014b0
mov edx, dword [ebp - 0x518]
add esp, 4
push 0x10
push eax
mov eax, dword [edx + 0x1c]
push esi
push eax
jmp 0x412069
cmp dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x48]
jae 0x411eae
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x408]
call fcn.0041e760
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 0x6f
call fcn.00407bd0
add esp, 8
test al, al
jne 0x411f93
push 0xac
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x5dc]
call fcn.004050c0
mov esi, eax
push 0xab
mov byte [ebp - 4], 0x70
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x5c0]
call fcn.004050c0
lea ecx, [ebp - 0x84]
push ecx
push eax
lea edx, [ebp - 0x5a4]
push edx
mov byte [ebp - 4], 0x71
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x72
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x5a4]
call fcn.004036e0
lea ecx, [ebp - 0x5c0]
call fcn.004036e0
lea ecx, [ebp - 0x5dc]
mov byte [ebp - 4], 0x74
call fcn.004036e0
cmp dword [ebp - 0x18], 0x10
mov esi, dword [ebp - 0x2c]
jae 0x411f89
lea esi, [ebp - 0x2c]
push 0xad
jmp 0x412053
cmp dword [ebp - 0x114], edi
mov eax, dword [ebp - 0x128]
jae 0x411fa7
lea eax, [ebp - 0x128]
push eax
call fcn.00418db0
add esp, 4
test al, al
jne 0x412076
push 0xaf
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x5dc]
call fcn.004050c0
mov esi, eax
push 0xae
mov byte [ebp - 4], 0x77
call fcn.004014b0
add esp, 4
push eax
lea ecx, [ebp - 0x5c0]
call fcn.004050c0
lea ecx, [ebp - 0x12c]
push ecx
push eax
lea edx, [ebp - 0x5a4]
push edx
mov byte [ebp - 4], 0x78
call fcn.00415c80
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x79
call fcn.00415c80
add esp, 0xc
lea ecx, [ebp - 0x5a4]
call fcn.004036e0
lea ecx, [ebp - 0x5c0]
call fcn.004036e0
lea ecx, [ebp - 0x5dc]
mov byte [ebp - 4], 0x7b
call fcn.004036e0
cmp dword [ebp - 0x18], 0x10
mov esi, dword [ebp - 0x2c]
jae 0x41204e
lea esi, [ebp - 0x2c]
push 0xb0
call fcn.004014b0
add esp, 4
push 0x10
mov ecx, dword [ebp - 0x518]
mov edx, dword [ecx + 0x1c]
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0046d2e9
cmp dword [ebp - 0x6c], edi
mov eax, dword [ebp - 0x80]
jae 0x412081
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x408]
call fcn.0041e5c0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x64
call fcn.004036e0
jmp 0x412172
mov eax, dword [ebp - 0x34]
mov esi, 0x10
cmp eax, esi
mov eax, dword [ebp - 0x48]
jae 0x4120b3
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x514]
call fcn.0041e760
cmp dword [ebp - 0xc0], esi
mov eax, dword [ebp - 0xd4]
jae 0x4120d3
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0xc0], esi
mov eax, dword [ebp - 0xd4]
jae 0x4120ee
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x514]
call fcn.0041e5c0
push edi
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00415c80
add esp, 0xc
mov esi, dword [ebp - 0x1c]
dec esi
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x65
call fcn.00402eb0
cmp byte [eax], 0x5c
jne 0x412130
push esi
lea ecx, [ebp - 0x30]
call fcn.00402eb0
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
mov eax, 0x10
cmp ecx, eax
mov ecx, dword [ebp - 0x2c]
jae 0x412142
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd4]
jae 0x412156
lea eax, [ebp - 0xd4]
push ecx
push eax
call dword [ebp - 0x534]
add esp, 8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x64
call fcn.004036e0
mov edi, 0x10
cmp dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x48]
jae 0x41217d
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x51c]
mov edi, dword [ebp - 0x518]
push edx
lea ecx, [edi + 0x22c]
call fcn.00407650
mov eax, dword [ebp - 0x50]
mov esi, 0x10
cmp eax, esi
mov eax, dword [ebp - 0x64]
jae 0x4121ae
lea eax, [ebp - 0x64]
mov ecx, dword [0x4ae1a0]
push ecx
push eax
call fcn.0047c3e5
add esp, 8
test eax, eax
jne 0x4121d0
mov byte [edi + 0x3b8], 1
mov byte [edi + 0x3b9], 1
cmp dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x80]
jae 0x4121db
lea eax, [ebp - 0x80]
push eax
push str.end_updating__s
push 1
call fcn.00409700
push eax
call fcn.0041a2e0
lea ecx, [ebp - 0x148]
add esp, 0x10
call fcn.004036e0
lea ecx, [ebp - 0x68]
call fcn.004036e0
lea ecx, [ebp - 0xd8]
call fcn.004036e0
lea ecx, [ebp - 0x4c]
call fcn.004036e0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x4c
call fcn.004036e0
mov eax, dword [ebp - 0x51c]
add ebx, 0x74
inc eax
mov dword [ebp - 0x51c], eax
jmp 0x4119b9
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1d
call fcn.004036e0
call dword [ebp - 0x520]
mov edx, dword [0x4ae1a4]
push edx
lea ecx, [ebp - 0x30]
call fcn.004050c0
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x7e
call fcn.00425b60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1d
call fcn.004036e0
lea ecx, [ebp - 0x170]
call fcn.004255c0
cmp dword [ebp - 0xdc], 0x10
mov eax, dword [ebp - 0xf0]
jae 0x4122a5
lea eax, [ebp - 0xf0]
push eax
lea ecx, [esi + 0x3c0]
call fcn.004827c1
push 0
lea ecx, [esi + 0x1dc]
mov byte [esi + 0x3a1], 0
call fcn.00407650
push 0
lea ecx, [esi + 0x22c]
call fcn.00407650
mov al, byte [esi + 0x3b8]
test al, al
je 0x412385
mov ecx, esi
call fcn.0040d010
test al, al
jne 0x412322
push 0xb2
call fcn.004014b0
add esp, 4
push 0xb1
mov esi, eax
call fcn.004014b0
mov edx, dword [ebp - 0x518]
add esp, 4
push 0x10
push esi
push eax
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0046d2e9
mov edi, dword [ebp - 0x518]
lea esi, [edi + 0x31c]
mov ecx, esi
call fcn.0040a4b0
mov eax, dword [edi + 0x370]
mov eax, dword [eax]
mov dword [ebp - 0x51c], eax
mov ebx, 0x10
cmp eax, dword [edi + 0x370]
je 0x412378
cmp dword [eax + 0x24], ebx
jb 0x41235a
mov eax, dword [eax + 0x10]
jmp 0x41235d
add eax, 0x10
push eax
mov ecx, esi
call fcn.0040a490
lea ecx, [ebp - 0x51c]
call fcn.00409440
mov eax, dword [ebp - 0x51c]
jmp 0x412348
mov ecx, edi
call fcn.00410a90
mov esi, dword [ebp - 0x518]
push 0xb3
call fcn.004014b0
add esp, 4
push eax
lea ecx, [esi + 0x4b0]
call fcn.004827c1
mov edi, dword [ebp - 0x518]
lea esi, [edi + 0x460]
push 1
mov ecx, esi
call fcn.00482877
mov ecx, esi
call fcn.00482898
push 0
lea ecx, [edi + 0x31c]
call fcn.00482877
lea ecx, [ebp - 0x530]
call fcn.0041af90
lea ecx, [ebp - 0x1d4]
call fcn.0041b620
lea ecx, [ebp - 0x1f0]
call fcn.004036e0
lea ecx, [ebp - 0x110]
call fcn.004036e0
lea ecx, [ebp - 0x18c]
call fcn.004036e0
lea ecx, [ebp - 0xf4]
call fcn.004036e0
lea ecx, [ebp - 0x1a8]
call fcn.004036e0
mov dword [ebp - 4], 0
jmp 0x411a35