Function at 0x418f10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466900
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x178], 1
mov dword [ebp - 4], 0
mov eax, 0x3e0f83e1
mov ecx, dword [0x49424c]
sub ecx, dword [0x494248]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xc8
jbe 0x418f87
call fcn.0041b340
lea eax, [esi + 4]
mov ecx, eax
mov dword [ebp - 0x174], eax
call fcn.004185c0
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
mov dword [ebp - 0x178], 1
mov ecx, esp
push eax
call fcn.0044f450
lea ecx, [ebp - 0x190]
call fcn.0040be00
add esp, 0x18
lea ecx, [ebp + 0xc]
push eax
call fcn.0044f290
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x419006
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418ffc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418ffc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046470a
add esp, 8
mov esi, dword [ebp + 0x1c]
cmp esi, 1
jb 0x41a0bc
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
mov edi, dword [ebp + 0xc]
setae dl
mov byte [ebp - 0x165], dl
jb 0x419039
mov ecx, edi
mov dword [ebp - 0x170], edi
mov eax, edi
mov dword [ebp - 0x16c], edi
jmp 0x419048
lea eax, [ebp + 0xc]
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], eax
add eax, esi
cmp dword [ebp - 0x16c], eax
je 0x419079
mov al, byte [ecx]
cmp al, 0x41
jl 0x41905c
cmp al, 0x5a
jle 0x419066
sub al, 0x30
cmp al, 9
ja 0x41a0f2
mov eax, dword [ebp - 0x170]
inc ecx
add eax, esi
mov dword [ebp - 0x16c], edx
cmp ecx, eax
jne 0x419052
test dl, dl
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.EXIT
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0d7
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 3
cmovne ecx, edi
mov edx, esi
push 0x46f054
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 3
cmovne ecx, edi
mov edx, esi
push 0x46f058
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 3
cmovne ecx, edi
mov edx, esi
push 0x46f05c
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 3
cmovne ecx, edi
mov edx, esi
push 0x46f060
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM1
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM2
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM3
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM4
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM5
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM6
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM7
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM8
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.COM9
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.LPT1
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.LPT2
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.LPT3
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
cmp byte [ebp - 0x165], al
lea ecx, [ebp + 0xc]
push 4
cmovne ecx, edi
mov edx, esi
push str.LPT4
call fcn.0045db10
add esp, 8
test al, al
jne 0x41a0a2
mov al, byte [ebp - 0x165]
lea ecx, [ebp + 0xc]
test al, al
cmovne ecx, edi
cmp esi, 4
jne 0x4193a9
mov eax, esi
mov edx, str.LPT5
sub eax, esi
mov dword [ebp - 0x16c], eax
jb 0x419354
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x419359
mov eax, dword [ebp - 0x16c]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x16c], eax
jae 0x419337
cmp eax, 0xfffffffc
je 0x419399
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x419392
cmp dword [ebp - 0x16c], 0xfffffffd
je 0x419399
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x419392
cmp dword [ebp - 0x16c], 0xfffffffe
je 0x419399
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x419392
cmp dword [ebp - 0x16c], 0xffffffff
je 0x419399
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x419399
sbb eax, eax
or eax, 1
jmp 0x41939b
xor eax, eax
test eax, eax
je 0x41a0a2
mov al, byte [ebp - 0x165]
test al, al
lea ecx, [ebp + 0xc]
cmovne ecx, edi
cmp esi, 4
jne 0x419442
mov eax, esi
mov edx, str.LPT6
sub eax, esi
mov dword [ebp - 0x16c], eax
jb 0x4193ed
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4193f2
mov eax, dword [ebp - 0x16c]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x16c], eax
jae 0x4193d0
cmp eax, 0xfffffffc
je 0x419432
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x41942b
cmp dword [ebp - 0x16c], 0xfffffffd
je 0x419432
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x41942b
cmp dword [ebp - 0x16c], 0xfffffffe
je 0x419432
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x41942b
cmp dword [ebp - 0x16c], 0xffffffff
je 0x419432
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x419432
sbb eax, eax
or eax, 1
jmp 0x419434
xor eax, eax
test eax, eax
je 0x41a0a2
mov al, byte [ebp - 0x165]
test al, al
lea ecx, [ebp + 0xc]
cmovne ecx, edi
cmp esi, 4
jne 0x4194d6
mov eax, esi
mov edx, str.LPT7
sub eax, esi
mov dword [ebp - 0x16c], eax
jb 0x419481
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x419486
mov eax, dword [ebp - 0x16c]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x16c], eax
jae 0x419464
cmp eax, 0xfffffffc
je 0x4194c6
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4194bf
cmp dword [ebp - 0x16c], 0xfffffffd
je 0x4194c6
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4194bf
cmp dword [ebp - 0x16c], 0xfffffffe
je 0x4194c6
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4194bf
cmp dword [ebp - 0x16c], 0xffffffff
je 0x4194c6
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4194c6
sbb eax, eax
or eax, 1
jmp 0x4194c8
xor eax, eax
test eax, eax
je 0x41a0a2
mov al, byte [ebp - 0x165]
test al, al
lea ecx, [ebp + 0xc]
cmovne ecx, edi
cmp esi, 4
jne 0x41956a
mov eax, esi
mov edx, str.LPT8
sub eax, esi
mov dword [ebp - 0x16c], eax
jb 0x419515
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41951a
mov eax, dword [ebp - 0x16c]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x16c], eax
jae 0x4194f8
cmp eax, 0xfffffffc
je 0x41955a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x419553
cmp dword [ebp - 0x16c], 0xfffffffd
je 0x41955a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x419553
cmp dword [ebp - 0x16c], 0xfffffffe
je 0x41955a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x419553
cmp dword [ebp - 0x16c], 0xffffffff
je 0x41955a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x41955a
sbb eax, eax
or eax, 1
jmp 0x41955c
xor eax, eax
test eax, eax
je 0x41a0a2
mov al, byte [ebp - 0x165]
test al, al
lea ecx, [ebp + 0xc]
cmovne ecx, edi
cmp esi, 4
jne 0x4195d6
mov edi, esi
mov edx, str.LPT9
sub edi, esi
jb 0x419593
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x419598
add ecx, 4
add edx, 4
sub edi, 4
jae 0x419582
cmp edi, 0xfffffffc
je 0x4195cc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4195c5
cmp edi, 0xfffffffd
je 0x4195cc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4195c5
cmp edi, 0xfffffffe
je 0x4195cc
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4195c5
cmp edi, 0xffffffff
je 0x4195cc
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4195cc
sbb eax, eax
or eax, 1
jmp 0x4195ce
xor eax, eax
test eax, eax
je 0x41a0a2
xor edi, edi
mov eax, 0x3e0f83e1
mov dword [ebp - 0x16c], edi
mov edi, dword [0x49424c]
mov ecx, edi
sub ecx, dword [0x494248]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x170], eax
je 0x419683
sub edi, dword [0x494248]
mov eax, 0x3e0f83e1
imul edi
mov edi, dword [0x494248]
sar edx, 5
add edi, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor eax, eax
mov dword [ebp - 0x198], ecx
cmp ecx, eax
jbe 0x41a161
cmp byte [ebp - 0x165], 0
lea eax, [ebp + 0xc]
mov ecx, edi
cmovne eax, dword [ebp + 0xc]
cmp dword [edi + 0x14], 0x10
jb 0x419651
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push esi
push eax
call fcn.0045db10
add esp, 8
test al, al
jne 0x4196ae
mov eax, dword [ebp - 0x16c]
add edi, 0x84
mov ecx, dword [ebp - 0x198]
inc eax
mov dword [ebp - 0x16c], eax
cmp eax, dword [ebp - 0x170]
jb 0x419631
push 0xb8
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, accept
add esp, 0xc
sub eax, esi
cmp eax, 7
jb 0x41a10d
jmp 0x41976a
mov eax, dword [ebp - 0x194]
mov edi, dword [ebp - 0x16c]
mov dword [eax + 0x88], edi
mov eax, 0x3e0f83e1
mov ecx, dword [0x49424c]
sub ecx, dword [0x494248]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x41a161
mov eax, dword [0x494248]
mov ecx, dword [ebp - 0x174]
imul esi, edi, 0x84
add eax, esi
push eax
call fcn.0041a180
mov ecx, dword [0x49424c]
mov eax, 0x3e0f83e1
sub ecx, dword [0x494248]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x41a161
mov eax, dword [0x494248]
mov ecx, dword [ebp - 0x194]
add eax, esi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x41a07e
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a074
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41a074
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp byte [ebp - 0x165], 0
lea eax, [ebp + 0xc]
push esi
cmovne eax, dword [ebp + 0xc]
push eax
push 7
push str.worlds_
push ecx
push dword [ebp - 0x19c]
lea ecx, [ebp - 0x28]
call fcn.00459a90
mov dword [ebp - 0x178], 5
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 5
push str..json
cmp eax, 5
jb 0x4197db
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 5]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 5], 0
lea eax, [ebp - 0x28]
jmp 0x4197f2
mov byte [ebp - 0x174], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x174]
push 5
call fcn.00458b00
mov dword [ebp - 0x180], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0
mov edi, 0xd
movups xmm0, xmmword [eax]
mov dword [ebp - 0x178], edi
movups xmmword [ebp - 0x190], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x180], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 1
mov byte [ebp - 4], 3
lea eax, [ebp - 0x190]
cmp dword [ebp - 0x17c], 0x10
lea ecx, [ebp - 0xe0]
push 0x40
cmovae eax, dword [ebp - 0x190]
push 1
push eax
call fcn.0044dd20
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x4198ce
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4198c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419913
push ecx
push edx
call fcn.0046470a
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x419923
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419919
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x419919
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046470a
add esp, 8
cmp dword [ebp - 0x84], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
je 0x419eec
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
push 0
mov byte [ebp - 0x20], 0
call fcn.00450ac0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe0]
call fcn.0044de40
lea ecx, [ebp - 0x164]
call fcn.004185c0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 9
push eax
push str.name
lea ecx, [ebp - 0x20]
call fcn.00455090
mov ecx, eax
call fcn.004556a0
push eax
lea ecx, [ebp - 0x15c]
call fcn.0044f290
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x4199d8
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4199ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4199ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046470a
add esp, 8
push str.width
lea ecx, [ebp - 0x20]
call fcn.00455090
mov ecx, eax
call fcn.004557e0
push str.height
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x164], eax
call fcn.00455090
mov ecx, eax
call fcn.004557e0
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x190]
push eax
push str.owner
call fcn.00455090
mov ecx, eax
call fcn.004556a0
push eax
lea ecx, [ebp - 0x140]
call fcn.0044f290
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x419a6f
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419a65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x419a65
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046470a
add esp, 8
push str.weather
lea ecx, [ebp - 0x20]
call fcn.00455090
mov ecx, eax
call fcn.004557e0
push str.isPublic
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x100], eax
call fcn.00455090
mov ecx, eax
call fcn.004555d0
mov byte [ebp - 0x11e], al
xor esi, esi
nop word [eax + eax]
push str.access
lea ecx, [ebp - 0x20]
call fcn.00455090
mov ecx, eax
movzx eax, byte [ecx]
sub eax, 0
je 0x419bdc
sub eax, 1
je 0x419ae9
sub eax, 1
je 0x419adc
mov ecx, 1
jmp 0x419aef
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 4
jmp 0x419aef
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 4]
cmp esi, ecx
jae 0x419bdc
push esi
push str.access
lea ecx, [ebp - 0x20]
call fcn.00455090
mov ecx, eax
call fcn.0044e3b0
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
call fcn.004556a0
or edi, 2
mov dword [ebp - 0x178], edi
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x104]
je 0x419b85
xorps xmm0, xmm0
mov ecx, 0xf
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0x190]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x180]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x108], 0x18
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 0x190], 0
jmp 0x419b9e
lea ecx, [ebp - 0x190]
push ecx
push eax
lea ecx, [ebp - 0x10c]
call fcn.0045b940
mov ecx, dword [ebp - 0x17c]
mov byte [ebp - 4], 9
cmp ecx, 0x10
jb 0x419bd6
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419bcc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418ff6
push ecx
push edx
call fcn.0046470a
add esp, 8
inc esi
jmp 0x419ab0
push str.stuffID
lea ecx, [ebp - 0x20]
call fcn.00455090
mov ecx, eax
call fcn.004557e0
push str.stuff_gravity
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x128], eax
call fcn.00455090
mov ecx, eax
call fcn.004557e0
push str.stuff_invert
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x124], eax
call fcn.00455090
mov ecx, eax
cmp byte [ecx], 4
jne 0x41a112
lea eax, [ecx + 8]
xor ecx, ecx
mov al, byte [eax]
lea ecx, [ebp - 0x20]
push str.stuff_spin
mov byte [ebp - 0x11f], al
call fcn.00455090
mov ecx, eax
cmp byte [ecx], 4
je 0x419c78
call fcn.004511f0
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0044f410
push eax
mov edx, str.type_must_be_boolean__but_is
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x190]
call fcn.00454ac0
mov byte [ebp - 4], 0xe
jmp 0x41a13c
lea eax, [ecx + 8]
xor ecx, ecx
mov al, byte [eax]
lea ecx, [ebp - 0x20]
push str.tiles
mov byte [ebp - 0x120], al
call fcn.00455090
push eax
lea ecx, [ebp - 0x188]
call fcn.0044e5d0
mov byte [ebp - 4], 0xf
xor ecx, ecx
mov edi, dword [ebp - 0x160]
mov edx, 0x120
imul edi, dword [ebp - 0x164]
mov eax, edi
mov dword [ebp - 0x174], edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004649c1
add esp, 4
mov dword [ebp - 0x198], eax
push fcn.00418970
push 0x418780
push edi
lea esi, [eax + 4]
mov byte [ebp - 4], 0x10
push 0x120
push esi
mov dword [eax], edi
call fcn.004649d8
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x144], esi
xor esi, esi
test edi, edi
jle 0x419d78
xor edi, edi
push 0x46f554
push esi
lea ecx, [ebp - 0x188]
call fcn.0044e3b0
mov ecx, eax
call fcn.00455090
mov ecx, eax
call fcn.00455490
mov ecx, dword [ebp - 0x144]
push 0x46f558
push esi
mov word [edi + ecx], ax
lea ecx, [ebp - 0x188]
call fcn.0044e3b0
mov ecx, eax
call fcn.00455090
mov ecx, eax
call fcn.00455490
mov ecx, dword [ebp - 0x144]
lea edi, [edi + 0x120]
inc esi
mov word [edi + ecx - 0x11e], ax
cmp esi, dword [ebp - 0x174]
jl 0x419d13
mov eax, dword [0x49424c]
lea ecx, [ebp - 0x164]
push ecx
cmp eax, dword [0x494250]
je 0x419da7
mov ecx, eax
call fcn.0041ad50
mov ecx, dword [0x49424c]
add ecx, 0x84
mov dword [0x49424c], ecx
jmp 0x419db8
push eax
mov ecx, 0x494248
call fcn.0045b040
mov ecx, dword [0x49424c]
sub ecx, dword [0x494248]
mov eax, 0x3e0f83e1
mov edi, dword [ebp - 0x194]
imul ecx
lea ecx, [edi + 4]
sar edx, 5
mov eax, edx
dec edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x88], eax
lea eax, [ebp - 0x164]
push eax
call fcn.0041a180
mov ecx, dword [0x49424c]
mov eax, 0x3e0f83e1
mov esi, dword [0x494248]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax - 1]
cmp eax, ecx
jbe 0x41a161
imul eax, ecx, 0x84
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], 0
add eax, esi
mov dword [edi], eax
call fcn.0044e4d0
lea ecx, [ebp - 0x164]
call fcn.004186e0
lea ecx, [ebp - 0x20]
call fcn.0044e4d0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe4], eax
mov dword [ebp - 4], 0x11
cmp dword [ebp - 0x84], 0
mov dword [ebp - 0xd0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x419eb2
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x94]
cmp dword [eax], ecx
jne 0x419eb2
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0xb4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa4]
mov dword [eax], edx
cmp byte [ebp - 0x88], 0
je 0x419ec6
lea ecx, [ebp - 0xd0]
call fcn.00450900
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x419732
push 0x3c
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0044f450
mov edx, 0x64
lea ecx, [ebp - 0x164]
call fcn.00418370
add esp, 0x1c
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x164]
mov eax, dword [0x49424c]
push ecx
cmp eax, dword [0x494250]
je 0x419f42
mov ecx, eax
call fcn.0041ad50
mov ecx, dword [0x49424c]
add ecx, 0x84
mov dword [0x49424c], ecx
jmp 0x419f53
push eax
mov ecx, 0x494248
call fcn.0045b040
mov ecx, dword [0x49424c]
sub ecx, dword [0x494248]
mov eax, 0x3e0f83e1
mov edi, dword [ebp - 0x194]
imul ecx
lea ecx, [edi + 4]
sar edx, 5
mov eax, edx
dec edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x88], eax
lea eax, [ebp - 0x164]
push eax
call fcn.0041a180
mov ecx, dword [0x49424c]
mov eax, 0x3e0f83e1
mov esi, dword [0x494248]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax - 1]
cmp eax, ecx
jbe 0x41a166
imul eax, ecx, 0x84
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x178], 0
add eax, esi
mov dword [edi], eax
call fcn.004186e0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe4], eax
mov dword [ebp - 4], 0x13
cmp dword [ebp - 0x84], 0
mov dword [ebp - 0xd0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x41a03a
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x94]
cmp dword [eax], ecx
jne 0x41a03a
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0xb4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa4]
mov dword [eax], edx
cmp byte [ebp - 0x88], 0
je 0x41a04e
lea ecx, [ebp - 0xd0]
call fcn.00450900
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x419732
push ecx
push edx
call fcn.0046470a
add esp, 8
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004646fc
mov esp, ebp
pop ebp
ret 0x1c
mov dword [ebp - 0x174], 3
lea eax, [ebp - 0x174]
push 0x4900b0
jmp 0x41a15b
push 0x4900b0
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 1
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x4900b0
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 3
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x4900b0
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 2
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00409450
call fcn.004511f0
push eax
lea ecx, [ebp - 0x190]
call fcn.0044f410
push eax
mov edx, str.type_must_be_boolean__but_is
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1d0]
call fcn.00454ac0
mov byte [ebp - 4], 0xc
push eax
mov edx, 0x12e
lea ecx, [ebp - 0x1b8]
call fcn.0040a380
add esp, 8
lea eax, [ebp - 0x1b8]
push 0x49007c
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00450440
call fcn.00450440
int3