Function at 0x413f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524f7d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x228
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x174], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x180], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x178], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x184], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x16c], 0
mov dword [ebp - 4], 0
push 0x1c
mov dword [ecx + 0x98], 2
add ecx, 0x30
push str.Se_verifica_actualizarile...
call fcn.0040eb10
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov esi, bind
mov dword [ebp - 0x16c], ecx
mov eax, esi
mov edi, dword [ebx + 0x28]
sub eax, edi
cmp eax, dword [0x593548]
jb 0x414a07
cmp dword [ebx + 0x2c], 0x10
lea edx, [ebx + 0x18]
push dword [0x593548]
cmovae edx, dword [ebx + 0x18]
mov eax, 0x593538
cmp dword [0x59354c], 0x10
cmovae eax, dword [0x593538]
push eax
push edi
push edx
push ecx
push dword [ebp - 0x174]
call fcn.0041dad0
lea ecx, [ebp - 0x4c]
call fcn.00403280
add esp, 0x18
test al, al
jne 0x4140e4
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x414093
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414089
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x414a00
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4140d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
xor al, al
jmp 0x414966
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x16c], ecx
mov edi, dword [ebx + 0x28]
sub esi, edi
cmp esi, dword [0x593560]
jb 0x414a07
cmp dword [ebx + 0x2c], 0x10
lea edx, [ebx + 0x18]
push dword [0x593560]
cmovae edx, dword [ebx + 0x18]
mov eax, 0x593550
cmp dword [0x593564], 0x10
cmovae eax, dword [0x593550]
push eax
push edi
push edx
push ecx
push dword [ebp - 0x174]
call fcn.0041dad0
lea ecx, [ebp - 0x64]
call fcn.00403280
add esp, 0x18
test al, al
jne 0x41422e
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x414197
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41418d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0x10
jb 0x4141dd
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4141d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x414a00
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41421d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
xor al, al
jmp 0x414966
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
mov dword [ebp - 0x16c], esp
push eax
call fcn.00405790
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.00405790
mov byte [ebp - 4], 2
call fcn.0041f470
add esp, 0x30
test al, al
jne 0x414333
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x41429c
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414292
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0x10
jb 0x4142e2
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4142d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x414a00
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414322
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
xor al, al
jmp 0x414966
mov edi, dword [ebp - 0x180]
mov eax, dword [ebp - 0x178]
mov esi, dword [ebp - 0x184]
mov ecx, esi
push 0
mov dword [edi], 0
push 0x58685b
mov dword [eax], 0
call fcn.0041ba10
mov eax, dword [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x238]
mov dword [eax], 0
call fcn.004064e0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x228]
push dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x4c]
call fcn.0041dd70
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x168]
call fcn.00411e00
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x58784c
mov dword [ebp - 0x170], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x130]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 7
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xd4], 0x58
movlpd qword [ebp - 0x138], xmm0
call fcn.00406f30
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x144], eax
lea ecx, [ebp - 0x130]
call fcn.0041b900
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x238]
mov dword [ebp - 0x70], 0xf
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0xb
push eax
mov ecx, eax
mov dword [ebp - 0x6c], 0
call fcn.004125c0
mov eax, dword [0x5875bc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0xc
movq xmm0, qword [str.game_version]
mov dword [ebp - 0x20], 0xf
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x168]
call fcn.0041a5c0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405790
call fcn.00405340
mov byte [ebp - 4], 0xc
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [edi], eax
cmp ecx, 0x10
jb 0x41452f
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414525
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a0c
push ecx
push edx
call fcn.004f92ad
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push 0x20
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
call fcn.004f952f
movups xmm0, xmmword [str.launcher_version]
mov dword [ebp - 0x34], eax
add esp, 4
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x20], 0x1f
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x168]
call fcn.0041a5c0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405790
call fcn.00405340
mov ecx, dword [ebp - 0x178]
add esp, 0x18
mov byte [ebp - 4], 0xc
mov dword [ecx], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x4145d3
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4145c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a11
push ecx
push edx
call fcn.004f92ad
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push 0x20
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
call fcn.004f952f
movups xmm0, xmmword [str.launcher_checksum]
mov dword [ebp - 0x34], eax
add esp, 4
mov dword [ebp - 0x24], 0x11
mov dword [ebp - 0x20], 0x1f
movups xmmword [eax], xmm0
mov cl, byte [0x5875e8]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x168]
call fcn.0041a5c0
cmp esi, eax
je 0x414646
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41463b
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.0041ba10
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x41467e
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414674
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a16
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov eax, dword [0x5875f4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], eax
movq xmm0, qword [str.launcher_size]
mov al, byte [0x5875f8]
mov dword [ebp - 0x24], 0xd
mov dword [ebp - 0x20], 0xf
movq qword [ebp - 0x34], xmm0
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x168]
call fcn.0041a5c0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405790
call fcn.00405340
mov esi, dword [ebp - 0x174]
add esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x20]
mov dword [esi + 4], eax
cmp ecx, 0x10
jb 0x41471b
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414711
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a1b
push ecx
push edx
call fcn.004f92ad
add esp, 8
push 0x17
push str.Actualizare_autopatcher
lea ecx, [esi + 0x18]
call fcn.0040eb10
mov eax, dword [0x587634]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], eax
movq xmm0, qword [str.update_servers]
mov ax, word [0x587638]
mov dword [ebp - 0x24], 0xe
mov dword [ebp - 0x20], 0xf
movq qword [ebp - 0x34], xmm0
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x168]
call fcn.0041a5c0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405790
call fcn.00405340
mov ecx, dword [ebp - 0x17c]
add esp, 0x18
mov byte [ebp - 4], 0xc
mov dword [ecx], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x4147c8
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4147be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a20
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x414803
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4147f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a25
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x144], eax
lea ecx, [ebp - 0x130]
call fcn.0041a250
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x144], eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x12
push eax
mov dword [ebp - 0xd0], vtable.std::ios_base.0
call fcn.004f8614
add esp, 4
lea ecx, [ebp - 0x168]
call fcn.00411f20
lea ecx, [ebp - 0x238]
call fcn.00405bb0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x4148d8
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4148ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0x10
jb 0x41491e
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414914
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x414964
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41495a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a2a
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004f929f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x28
xor al, al
jmp 0x414966
call fcn.00402f70
call fcn.004febef
call fcn.004febef
call fcn.004febef
call fcn.004febef
call fcn.004febef
call fcn.004febef
call fcn.004febef
int3