Function at 0x4cc2d0
Capabilities:
Reference sql statements

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 0x5aa215
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.00488470
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x54], eax
call fcn.0041c300
mov dword [ebp - 4], 0
call fcn.0040f860
mov esi, dword [eax + 4]
mov eax, dword fs:[0x2c]
mov esi, dword [esi]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
nop dword [eax]
mov eax, dword [0x631230]
cmp eax, dword [ecx + 4]
jg 0x4ccd94
cmp esi, dword [0x631224]
je 0x4ccd64
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x58], edi
test edi, edi
je 0x4ccd07
cmp byte [0x631c98], 0
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x4c], ecx
je 0x4cc391
mov eax, dword [0x632104]
jmp 0x4cc3c6
cmp byte [0x631c99], 0
jne 0x4cc3c4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getNumber_
push 0x406700
push 0x32
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x4c]
xor eax, eax
push eax
push ecx
push ecx
mov edx, str.SELECT__price__FROM__houses__WHERE__id__
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc3b8
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x5dc3cc
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0xe4]
or eax, 2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov eax, edx
and al, 0x22
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x74], 0
cmp al, 2
je 0x4cc473
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cc473
mov eax, dword [ebp - 0x110]
cmp ecx, dword [ebp - 0xe8]
cmovb ecx, dword [ebp - 0xe8]
mov edx, dword [eax]
sub ecx, edx
jmp 0x4cc49e
test dl, 4
jne 0x4cc498
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cc498
mov eax, dword [ebp - 0x114]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0xf4]
add ecx, dword [eax]
jmp 0x4cc49e
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
test edx, edx
je 0x4cc4ac
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00405890
mov eax, dword [ebp - 0x50]
and eax, 0xfffffffd
mov dword [ebp - 4], 0
or eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 3
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], ecx
cmp eax, 0x10
jb 0x4cc513
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cc506
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccd58
push ecx
push edx
call fcn.0045b34b
mov ecx, dword [ebp - 0x4c]
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test ecx, ecx
je 0x4cc904
mov eax, dword [0x5dc400]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x2c], eax
mov al, byte [0x5dc404]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 5
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
mov eax, dword [ecx]
mov edi, dword [edi + 0x30]
push edx
mov eax, dword [eax]
call eax
cmp eax, edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
setne al
mov byte [ebp - 0x45], al
cmp ecx, 0x10
jb 0x4cc5ae
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cc5a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccd58
push ecx
push edx
call fcn.0045b34b
mov al, byte [ebp - 0x45]
add esp, 8
mov edi, dword [ebp - 0x58]
test al, al
je 0x4cc5b9
or dword [edi + 0x3c], 0x40
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebp - 0x120]
call fcn.00405f10
and dword [ebp - 0xe4], 0xffffffdf
lea ecx, [ebp - 0x128]
mov edx, str.UPDATE__houses__SET
mov dword [ebp - 0xe8], 0
mov byte [ebp - 4], 0
call fcn.004064c0
test byte [edi + 0x3c], 1
je 0x4cc6e0
lea eax, [edi + 0x40]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405c30
or dword [ebp - 0x50], 0x20
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 6
push edx
lea edx, [ebp - 0x2c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x20]
call eax
mov dword [ebp - 0x4c], eax
mov edx, str._name__
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x128]
call fcn.004064c0
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cc647
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
add esp, 4
mov edx, 0x5dc540
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4cc696
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cc68c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccd58
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x4cc6e0
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cc6d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccd58
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [edi + 0x3c]
shr eax, 1
test al, 1
je 0x4cc714
push dword [edi + 0x34]
mov edx, str._town__
push ecx
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x5dc530
mov ecx, eax
call fcn.004064c0
mov eax, dword [edi + 0x3c]
shr eax, 2
test al, 1
je 0x4cc749
push dword [edi + 0x38]
mov edx, str._size__
push ecx
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x5dc560
mov ecx, eax
call fcn.004064c0
mov eax, dword [edi + 0x3c]
shr eax, 4
test al, 1
je 0x4cc77e
push dword [edi + 0x30]
mov edx, str._price__
push ecx
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x5dc550
mov ecx, eax
call fcn.004064c0
mov eax, dword [edi + 0x3c]
shr eax, 5
test al, 1
je 0x4cc7b3
push dword [edi + 0x2c]
mov edx, str._rent__
push ecx
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x5dc4e0
mov ecx, eax
call fcn.004064c0
push dword [edi + 0x104]
mov edx, str._doors__
push dword [edi + 0x114]
push dword [edi + 0x10c]
push ecx
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, str.___beds__
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, str.___tiles__
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov eax, dword [edi + 0x3c]
shr eax, 3
test al, 1
je 0x4cc842
mov ecx, edi
call fcn.004b03c0
movzx eax, al
mov edx, str.___guild__
push eax
push ecx
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 8
cmp byte [0x631c98], 0
mov edi, dword [edi + 0x20]
je 0x4cc86a
mov eax, dword [0x632104]
jmp 0x4cc89c
cmp byte [0x631c99], 0
jne 0x4cc89a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getNumber_
push 0x406700
push 0x32
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor eax, eax
push eax
push edi
push ecx
mov edx, str._WHERE__id__
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc4f4
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cc8e1
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4ccbd2
mov edx, dword [ebp - 0x2c]
jmp 0x4ccba9
lea ecx, [ebp - 0x120]
call fcn.00405f10
and dword [ebp - 0xe4], 0xffffffdf
lea eax, [edi + 0x40]
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xe8], 0
mov byte [ebp - 4], 0
call fcn.00405c30
or dword [ebp - 0x50], 0x10
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push edx
lea edx, [ebp - 0x2c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x20]
call eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xb
mov cl, byte [0x631c98]
test cl, cl
je 0x4cc970
cmp byte [0x632029], 0
je 0x4cc9a6
cmp byte [edi + 8], 0
je 0x4cc9a6
mov byte [ebp - 0x5c], 1
jmp 0x4cc9aa
cmp byte [0x631c99], 0
jne 0x4cc9a6
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getBool_
push 0x406700
push 0x41
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov cl, byte [0x631c98]
mov byte [ebp - 0x5c], 0
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x70], eax
test cl, cl
je 0x4cc9d6
mov eax, dword [0x632104]
jmp 0x4cca08
cmp byte [0x631c99], 0
jne 0x4cca06
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getNumber_
push 0x406700
push 0x32
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor eax, eax
push eax
push dword [edi + 0x20]
mov edx, str.INSERT_INTO__houses____id____world_id____owner____name____town____size____price____rent____doors____beds____tiles____guild___VALUES__
push ecx
lea ecx, [ebp - 0x128]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc564
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, str.__0_
mov ecx, eax
call fcn.004064c0
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4cca5b
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
add esp, 4
mov edx, 0x5dc570
push dword [ebp - 0x5c]
push dword [edi + 0x104]
push dword [edi + 0x114]
push dword [ebp - 0x58]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc574
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc63c
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc640
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc644
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc648
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc630
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push ecx
mov edx, 0x5dc634
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
mov edx, 0x5dc638
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4ccb88
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ccb7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccd58
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x4ccbd2
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ccbc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccd58
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
mov edx, dword [ebp - 0xe4]
mov eax, edx
mov edi, dword [ebp - 0x50]
and al, 0x22
or edi, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x4c], edi
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0x80], 0
cmp al, 2
je 0x4ccc3d
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ccc3d
mov eax, dword [ebp - 0x110]
cmp ecx, dword [ebp - 0xe8]
cmovb ecx, dword [ebp - 0xe8]
mov edx, dword [eax]
sub ecx, edx
jmp 0x4ccc6e
test dl, 4
jne 0x4ccc62
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ccc62
mov eax, dword [ebp - 0x114]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0xf4]
add ecx, dword [eax]
jmp 0x4ccc6e
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
test edx, edx
je 0x4ccc7c
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00405890
and edi, 0xfffffff7
mov dword [ebp - 4], 0
or edi, 4
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 0x54]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call eax
test al, al
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
sete al
mov byte [ebp - 0x45], al
cmp ecx, 0x10
jb 0x4ccce3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cccd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccd58
push ecx
push edx
call fcn.0045b34b
mov al, byte [ebp - 0x45]
add esp, 8
test al, al
jne 0x4ccd5e
lea ecx, [ebp - 0x120]
call fcn.00405f10
and dword [ebp - 0xe4], 0xffffffdf
mov dword [ebp - 0xe8], 0
mov byte [ebp - 4], 0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4ccd3a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4ccd30
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4ccd30
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4ccd20
mov ecx, dword [ebp - 0x60]
mov esi, eax
jmp 0x4cc350
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4ccd50
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4ccd44
mov ecx, dword [ebp - 0x60]
jmp 0x4cc350
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x45], 0
jmp 0x4ccd68
mov byte [ebp - 0x45], 1
lea ecx, [ebp - 0x138]
call fcn.0041c440
mov al, byte [ebp - 0x45]
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.0045ad9e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x631230
call fcn.0045aedf
add esp, 4
cmp dword [0x631230], 0xffffffff
jne 0x4cc361
mov byte [ebp - 4], 1
call fcn.004b13d0
push 0x5b7860
call fcn.0045b336
add esp, 4
mov byte [ebp - 4], 0
push 0x631230
call fcn.0045ae95
add esp, 4
jmp 0x4cc361