Function at 0x402560
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Hide graphical window
Query or enumerate registry value
Terminate process

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 0x42872b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10e8
call fcn.00427f20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10f4], edx
mov eax, ecx
mov dword [ebp - 0x10f0], eax
push 0x435bf8
mov dword [ebp - 0xe3c], 0
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push str._sReleasephysx27GameApp.exe
push 0x4371d8
mov dword [0x4371d0], eax
call edi
add esp, 0xc
push 0x4371d8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402671
lea eax, [ebp - 0xe3c]
mov dword [ebp - 0xe3c], 0x104
push eax
push 0x435bf8
push 0
push 0x20000002
push str.PathRoot
push str.SOFTWARETencentQQ
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4026c4
push 0x435bf8
push str._sReleasephysx27GameApp.exe
push 0x4371d8
call edi
add esp, 0xc
lea eax, [ebp - 0xe38]
push 0x435bf8
push 0x430e4c
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xe38]
push 0x10
push 0x437478
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
test eax, eax
jne 0x4032ed
push 0x104
lea eax, [ebp - 0x430]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x638]
push str._siniLoaderBG2.bmp
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4026dd
lea eax, [ebp - 0x638]
jmp 0x4026fb
push 0x10
push 0x437478
push 0x430e7c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4032ed
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0xe38]
push str._sLoaderLoaderBG.bmp
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xe38]
push 0x2010
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
push 0
mov dword [0x4373e4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [0x4373e4]
mov dword [0x437540], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
lea eax, [ebp - 0xf48]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0xf48], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0xf40]
add eax, 0xfffffed4
cdq
push 0
push dword [ebp - 0x10f0]
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0xf3c]
push 0
push 0
push 0xc8
lea eax, [eax - 0xc8]
sar esi, 1
cdq
push 0x12c
sub eax, edx
sar eax, 1
push eax
push esi
push closesocket
push 0x437478
push str.QQSpeed
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4032ed
push dword [ebp - 0x10f4]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0xe38]
push str.RunSpeedGameEvent__d
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xe38]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4373e0], eax
test eax, eax
jne 0x402800
push 0x10
push 0x437478
push 0x430f38
jmp 0x4032de
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0xe38]
push 0x430f48
push eax
call edi
add esp, 0xc
mov dword [ebp - 0x10d4], 0
lea eax, [ebp - 0xe38]
mov dword [ebp - 0x10b4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x10d8], eax
lea eax, [ebp - 0x10ec]
movlpd qword [ebp - 0x10cc], xmm0
push eax
movlpd qword [ebp - 0x10c4], xmm0
movlpd qword [ebp - 0x10bc], xmm0
mov dword [ebp - 0x10ec], 0x3c
mov dword [ebp - 0x10e8], 0x40
mov dword [ebp - 0x10e4], 0
mov dword [ebp - 0x10e0], str.runas
mov dword [ebp - 0x10dc], 0x4371d8
mov dword [ebp - 0x10d0], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4032d2
mov eax, dword [ebp - 0x10b4]
mov dword [0x437474], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0xe38]
push str.KartMap_Shared__d
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xe38]
push eax
push 0xa17
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x437470], eax
test eax, eax
jne 0x4028f7
push 0x10
push eax
push 0x430f90
jmp 0x4032de
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x4371d4], eax
test eax, eax
jne 0x402929
push dword [0x437470]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push 0
push 0x430fb4
jmp 0x4032de
mov ecx, esi
call fcn.00408460
mov ecx, dword [0x4373e8]
test ecx, ecx
jne 0x40296a
mov eax, dword [0x437474]
test eax, eax
je 0x4032e6
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [0x437474]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x437474], 0
jmp 0x4032e6
mov eax, dword [0x4371d4]
push 0
push 5
mov dword [eax], esi
mov dword [eax + 8], ecx
mov dword [eax + 0x34], 1
lea eax, [ebp - 0x228]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test eax, eax
je 0x4029b5
mov eax, dword [0x4371d4]
lea ecx, [ebp - 0x228]
push dword [eax + 8]
add eax, 0x38
push ecx
push str._sQQ
push eax
call esi
add esp, 0x10
mov eax, dword [0x4371d4]
push 0x4373f0
mov dword [eax + 0x13c], 0
movups xmm0, xmmword [str.wobushicheshen]
movups xmmword [eax + 0x1c0], xmm0
add eax, 0x1d4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4029e8
sub edx, eax
mov eax, dword [0x4371d4]
mov dword [eax + 0x1d0], edx
add eax, 0x38
push eax
lea eax, [ebp - 0x120]
push 0x430ff8
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x10b0]
push 0xb8
push 0
push eax
call fcn.0040b0c0
xorps xmm0, xmm0
mov dword [ebp - 0x10b0], 0x431154
movups xmmword [ebp - 0x1038], xmm0
mov dword [ebp - 0x1018], 0
movlpd qword [ebp - 0x1028], xmm0
movlpd qword [ebp - 0x1020], xmm0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x1008], 0
mov dword [ebp - 0x1004], 0
mov byte [ebp - 0x1000], 0
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10a0]
mov dword [ebp - 0xe3c], 1
lea ecx, [ebp - 0x1040]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x1044], 0x58
push eax
movlpd qword [ebp - 0x10a8], xmm0
call fcn.00406340
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10b0]
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 - 0x10b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x10b4], eax
lea ecx, [ebp - 0x10a0]
call fcn.00405d50
push ecx
push 1
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10a0]
call fcn.00405bd0
test eax, eax
jne 0x402b42
mov eax, dword [ebp - 0x10b0]
lea ecx, [ebp - 0x10b0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402360
push 0xb0
lea eax, [ebp - 0xf38]
mov dword [ebp - 4], 4
push 0
push eax
call fcn.0040b0c0
xorps xmm0, xmm0
mov dword [ebp - 0xf38], 0x4310fc
mov dword [ebp - 0xf28], 0x4310e4
movups xmmword [ebp - 0xec8], xmm0
mov dword [ebp - 0xea8], 0
movlpd qword [ebp - 0xeb8], xmm0
movlpd qword [ebp - 0xeb0], xmm0
mov dword [ebp - 0xea4], 0
mov dword [ebp - 0xea0], 0
mov dword [ebp - 0xe98], 0
mov dword [ebp - 0xe94], 0
mov byte [ebp - 0xe90], 0
add esp, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0xf20]
mov dword [ebp - 0xe3c], 5
lea ecx, [ebp - 0xed0]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xed4], 0x50
push eax
movlpd qword [ebp - 0xf30], xmm0
call fcn.00406340
mov eax, dword [ebp - 0xf28]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf28]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xf2c], eax
mov eax, dword [ebp - 0xf38]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf38]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xf3c], eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0xf38]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf38]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf3c], eax
lea ecx, [ebp - 0xf20]
call fcn.00406270
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xee8], 0
mov dword [ebp - 0xee4], 0
lea eax, [ebp - 0x10a0]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xf28]
call fcn.00404020
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
mov eax, dword [ebp - 0xee4]
and al, 0x22
mov dword [ebp - 0xe44], 0
mov dword [ebp - 0xe40], 0xf
mov dword [ebp - 0xe3c], 0x85
movq qword [ebp - 0xe78], xmm0
mov dword [ebp - 0xe70], 0
movups xmmword [ebp - 0xe54], xmm0
mov byte [ebp - 0xe54], 0
cmp al, 2
je 0x402d33
mov eax, dword [ebp - 0xf00]
mov ecx, dword [eax]
test ecx, ecx
je 0x402d33
mov eax, dword [ebp - 0xf10]
cmp ecx, dword [ebp - 0xee8]
cmovb ecx, dword [ebp - 0xee8]
mov edx, dword [eax]
sub ecx, edx
jmp 0x402d6a
test byte [ebp - 0xee4], 4
jne 0x402d5e
mov eax, dword [ebp - 0xf04]
mov esi, dword [eax]
test esi, esi
je 0x402d5e
mov eax, dword [ebp - 0xf14]
mov edx, dword [eax]
mov eax, dword [ebp - 0xef4]
mov ecx, dword [eax]
add ecx, esi
sub ecx, edx
jmp 0x402d6a
mov ecx, dword [ebp - 0xe74]
mov edx, dword [ebp - 0xe78]
test edx, edx
je 0x402d7b
push ecx
push edx
lea ecx, [ebp - 0xe54]
call fcn.004064e0
lea ecx, [ebp - 0x10a0]
mov dword [ebp - 4], 0xd
call fcn.00405af0
test eax, eax
jne 0x402dba
mov eax, dword [ebp - 0x10b0]
lea ecx, [ebp - 0x10b0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402360
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0xe5c], 0
push str.Framelimit30
lea ecx, [ebp - 0xe6c]
mov dword [ebp - 0xe58], 0
movups xmmword [ebp - 0xe6c], xmm0
call fcn.00406870
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xe84]
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0xe74], 0
push str.Framelimit40
movups xmmword [ebp - 0xe84], xmm0
mov dword [ebp - 0xe70], 0
call fcn.00406870
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe6c]
cmp dword [ebp - 0xe58], 0xf
lea edx, [ebp - 0xe54]
mov edi, dword [ebp - 0xe6c]
mov esi, dword [ebp - 0xe5c]
cmova ecx, edi
cmp dword [ebp - 0xe40], 0xf
mov eax, dword [ebp - 0xe44]
cmova edx, dword [ebp - 0xe54]
mov dword [ebp - 0x10f4], ecx
mov dword [ebp - 0x10f8], edx
cmp esi, eax
ja 0x402f6a
sub eax, esi
test esi, esi
jne 0x402e79
xor edi, edi
jmp 0x402f3c
movsx ecx, byte [ecx]
inc eax
add eax, edx
mov dword [ebp - 0xe3c], ecx
mov dword [ebp - 0x10f0], eax
sub eax, edx
push eax
push ecx
push edx
call fcn.0040b7b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x402f64
mov edx, dword [ebp - 0x10f4]
mov ecx, edi
sub esi, 4
jb 0x402ec1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402ec6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402eb0
cmp esi, 0xfffffffc
je 0x402efa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402ef3
cmp esi, 0xfffffffd
je 0x402efa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402ef3
cmp esi, 0xfffffffe
je 0x402efa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402ef3
cmp esi, 0xffffffff
je 0x402efa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x402efa
sbb eax, eax
or eax, 1
jmp 0x402efc
xor eax, eax
test eax, eax
je 0x402f2b
mov eax, dword [ebp - 0x10f0]
inc edi
sub eax, edi
push eax
push dword [ebp - 0xe3c]
push edi
call fcn.0040b7b0
mov esi, dword [ebp - 0xe5c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x402ea2
jmp 0x402f64
sub edi, dword [ebp - 0x10f8]
cmp edi, 0xffffffff
je 0x402f64
mov esi, dword [ebp - 0xe5c]
cmp dword [ebp - 0xe70], 0xf
lea eax, [ebp - 0xe84]
push dword [ebp - 0xe74]
cmova eax, dword [ebp - 0xe84]
lea ecx, [ebp - 0xe54]
push eax
push esi
push edi
call fcn.00405e70
mov edi, dword [ebp - 0xe6c]
push 0xb0
lea eax, [ebp - 0xff8]
push 0
push eax
call fcn.0040b0c0
xorps xmm0, xmm0
mov dword [ebp - 0xff8], 0x4310fc
movups xmmword [ebp - 0xf88], xmm0
mov dword [ebp - 0xf68], 0
movlpd qword [ebp - 0xf78], xmm0
movlpd qword [ebp - 0xf70], xmm0
mov dword [ebp - 0xf64], 0
mov dword [ebp - 0xf60], 0
mov dword [ebp - 0xf58], 0
mov dword [ebp - 0xf54], 0
mov byte [ebp - 0xf50], 0
add esp, 8
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xff4]
mov dword [ebp - 0xe3c], 0x145
lea ecx, [ebp - 0xf90]
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xf94], 0x60
push eax
call fcn.00406340
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0xff8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xff8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xffc], eax
lea ecx, [ebp - 0xff4]
call fcn.00405d50
push ecx
push 2
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xff4]
call fcn.00405bd0
test eax, eax
jne 0x403090
mov eax, dword [ebp - 0xff8]
lea ecx, [ebp - 0xff8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402360
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0xe54]
cmp dword [ebp - 0xe40], 0xf
lea ecx, [ebp - 0xff8]
push dword [ebp - 0xe44]
cmova edx, dword [ebp - 0xe54]
call fcn.00406da0
add esp, 4
lea ecx, [ebp - 0xff4]
call fcn.00405af0
test eax, eax
jne 0x4030f4
mov eax, dword [ebp - 0xff8]
lea ecx, [ebp - 0xff8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402360
push dword [0x4373e0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0xff8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xff8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xffc], eax
lea ecx, [ebp - 0xff4]
call fcn.00404f30
mov eax, dword [ebp - 0xff8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xff8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xffc], eax
lea eax, [ebp - 0xf90]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040a0db
mov byte [ebp - 4], 0xe
add esp, 4
mov ecx, dword [ebp - 0xe70]
cmp ecx, 0xf
jbe 0x4031b4
mov edx, dword [ebp - 0xe84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4031aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40330d
push ecx
push edx
call fcn.004090af
add esp, 8
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xe58]
cmp eax, 0xf
jbe 0x4031ee
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4031e4
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40330d
push ecx
push edi
call fcn.004090af
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xe40]
cmp ecx, 0xf
jbe 0x40322c
mov edx, dword [ebp - 0xe54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403222
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40330d
push ecx
push edx
call fcn.004090af
add esp, 8
lea ecx, [ebp - 0xf38]
mov dword [ebp - 0xe44], 0
mov dword [ebp - 0xe40], 0xf
mov byte [ebp - 0xe54], 0
call fcn.004033b0
mov eax, dword [ebp - 0x10b0]
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 - 0x10b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x10b4], eax
lea ecx, [ebp - 0x10a0]
call fcn.00404f30
mov eax, dword [ebp - 0x10b0]
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 - 0x10b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x10b4], eax
lea eax, [ebp - 0x1040]
mov dword [ebp - 4], 0x16
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040a0db
add esp, 4
mov eax, 1
jmp 0x4032ef
push 0x10
push 0x437478
push 0x430f5c
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call eax
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00408e6f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040fc4a
int3