Function at 0x429a90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57916e
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x5e0ce8]
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 - 0x18c], ecx
xor eax, eax
mov byte [ebp - 0x169], 1
mov dword [ebp - 0x190], eax
mov esi, dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::FileUtils____cdecl_cocos2d::FileUtils::getInstance_void_]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x198], esi
call esi
mov edi, eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [edi]
mov edx, dword [ecx + 0x54]
mov ecx, edi
call edx
push 6
push str.cache_
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00404960
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
or dword [ebp - 0x168], 0x400
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x429b85
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429b7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429b7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00575660
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb4]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call edx
mov eax, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0xc
movq xmm0, qword [str.lbuf_data_dc]
mov esi, dword [eax + 0x38]
mov eax, dword [0x5b0280]
mov dword [ebp - 0xbc], 0xf
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0xc4], 0
push 4
push str..bin
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call fcn.00404960
mov dword [ebp - 0xa8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
or dword [ebp - 0x168], 0x800
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb8]
mov ecx, edi
push eax
lea eax, [ebp - 0xe8]
push eax
call esi
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x429ca8
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429c9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429cf3
push ecx
push edx
call fcn.00575660
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x429d03
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429cf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429cf9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00575660
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call dword [ebp - 0x198]
cmp dword [ebp - 0xd4], 0x10
lea edx, [ebp - 0xe8]
mov esi, eax
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0xe8]
mov ecx, dword [esi]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [ecx + 0x9c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x190], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429d62
sub ecx, dword [ebp - 0x190]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401930
mov byte [ebp - 4], 8
mov ecx, esi
mov eax, dword [ebp - 0x168]
or eax, 1
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x28]
push eax
call edi
test al, al
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x168]
setne al
mov byte [ebp - 0x162], al
test cl, 1
je 0x429dfc
and ecx, 0xfffffffe
mov dword [ebp - 0x168], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x429dfc
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429dec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429dec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00575660
mov al, byte [ebp - 0x162]
add esp, 8
mov edx, dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Data::constructor_void_]
test al, al
mov eax, dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Data::destructor_void_]
mov dword [ebp - 0x19c], eax
mov eax, dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::__String____cdecl_cocos2d::__String::createWithFormat_char_const__]
mov dword [ebp - 0x190], eax
mov eax, dword [sym.imp.libcocos2d.dll_public:_char_const____thiscall_cocos2d::__String::getCString_void_const]
mov dword [ebp - 0x1b4], edx
mov dword [ebp - 0x1a8], eax
je 0x42a2ca
lea ecx, [ebp - 0x17c]
call edx
mov byte [ebp - 4], 9
call dword [ebp - 0x198]
cmp dword [ebp - 0xd4], 0x10
lea edx, [ebp - 0xe8]
mov esi, eax
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0xe8]
mov ecx, dword [esi]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [ecx + 0x14]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x184], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429e80
sub ecx, dword [ebp - 0x184]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401930
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call edi
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.libcocos2d.dll_public:_class_cocos2d::Data____thiscall_cocos2d::Data::operator_class_cocos2d::Data__]
lea ecx, [ebp - 0x60]
call dword [ebp - 0x19c]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x429efd
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429ef3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429ef3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00575660
add esp, 8
mov edi, dword [ebp - 0x18c]
lea ecx, [ebp - 0x17c]
lea esi, [edi + 0x2328]
mov dword [ebp - 0x194], esi
call dword [sym.imp.libcocos2d.dll_public:_long_int___thiscall_cocos2d::Data::getSize_void_const]
push eax
lea ecx, [ebp - 0x17c]
call dword [sym.imp.libcocos2d.dll_public:_unsigned_char____thiscall_cocos2d::Data::getBytes_void_const]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [edi + 0x30958]
xor esi, esi
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x184], esi
nop word [eax + eax]
mov eax, dword [str._d.bin]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], eax
mov ax, word [0x5b02c0]
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x14], 0xf
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
mov eax, dword [0x5b0280]
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0xc
movq xmm0, qword [str.lbuf_data_dc]
mov dword [ebp - 0x8c], 0xf
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0x178]
lea ecx, [ebp - 0x40]
call fcn.00406b80
or dword [ebp - 0x168], 0x40
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
push esi
cmovae eax, dword [ebp - 0x40]
push eax
call dword [ebp - 0x190]
mov byte [ebp - 4], 0xd
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov dword [ebp - 0x180], edi
cmp ecx, 0x10
jb 0x42a036
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a02c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x42a086
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a07c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x42a0be
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a0b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
call dword [ebp - 0x198]
mov esi, eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x9c]
mov ecx, edi
mov dword [ebp - 0x188], eax
call dword [ebp - 0x1a8]
mov edi, eax
mov edx, edi
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x42a0e3
mov ecx, dword [ebp - 0x48]
sub edx, eax
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, edx
jb 0x42b0e2
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push edx
cmovae eax, dword [ebp - 0x58]
push edi
push ecx
push eax
push ecx
push dword [ebp - 0x178]
lea ecx, [ebp - 0x28]
call fcn.00405fe0
or dword [ebp - 0x168], 0x80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
mov ecx, esi
call dword [ebp - 0x188]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x169], al
cmp ecx, 0x10
jb 0x42a17a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a16a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
mov al, byte [ebp - 0x169]
add esp, 8
test al, al
je 0x42a28c
call dword [ebp - 0x198]
mov edi, eax
mov ecx, dword [edi]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x188], eax
call dword [ebp - 0x1a8]
mov edx, eax
mov dword [ebp - 0x180], eax
lea esi, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x42a1b0
mov ecx, dword [ebp - 0x48]
mov eax, 0x7fffffff
sub edx, esi
sub eax, ecx
cmp eax, edx
jb 0x42b0e2
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push edx
push dword [ebp - 0x180]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
push ecx
push dword [ebp - 0x178]
lea ecx, [ebp - 0x28]
call fcn.00405fe0
or dword [ebp - 0x168], 0x200
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call dword [ebp - 0x188]
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x11
call dword [sym.imp.libcocos2d.dll_public:_class_cocos2d::Data____thiscall_cocos2d::Data::operator_class_cocos2d::Data__]
mov edi, dword [ebp - 0x19c]
lea ecx, [ebp - 0x60]
call edi
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x42a262
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a258
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
lea ecx, [ebp - 0x17c]
call dword [sym.imp.libcocos2d.dll_public:_long_int___thiscall_cocos2d::Data::getSize_void_const]
push eax
lea ecx, [ebp - 0x17c]
call dword [sym.imp.libcocos2d.dll_public:_unsigned_char____thiscall_cocos2d::Data::getBytes_void_const]
push eax
push dword [ebp - 0x170]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x42a292
mov edi, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x184]
add dword [ebp - 0x170], 0x2e630
inc esi
mov dword [ebp - 0x184], esi
cmp esi, 9
jl 0x429f50
lea ecx, [ebp - 0x17c]
mov byte [ebp - 0x169], 0
mov byte [ebp - 4], 7
call edi
jmp 0x42a64f
xor eax, eax
mov edi, 0x12
mov dword [ebp - 0x170], eax
mov esi, eax
cmp eax, edi
jg 0x42a2fd
nop dword [eax]
mov ecx, dword [ebp - 0x18c]
push eax
push esi
push str.Rooms
call fcn.004279c0
mov eax, dword [ebp - 0x170]
inc esi
cmp esi, edi
jle 0x42a2e0
inc eax
dec edi
mov dword [ebp - 0x170], eax
cmp edi, 9
jge 0x42a2d7
sub esp, 0x18
xorps xmm0, xmm0
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], 0xf
movq xmm0, qword [str.Rooms_dc]
movq qword [eax], xmm0
mov byte [eax + 8], 0
lea eax, [ebp - 0x64]
push eax
call fcn.00429200
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
cmp esi, ecx
jne 0x42a352
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor edx, edx
sub ecx, esi
mov dword [ebp - 0x170], edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42a632
xor edi, edi
mov dword [ebp - 0x184], edi
nop dword [eax + eax]
lea eax, [esi + edi]
push eax
lea ecx, [ebp - 0x118]
call fcn.004046f0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x104], 0x10
lea ecx, [ebp - 0x1a4]
mov esi, dword [ebp - 0x118]
mov edi, dword [ebp - 0x108]
cmovae eax, esi
push 0x5b02ec
setae byte [ebp - 0x161]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], edi
call fcn.00435fc0
test al, al
jne 0x42a5be
cmp byte [ebp - 0x161], 0
lea eax, [ebp - 0x118]
push str._.._
cmovne eax, esi
mov dword [ebp - 0x178], edi
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x17c], eax
call fcn.00435fc0
test al, al
jne 0x42a5be
cmp byte [ebp - 0x161], 0
lea eax, [ebp - 0x118]
push str..cpp
cmovne eax, esi
mov dword [ebp - 0x1ac], edi
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x1b0], eax
call fcn.00435fc0
test al, al
jne 0x42a5be
cmp byte [ebp - 0x161], al
lea edx, [ebp - 0x118]
cmovne edx, esi
test edi, edi
je 0x42a5be
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5f
je 0x42a47e
nop dword [eax + eax]
cmp ecx, edx
je 0x42a5be
dec ecx
cmp byte [ecx], 0x5f
jne 0x42a470
sub ecx, edx
test ecx, ecx
jle 0x42a5be
mov dl, byte [ebp - 0x161]
lea eax, [ebp - 0x118]
test dl, dl
mov dword [ebp - 0x138], 0
xorps xmm0, xmm0
mov dword [ebp - 0x134], 0
cmovne eax, esi
movups xmmword [ebp - 0x148], xmm0
movsx eax, byte [eax + ecx - 1]
sub eax, 0x30
mov dword [ebp - 0x194], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x180], eax
cmp edi, eax
jb 0x42b0dd
sub edi, eax
or ecx, 0xffffffff
cmp edi, 0xffffffff
lea eax, [ebp - 0x118]
cmovb ecx, edi
test dl, dl
push ecx
cmovne eax, esi
lea ecx, [ebp - 0x148]
add eax, dword [ebp - 0x180]
push eax
call fcn.00401930
or dword [ebp - 0x168], 0x1000
mov byte [ebp - 4], 0x14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x134], 0x10
lea esi, [ebp - 0x148]
mov edi, eax
lea eax, [ebp - 0x188]
cmovae esi, dword [ebp - 0x148]
push 0xa
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [ebp - 0x180], eax
cmp esi, dword [ebp - 0x188]
je 0x42a767
cmp dword [edi], 0x22
je 0x42a75c
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x134]
cmp ecx, 0x10
jb 0x42a5a1
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a591
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
mov eax, dword [ebp - 0x180]
add esp, 8
push dword [ebp - 0x194]
mov ecx, dword [ebp - 0x18c]
push eax
push str.Rooms_dc
call fcn.004279c0
mov esi, dword [ebp - 0x118]
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x104]
cmp eax, 0x10
jb 0x42a5f8
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x42a5ee
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push esi
call fcn.00575660
add esp, 8
mov ecx, dword [ebp - 0x60]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x64]
sub ecx, esi
mov edi, dword [ebp - 0x184]
inc dword [ebp - 0x170]
add edi, 0x18
imul ecx
mov dword [ebp - 0x184], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x170], eax
jb 0x42a380
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.004094d0
mov eax, dword [ebp - 0x18c]
add eax, 0x2328
mov dword [ebp - 0x194], eax
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xd
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.Rooms_dc_boss]
movq qword [ecx], xmm0
mov eax, dword [0x5b0318]
mov dword [ecx + 8], eax
mov al, byte [0x5b031c]
mov byte [ecx + 0xc], al
lea eax, [ebp - 0x1d0]
push eax
mov byte [ecx + 0xd], 0
call fcn.00429200
xor ecx, ecx
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x1d0]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x170], ecx
mov ecx, dword [ebp - 0x1cc]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42aac7
xor edi, edi
mov dword [ebp - 0x184], edi
nop dword [eax]
lea eax, [esi + edi]
push eax
lea ecx, [ebp - 0x88]
call fcn.004046f0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x88]
mov esi, dword [ebp - 0x74]
lea ecx, [ebp - 0x1d8]
mov edi, dword [ebp - 0x88]
cmp esi, 0x10
push 0x5b02ec
cmovae eax, edi
setae byte [ebp - 0x161]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1d4], eax
call fcn.00435fc0
cmp byte [ebp - 0x161], 0
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 0x171], al
lea eax, [ebp - 0x88]
push str._.._
je 0x42a772
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x1a0], eax
call fcn.00435fc0
mov byte [ebp - 0x162], al
mov eax, edi
jmp 0x42a792
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1a0], eax
call fcn.00435fc0
mov byte [ebp - 0x162], al
lea eax, [ebp - 0x88]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x78]
push str..cpp
mov dword [ebp - 0x5c], eax
call fcn.00435fc0
cmp byte [ebp - 0x171], 0
jne 0x42aa55
cmp byte [ebp - 0x162], 0
jne 0x42aa55
test al, al
jne 0x42aa55
cmp byte [ebp - 0x161], al
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x78]
cmovne ecx, edi
test edx, edx
je 0x42a800
or esi, 0xffffffff
lea eax, [edx - 1]
cmp eax, esi
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x5f
je 0x42a7fc
cmp esi, ecx
je 0x42a800
dec esi
cmp byte [esi], 0x5f
jne 0x42a7f2
sub esi, ecx
jmp 0x42a803
or esi, 0xffffffff
cmp edx, esi
mov dword [ebp - 0xf0], 0
mov ecx, esi
mov dword [ebp - 0xec], 0
cmovb ecx, edx
lea eax, [ebp - 0x88]
cmp byte [ebp - 0x161], 0
xorps xmm0, xmm0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x100]
push eax
movups xmmword [ebp - 0x100], xmm0
call fcn.00401930
or dword [ebp - 0x168], 0x20
lea ecx, [ebp - 0x100]
cmp dword [ebp - 0xec], 0x10
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0xf0]
setae byte [ebp - 0x171]
cmovae ecx, edx
test eax, eax
je 0x42a891
or edi, 0xffffffff
dec eax
cmp eax, edi
cmovb edi, eax
add edi, ecx
cmp byte [edi], 0x5f
je 0x42a88d
cmp edi, ecx
je 0x42a891
dec edi
cmp byte [edi], 0x5f
jne 0x42a883
sub edi, ecx
jmp 0x42a894
or edi, 0xffffffff
cmp byte [ebp - 0x171], 0
je 0x42a8cc
mov ecx, dword [ebp - 0xec]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x42a8c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
test esi, esi
jle 0x42aa4c
test edi, edi
jle 0x42aa4c
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x88]
xorps xmm0, xmm0
cmovae ecx, edx
mov dword [ebp - 0x120], 0
setae byte [ebp - 0x162]
mov dword [ebp - 0x11c], 0
movups xmmword [ebp - 0x130], xmm0
movsx eax, byte [ecx + esi - 1]
sub eax, 0x30
cmp byte [ebp - 0x162], 0
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x88]
cmovne eax, edx
inc esi
movsx eax, byte [eax + edi - 1]
sub eax, 0x30
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x78]
cmp eax, esi
jb 0x42b0dd
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp byte [ebp - 0x162], 0
lea eax, [ebp - 0x88]
cmovne eax, edx
push ecx
add eax, esi
lea ecx, [ebp - 0x130]
push eax
call fcn.00401930
or dword [ebp - 0x168], 0x100
mov byte [ebp - 4], 0x17
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov edi, eax
lea eax, [ebp - 0x180]
cmovae esi, dword [ebp - 0x130]
push 0xa
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [ebp - 0x188], eax
cmp esi, dword [ebp - 0x180]
je 0x42a767
cmp dword [edi], 0x22
je 0x42a75c
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0x10
jb 0x42aa33
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42aa23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
mov eax, dword [ebp - 0x188]
add esp, 8
push eax
push dword [ebp - 0x1ac]
push dword [ebp - 0x178]
push ecx
mov ecx, dword [ebp - 0x18c]
call fcn.00427c50
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x74]
mov byte [ebp - 4], 0x15
cmp esi, 0x10
jb 0x42aa87
inc esi
mov eax, edi
cmp esi, 0x1000
jb 0x42aa7d
mov edi, dword [eax - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push esi
push edi
call fcn.00575660
add esp, 8
mov ecx, dword [ebp - 0x1cc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1d0]
sub ecx, esi
mov edi, dword [ebp - 0x184]
inc dword [ebp - 0x170]
add edi, 0x18
imul ecx
mov dword [ebp - 0x184], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x170], eax
jb 0x42a6d0
cmp byte [ebp - 0x169], 0
je 0x42b02e
lea ecx, [ebp - 0x1c4]
call dword [ebp - 0x1b4]
mov byte [ebp - 4], 0x18
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x2e630
mov dword [ebp - 0x178], eax
call eax
push 0x2e630
push dword [ebp - 0x194]
mov esi, eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Data::fastSet_unsigned_char___long_int_]
lea ecx, [ebp - 0x1c4]
add esp, 0x10
mov dword [ebp - 0x1ac], eax
push 0x2e630
push esi
call eax
call dword [ebp - 0x198]
mov esi, eax
mov eax, 0x7fffffff
mov ecx, dword [esi]
mov edi, dword [ecx + 0x7c]
mov ecx, dword [ebp - 0x48]
sub eax, ecx
cmp eax, 0xc
jb 0x42b0e2
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 0xc
cmovae eax, dword [ebp - 0x58]
push str.lbuf_data_dc
push ecx
push eax
push ecx
push dword [ebp - 0x178]
lea ecx, [ebp - 0x160]
call fcn.00405fe0
or dword [ebp - 0x168], 0x10
push 4
push str..bin
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x19
call fcn.00404960
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
or dword [ebp - 0x168], 8
push 0x5aa4a8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x1c4]
mov ecx, esi
push eax
call edi
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x42ac12
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ac08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ac54
push ecx
push edx
call fcn.00575660
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0x10
jb 0x42ac64
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ac5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42ac5a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00575660
add esp, 8
mov edi, dword [ebp - 0x18c]
xor esi, esi
add edi, 0x30958
mov dword [ebp - 0x170], edi
nop dword [eax + eax]
lea ecx, [ebp - 0x1bc]
call dword [ebp - 0x1b4]
push 0x2e630
push dword [ebp - 0x194]
mov byte [ebp - 4], 0x1b
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x18c]
lea eax, [esi + 1]
add esp, 0xc
mov dword [ebp - 0x180], eax
push edi
push eax
call fcn.00427eb0
mov eax, dword [str._d.bin]
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb8], eax
mov ax, word [0x5b02c0]
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0xa4], 0xf
mov word [ebp - 0xb4], ax
mov byte [ebp - 0xb2], 0
mov eax, dword [0x5b0280]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xc
movq xmm0, qword [str.lbuf_data_dc]
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x178]
lea ecx, [ebp - 0x28]
call fcn.00406b80
or dword [ebp - 0x168], 4
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x190]
mov byte [ebp - 4], 0x1d
add esp, 8
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 0x10
jb 0x42ad9a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ad90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x42ade4
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42adda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x42ae22
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42ae18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
mov ecx, esi
call dword [ebp - 0x1a8]
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ae46
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00401930
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00409310
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
or dword [ebp - 0x168], 2
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x42aefa
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42aef0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
push 0x2e630
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call dword [ebp - 0x178]
push 0x2e630
push dword [ebp - 0x170]
mov edi, eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x10
lea ecx, [ebp - 0x1bc]
push 0x2e630
push edi
call dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x194]
mov ecx, edi
mov esi, 0x2e62c
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42af67
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42af50
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
call dword [ebp - 0x198]
push 0x5aa4a8
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x1bc]
push ecx
mov ecx, eax
call edx
push 0x2e630
push edi
mov edi, dword [ebp - 0x170]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov byte [ebp - 4], 0x1b
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x42afdc
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42afd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b75
push ecx
push edx
call fcn.00575660
add esp, 8
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0x18
call dword [ebp - 0x19c]
mov esi, dword [ebp - 0x180]
add edi, 0x2e630
mov dword [ebp - 0x170], edi
cmp esi, 9
jl 0x42ac80
lea ecx, [ebp - 0x1c4]
call dword [ebp - 0x19c]
lea ecx, [ebp - 0x1d0]
call fcn.004094d0
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0x10
jb 0x42b06f
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42b065
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b0b0
push ecx
push edx
call fcn.00575660
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
cmp ecx, 0x10
jb 0x42b0c0
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42b0b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42b0b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00575660
add esp, 8
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.0057516e
mov esp, ebp
pop ebp
ret 4
call fcn.00409150
call fcn.004016d0
int3