Function at 0x402490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4155dc
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x500], ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4fc], edi
mov dword [ebp - 0x508], eax
mov eax, ecx
cmp dword [ecx + 0x14], 0xf
mov dword [ebp - 0x588], ecx
mov dword [ebp - 0x4f8], edi
jbe 0x4024ed
mov eax, dword [ecx]
push 0x41b974
push eax
call fcn.00408e83
mov esi, eax
add esp, 8
mov dword [ebp - 0x4fc], esi
test esi, esi
jne 0x4026b3
xor al, al
nop dword [eax]
test al, al
jne 0x402555
mov eax, dword [0x416228]
push dword [eax]
lea eax, [ebp - 0x578]
push eax
call dword [0x4162f0]
push eax
mov dword [ebp - 4], 0
or edi, 1
push 1
mov dword [ebp - 0x4f8], edi
mov dword [ebp - 0x4fc], edi
call dword [0x41625c]
add esp, 0x10
mov byte [ebp - 0x4f1], 1
test al, al
jne 0x40255c
mov byte [ebp - 0x4f1], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4f8]
test al, 1
je 0x402582
and eax, 0xfffffffe
lea ecx, [ebp - 0x578]
mov dword [ebp - 0x4f8], eax
call dword [0x416268]
cmp byte [ebp - 0x4f1], 0
je 0x4028e1
push str.Erro_ao_abrir_o_arquivo_.zip_para_leitura.
lea ecx, [ebp - 0x24]
call dword [0x416280]
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov eax, dword [0x416228]
mov eax, dword [eax]
mov dword [ebp - 0x558], 1
mov dword [ebp - 0x550], str.C:UsersItaloDesktopLAUNCHER_2K24_sourceDownloader.cpp
mov dword [ebp - 0x548], str.Downloader::extractZip
mov dword [ebp - 0x54c], 0x81
mov dword [ebp - 0x544], eax
movlpd qword [ebp - 0x540], xmm0
movlpd qword [ebp - 0x538], xmm0
call dword [0x416204]
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x52c], 0
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 2
call dword [0x416278]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call dword [0x41627c]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.00401570
add esp, 8
lea ecx, [ebp - 0x528]
call dword [0x416268]
mov esi, dword [ebp - 0x52c]
test esi, esi
je 0x402696
mov byte [ebp - 4], 4
mov edi, dword [0x416210]
push 0x401470
push dword [esi + 0x10]
push dword [esi + 0x14]
call edi
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call dword [0x416260]
mov byte [ebp - 4], 5
push 0x4014a0
push dword [esi]
push dword [esi + 4]
call edi
push dword [esi]
mov dword [esi + 8], 0
call dword [0x416260]
push 0x20
push esi
call fcn.0040573a
add esp, 0x28
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call dword [0x416264]
mov edi, dword [ebp - 0x4f8]
mov al, 1
jmp 0x402510
push 2
push 0
push esi
call fcn.0040954a
push esi
call fcn.00408d9c
push 0
push 0
push dword [ebp - 0x4fc]
mov esi, eax
call fcn.0040954a
push esi
call fcn.00409e38
push dword [ebp - 0x4fc]
mov dword [ebp - 0x504], eax
push esi
push 1
push eax
call fcn.00409a77
push dword [ebp - 0x4fc]
call fcn.00408fbf
push 0x50
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00406c60
add esp, 0x40
lea eax, [ebp - 0x98]
push 0
push esi
push dword [ebp - 0x504]
push eax
call dword [0x416154]
add esp, 0x10
test eax, eax
jne 0x4028fe
xor al, al
test al, al
jne 0x402775
mov eax, dword [0x416228]
push dword [eax]
lea eax, [ebp - 0x578]
push eax
call dword [0x4162f0]
push eax
mov dword [ebp - 4], 6
or edi, 2
push 1
mov dword [ebp - 0x4f8], edi
mov dword [ebp - 0x4fc], edi
call dword [0x41625c]
add esp, 0x10
mov byte [ebp - 0x4f1], 1
test al, al
jne 0x40277c
mov byte [ebp - 0x4f1], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4f8]
test al, 2
je 0x4027a2
and eax, 0xfffffffd
lea ecx, [ebp - 0x578]
mov dword [ebp - 0x4f8], eax
call dword [0x416268]
cmp byte [ebp - 0x4f1], 0
je 0x4028d3
push str.Erro_ao_inicializar_o_objeto_miniz_para_leitura_do_arquivo_.zip.
lea ecx, [ebp - 0x24]
call dword [0x416280]
mov dword [ebp - 4], 7
xorps xmm0, xmm0
mov eax, dword [0x416228]
mov eax, dword [eax]
mov dword [ebp - 0x558], 1
mov dword [ebp - 0x550], str.C:UsersItaloDesktopLAUNCHER_2K24_sourceDownloader.cpp
mov dword [ebp - 0x548], str.Downloader::extractZip
mov dword [ebp - 0x54c], 0x95
mov dword [ebp - 0x544], eax
movlpd qword [ebp - 0x540], xmm0
movlpd qword [ebp - 0x538], xmm0
call dword [0x416204]
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x52c], 0
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 8
call dword [0x416278]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call dword [0x41627c]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.00401570
add esp, 8
lea ecx, [ebp - 0x528]
call dword [0x416268]
mov esi, dword [ebp - 0x52c]
test esi, esi
je 0x4028b6
mov byte [ebp - 4], 0xa
mov edi, dword [0x416210]
push 0x401470
push dword [esi + 0x10]
push dword [esi + 0x14]
call edi
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call dword [0x416260]
mov byte [ebp - 4], 0xb
push 0x4014a0
push dword [esi]
push dword [esi + 4]
call edi
push dword [esi]
mov dword [esi + 8], 0
call dword [0x416260]
push 0x20
push esi
call fcn.0040573a
add esp, 0x28
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call dword [0x416264]
mov edi, dword [ebp - 0x4f8]
mov al, 1
jmp 0x402730
push dword [ebp - 0x504]
call fcn.00409883
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004055e7
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x508]
lea ecx, [ebp - 0x578]
call dword [0x41626c]
push 1
lea eax, [ebp - 0x578]
mov dword [ebp - 4], 0xc
push 0x1ff
push eax
call dword [0x416230]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x578]
call dword [0x416268]
lea eax, [ebp - 0x98]
xor esi, esi
push eax
mov dword [ebp - 0x4fc], esi
call dword [0x41615c]
add esp, 4
test eax, eax
je 0x402f2d
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x98]
push esi
push eax
call dword [0x416160]
add esp, 0xc
test eax, eax
je 0x40310c
mov edx, dword [ebp - 0x508]
lea ecx, [ebp - 0x570]
push 0x41b830
call fcn.00403530
mov edx, eax
add esp, 4
mov dword [ebp - 0x57c], edx
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 4], 0x13
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4029b2
mov eax, dword [edx + 0x14]
sub ecx, esi
mov esi, dword [edx + 0x10]
sub eax, esi
mov dword [ebp - 0x4f8], ecx
cmp ecx, eax
ja 0x402a02
cmp dword [edx + 0x14], 0xf
lea eax, [esi + ecx]
mov dword [edx + 0x10], eax
mov eax, edx
jbe 0x4029dd
mov eax, dword [edx]
add esi, eax
lea eax, [ebp - 0x4a0]
push ecx
push eax
push esi
call fcn.004080d0
mov eax, dword [ebp - 0x4f8]
add esp, 0xc
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x57c]
jmp 0x402a1f
push ecx
lea eax, [ebp - 0x4a0]
mov byte [ebp - 0x584], 0
push eax
push dword [ebp - 0x584]
push ecx
mov ecx, edx
call fcn.00403810
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
or edi, 0x20
movups xmm0, xmmword [eax]
mov dword [ebp - 0x4f8], edi
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x55c]
cmp ecx, 0xf
jbe 0x402a9d
mov edx, dword [ebp - 0x570]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032b3
push ecx
push edx
call fcn.0040573a
add esp, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x560], 0
push eax
lea ecx, [ebp - 0x5a8]
mov dword [ebp - 0x55c], 0xf
mov byte [ebp - 0x570], 0
call dword [0x41626c]
push 0
lea eax, [ebp - 0x5a8]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x620]
call dword [0x41624c]
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x17
push ecx
mov ecx, eax
call dword [0x41622c]
push 1
push 0x1ff
push eax
mov byte [ebp - 4], 0x18
call dword [0x416230]
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [0x416268]
lea ecx, [ebp - 0x620]
call dword [0x416248]
lea ecx, [ebp - 0x5a8]
mov byte [ebp - 4], 0x15
call dword [0x416268]
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
mov esi, dword [ebp - 0x4fc]
cmova eax, dword [ebp - 0x48]
push 0
push eax
lea eax, [ebp - 0x98]
push esi
push eax
call dword [0x416158]
add esp, 0x10
test eax, eax
je 0x402d50
lea eax, [esi + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x4fc], eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x41d1d0]
lea eax, [ebp - 0x98]
push eax
mulsd xmm0, qword [0x41d1c0]
movsd qword [ebp - 0x580], xmm0
call dword [0x41615c]
movsd xmm1, qword [ebp - 0x580]
add esp, 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x41d1d0]
mov eax, dword [ebp - 0x500]
divsd xmm1, xmm0
mov ecx, dword [eax]
cvttsd2si esi, xmm1
test ecx, ecx
je 0x402c29
mov eax, dword [ecx]
push 0x64
call dword [eax + 0x3cc]
mov eax, dword [ebp - 0x500]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x3d4]
push 0xff
push 0
push 0xff
push 0xff
lea ecx, [ebp - 0x24]
call dword [0x416a28]
mov eax, dword [ebp - 0x500]
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0x1f
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x1b0]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call dword [0x416a2c]
mov eax, dword [ebp - 0x500]
cmp dword [eax + 4], 0
je 0x402cec
push str.Instalando:__d___concluido
lea ecx, [ebp - 0x24]
call dword [0x416280]
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x20
call dword [0x416244]
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x402c93
mov eax, dword [0x416214]
cmp dword [eax], 0
je 0x402c93
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatStringSpecifier_T_::value____argtype
push str.wxArgNormalizer_int_::wxArgNormalizer
push 0x1e4
push str.C:UsersItaloDesktopLAUNCHER_2K24_vcpkg_installedx86_windowsx86_windowsincludewx_strvararg.h
call dword [0x416208]
mov eax, dword [0x416234]
add esp, 0x14
cmp byte [eax], 0
je 0x402c93
mov byte [eax], 0
int3
push esi
lea ecx, [ebp - 0x24]
call dword [0x41627c]
push eax
lea eax, [ebp - 0x5a8]
push eax
call dword [0x4161f4]
or edi, 0x40
add esp, 0xc
mov dword [ebp - 0x4f8], edi
push 0
lea eax, [ebp - 0x5a8]
mov byte [ebp - 4], 0x21
push eax
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax + 4]
call dword [0x416a34]
lea ecx, [ebp - 0x5a8]
call dword [0x416268]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call dword [0x416264]
call dword [0x416a30]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x402d2d
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032b3
push ecx
push edx
call fcn.0040573a
add esp, 8
lea eax, [ebp - 0x98]
push eax
call dword [0x41615c]
mov esi, dword [ebp - 0x4fc]
add esp, 4
cmp esi, eax
jb 0x402961
jmp 0x402f2d
xor al, al
test al, al
jne 0x402d94
mov eax, dword [0x416228]
push dword [eax]
lea eax, [ebp - 0x5a8]
push eax
call dword [0x4162f0]
push eax
mov byte [ebp - 4], 0x19
or edi, 8
push 1
mov dword [ebp - 0x4f8], edi
mov dword [ebp - 0x4fc], edi
call dword [0x41625c]
add esp, 0x10
mov byte [ebp - 0x4f1], 1
test al, al
jne 0x402d9b
mov byte [ebp - 0x4f1], 0
mov dword [ebp - 4], 0x15
mov eax, dword [ebp - 0x4f8]
test al, 8
je 0x402dc1
and eax, 0xfffffff7
lea ecx, [ebp - 0x5a8]
mov dword [ebp - 0x4f8], eax
call dword [0x416268]
cmp byte [ebp - 0x4f1], 0
je 0x402eec
push str.Erro_ao_extrair_o_arquivo_do_arquivo_.zip.
lea ecx, [ebp - 0x24]
call dword [0x416280]
mov byte [ebp - 4], 0x1a
xorps xmm0, xmm0
mov eax, dword [0x416228]
mov eax, dword [eax]
mov dword [ebp - 0x558], 1
mov dword [ebp - 0x550], str.C:UsersItaloDesktopLAUNCHER_2K24_sourceDownloader.cpp
mov dword [ebp - 0x548], str.Downloader::extractZip
mov dword [ebp - 0x54c], 0xb0
mov dword [ebp - 0x544], eax
movlpd qword [ebp - 0x540], xmm0
movlpd qword [ebp - 0x538], xmm0
call dword [0x416204]
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x52c], 0
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 0x1b
call dword [0x416278]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1c
call dword [0x41627c]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.00401570
add esp, 8
lea ecx, [ebp - 0x528]
call dword [0x416268]
mov esi, dword [ebp - 0x52c]
test esi, esi
je 0x402ed2
mov byte [ebp - 4], 0x1d
mov edi, dword [0x416210]
push 0x401470
push dword [esi + 0x10]
push dword [esi + 0x14]
call edi
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call dword [0x416260]
mov byte [ebp - 4], 0x1e
push 0x4014a0
push dword [esi]
push dword [esi + 4]
call edi
push dword [esi]
mov dword [esi + 8], 0
call dword [0x416260]
push 0x20
push esi
call fcn.0040573a
add esp, 0x28
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call dword [0x416264]
mov edi, dword [ebp - 0x4f8]
mov al, 1
jmp 0x402d52
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x402f27
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402f1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032b3
push ecx
push edx
call fcn.0040573a
add esp, 8
mov edi, dword [ebp - 0x4f8]
lea eax, [ebp - 0x98]
push eax
call dword [0x416150]
push dword [ebp - 0x504]
call fcn.00409883
add esp, 8
lea ecx, [ebp - 0x578]
push str.Arquivos_instalados_com_sucesso.
call dword [0x416274]
push 0
lea eax, [ebp - 0x578]
mov dword [ebp - 4], 0x23
push eax
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax + 4]
call dword [0x416a34]
lea ecx, [ebp - 0x578]
mov dword [ebp - 4], 0xffffffff
call dword [0x416268]
mov eax, dword [ebp - 0x588]
cmp dword [eax + 0x14], 0xf
jbe 0x402f99
mov eax, dword [eax]
push eax
call fcn.004091f7
add esp, 4
test eax, eax
je 0x4028e1
xor al, al
nop dword [eax]
test al, al
jne 0x402ff5
mov eax, dword [0x416228]
push dword [eax]
lea eax, [ebp - 0x578]
push eax
call dword [0x4162f0]
push eax
mov dword [ebp - 4], 0x24
or edi, 0x10
push 1
mov dword [ebp - 0x4f8], edi
mov dword [ebp - 0x4fc], edi
call dword [0x41625c]
add esp, 0x10
mov byte [ebp - 0x4f1], 1
test al, al
jne 0x402ffc
mov byte [ebp - 0x4f1], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4f8]
test al, 0x10
je 0x403022
and eax, 0xffffffef
lea ecx, [ebp - 0x578]
mov dword [ebp - 0x4f8], eax
call dword [0x416268]
cmp byte [ebp - 0x4f1], 0
je 0x4028e1
push str.Erro_ao_excluir_o_arquivo_update.zip.
lea ecx, [ebp - 0x59c]
call dword [0x416280]
mov dword [ebp - 4], 0x25
xorps xmm0, xmm0
mov eax, dword [0x416228]
mov eax, dword [eax]
mov dword [ebp - 0x5f8], 1
mov dword [ebp - 0x5f0], str.C:UsersItaloDesktopLAUNCHER_2K24_sourceDownloader.cpp
mov dword [ebp - 0x5e8], str.Downloader::extractZip
mov dword [ebp - 0x5ec], 0xd2
mov dword [ebp - 0x5e4], eax
movlpd qword [ebp - 0x5e0], xmm0
movlpd qword [ebp - 0x5d8], xmm0
call dword [0x416204]
mov dword [ebp - 0x5d0], eax
mov dword [ebp - 0x5cc], 0
lea ecx, [ebp - 0x5c8]
mov byte [ebp - 4], 0x26
call dword [0x416278]
lea ecx, [ebp - 0x59c]
mov byte [ebp - 4], 0x27
call dword [0x41627c]
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.00401570
add esp, 8
lea ecx, [ebp - 0x5c8]
call dword [0x416268]
lea ecx, [ebp - 0x5f0]
call fcn.004014d0
lea ecx, [ebp - 0x59c]
mov dword [ebp - 4], 0xffffffff
call dword [0x416264]
mov edi, dword [ebp - 0x4f8]
mov al, 1
jmp 0x402fb0
xor al, al
nop
test al, al
jne 0x403155
mov eax, dword [0x416228]
push dword [eax]
lea eax, [ebp - 0x578]
push eax
call dword [0x4162f0]
push eax
mov dword [ebp - 4], 0xd
or edi, 4
push 1
mov dword [ebp - 0x4f8], edi
mov dword [ebp - 0x4fc], edi
call dword [0x41625c]
add esp, 0x10
mov byte [ebp - 0x4f1], 1
test al, al
jne 0x40315c
mov byte [ebp - 0x4f1], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4f8]
test al, 4
je 0x403182
and eax, 0xfffffffb
lea ecx, [ebp - 0x578]
mov dword [ebp - 0x4f8], eax
call dword [0x416268]
cmp byte [ebp - 0x4f1], 0
je 0x402f27
push str.Erro_ao_obter_estatisticas_do_arquivo_no_arquivo_.zip.
lea ecx, [ebp - 0x24]
call dword [0x416280]
mov dword [ebp - 4], 0xe
xorps xmm0, xmm0
mov eax, dword [0x416228]
mov eax, dword [eax]
mov dword [ebp - 0x558], 1
mov dword [ebp - 0x550], str.C:UsersItaloDesktopLAUNCHER_2K24_sourceDownloader.cpp
mov dword [ebp - 0x548], str.Downloader::extractZip
mov dword [ebp - 0x54c], 0xa4
mov dword [ebp - 0x544], eax
movlpd qword [ebp - 0x540], xmm0
movlpd qword [ebp - 0x538], xmm0
call dword [0x416204]
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x52c], 0
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 0xf
call dword [0x416278]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call dword [0x41627c]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.00401570
add esp, 8
lea ecx, [ebp - 0x528]
call dword [0x416268]
mov esi, dword [ebp - 0x52c]
test esi, esi
je 0x403296
mov byte [ebp - 4], 0x11
mov edi, dword [0x416210]
push 0x401470
push dword [esi + 0x10]
push dword [esi + 0x14]
call edi
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call dword [0x416260]
mov byte [ebp - 4], 0x12
push 0x4014a0
push dword [esi]
push dword [esi + 4]
call edi
push dword [esi]
mov dword [esi + 8], 0
call dword [0x416260]
push 0x20
push esi
call fcn.0040573a
add esp, 0x28
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call dword [0x416264]
mov edi, dword [ebp - 0x4f8]
mov al, 1
jmp 0x403110
call fcn.00409de7
int3