Function at 0x40d380
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42814c
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4306e4]
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
xor eax, eax
mov ebx, edx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x3c], eax
mov word [ebx + 0x40], ax
mov byte [ebp - 0x131], al
mov byte [ebp - 0x129], al
mov eax, dword [ebx + 0x74]
mov word [ebx + 4], 0x101
mov dword [ebx + 0x38], eax
mov eax, dword [ecx]
mov dword [ebp - 0x1a4], ecx
add ecx, dword [eax + 4]
or esi, 0xffffffff
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x198], esi
test al, 1
jne 0x40e2a8
jmp 0x40d413
or esi, 0xffffffff
lea eax, [ebp - 0x1b0]
push eax
call fcn.004076f0
push eax
mov dword [ebp - 4], 0
call fcn.00406e30
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0x1b0]
add esp, 4
mov dword [ebp - 0x130], eax
test edi, edi
je 0x40d480
push 0
lea ecx, [ebp - 0x1ac]
call fcn.00411106
mov eax, dword [edi + 4]
test eax, eax
je 0x40d45e
cmp eax, esi
jae 0x40d45e
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x1ac]
not esi
call fcn.0041112e
and esi, edi
je 0x40d480
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0xa
call eax
mov byte [ebp - 0x1b8], al
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0x110]
push edx
push eax
call fcn.00409f00
push 3
lea ecx, [ebp - 0x110]
push 0x42c65c
push ecx
call fcn.0041f912
add esp, 0xc
push 0xb
test eax, eax
jne 0x40d6de
lea edx, [ebp - 0x10d]
push str.SPLIT_PLANE
push edx
call fcn.0041f912
add esp, 0xc
test eax, eax
jne 0x40e291
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x17c], edi
lea esi, [ebp - 0x102]
mov dword [ebp - 4], 1
mov dword [ebp - 0x130], esi
mov al, byte [esi]
test al, al
je 0x40d68e
cmp al, 0xd
je 0x40d68e
cmp al, 0xa
je 0x40d68e
test al, al
je 0x40d54c
mov al, byte [esi]
cmp al, 0x2c
je 0x40d548
cmp al, 0xd
je 0x40d548
cmp al, 0xa
je 0x40d548
inc esi
cmp byte [esi], 0
jne 0x40d532
jmp 0x40d54c
mov byte [esi], 0
inc esi
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x160]
push eax
push 0x42c51c
push ecx
call fcn.00413360
add esp, 0xc
cmp eax, 1
jl 0x40d68e
lea edx, [ebp - 0x160]
mov dword [ebp - 0x130], esi
cmp edx, edi
jae 0x40d615
mov eax, edx
cmp ebx, eax
ja 0x40d615
mov ecx, dword [ebp - 0x17c]
sub edx, ebx
sar edx, 2
mov dword [ebp - 0x18c], edx
cmp edi, ecx
jne 0x40d5f8
mov eax, edi
sub eax, ebx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x40e62f
sub ecx, ebx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x40d5f8
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x40d5d2
xor ecx, ecx
jmp 0x40d5d4
add ecx, edx
cmp ecx, eax
jae 0x40d5da
mov ecx, eax
push ecx
lea esi, [ebp - 0x184]
call fcn.00408a90
mov edi, dword [ebp - 0x180]
mov ebx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x18c]
test edi, edi
je 0x40d601
mov ecx, dword [ebx + edx*4]
mov dword [edi], ecx
mov esi, dword [ebp - 0x130]
add edi, 4
mov dword [ebp - 0x180], edi
jmp 0x40d514
mov ecx, dword [ebp - 0x17c]
cmp edi, ecx
jne 0x40d66e
mov eax, edi
sub eax, ebx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x40e62f
sub ecx, ebx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x40d66e
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x40d64e
xor ecx, ecx
jmp 0x40d650
add ecx, edx
cmp ecx, eax
jae 0x40d656
mov ecx, eax
push ecx
lea esi, [ebp - 0x184]
call fcn.00408a90
mov edi, dword [ebp - 0x180]
mov ebx, dword [ebp - 0x184]
test edi, edi
je 0x40d67a
mov edx, dword [ebp - 0x160]
mov dword [edi], edx
mov esi, dword [ebp - 0x130]
add edi, 4
mov dword [ebp - 0x180], edi
jmp 0x40d514
sub edi, ebx
sar edi, 2
test edi, edi
je 0x40d6b1
mov edi, dword [ebp - 0x138]
add edi, 0x64
lea ecx, [ebp - 0x184]
call fcn.0040f270
mov ebx, dword [ebp - 0x184]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x40d6c5
push ebx
call fcn.00411edf
add esp, 4
xor eax, eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
jmp 0x40e28b
lea eax, [ebp - 0x110]
push str.P__UNITS_SI
push eax
call fcn.0041f912
add esp, 0xc
test eax, eax
jne 0x40d6ff
mov word [ebx + 0x40], ax
jmp 0x40e291
push 0xf
lea ecx, [ebp - 0x110]
push str.P__UNITS_CUST_0
push ecx
call fcn.0041f912
add esp, 0xc
test eax, eax
jne 0x40d724
mov word [ebx + 0x40], 0x101
jmp 0x40e291
push 0xf
lea edx, [ebp - 0x110]
push str.P__UNITS_CUST_1
push edx
call fcn.0041f912
add esp, 0xc
test eax, eax
jne 0x40d749
mov word [ebx + 0x40], 0x100
jmp 0x40e291
push 0xf
lea eax, [ebp - 0x110]
push str.P__UNITS_CUST_2
push eax
call fcn.0041f912
add esp, 0xc
test eax, eax
jne 0x40d76e
mov word [ebx + 0x40], 0x101
jmp 0x40e291
push 3
lea ecx, [ebp - 0x110]
push 0x42c6a8
push ecx
call fcn.0041f912
add esp, 0xc
test eax, eax
je 0x40de1f
push 3
lea edx, [ebp - 0x110]
push 0x42c6ac
push edx
call fcn.0041f912
add esp, 0xc
test eax, eax
je 0x40de1f
push 3
lea eax, [ebp - 0x110]
push 0x42c6b0
push eax
call fcn.0041f912
add esp, 0xc
test eax, eax
je 0x40de1f
push 3
lea ecx, [ebp - 0x110]
push 0x42c6b4
push ecx
call fcn.0041f912
add esp, 0xc
test eax, eax
je 0x40de1f
lea edx, [ebp - 0x110]
push 3
mov eax, edx
push 0x42c738
push eax
mov dword [ebp - 0x130], edx
call fcn.0041f912
add esp, 0xc
test eax, eax
jne 0x40da54
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x10a]
push 0x42c51c
push edx
mov byte [ebp - 0x131], al
mov byte [ebp - 0xff], al
call fcn.00413360
add esp, 0xc
cmp eax, 1
je 0x40d84f
push str.Net_number_is_wrong_:
push 0x431c48
call fcn.00405dd0
lea eax, [ebp - 0x10d]
jmp 0x40d899
mov eax, dword [ebp - 0x170]
cmp dword [ebx + 0x3c], eax
jge 0x40d85d
mov dword [ebx + 0x3c], eax
lea ecx, [ebp - 0x188]
push ecx
lea edx, [ebp - 0xfd]
push 0x42c51c
push edx
mov byte [ebp - 0xfb], 0
call fcn.00413360
add esp, 0xc
cmp eax, 1
je 0x40d8b3
push str.Layer_data_error__C__:
push 0x431c48
call fcn.00405dd0
lea eax, [ebp - 0xfd]
push eax
push 0x431c48
call fcn.00405dd0
add esp, 0x10
mov esi, eax
call fcn.004027f0
jmp 0x40e291
cmp byte [ebp - 0xfa], 0x58
lea ecx, [ebp - 0xfa]
mov dword [ebp - 0x130], ecx
je 0x40d8f7
push str.Size_data_error__C__:
push 0x431c48
call fcn.00405dd0
lea edx, [ebp - 0xfa]
push edx
push 0x431c48
call fcn.00405dd0
add esp, 0x10
mov esi, eax
call fcn.004027f0
jmp 0x40e291
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x174]
lea ebx, [ebp - 0x130]
call fcn.0040cc40
or ebx, 0xffffffff
add esp, 4
cmp eax, ebx
jne 0x40d965
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x170]
push ecx
push ecx
push str._:_z_
push ecx
push edx
push ecx
push str.net_
push 0x431c48
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
add esp, 4
push eax
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
mov esi, eax
call fcn.004027f0
jmp 0x40e28b
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0x168]
mov eax, ecx
sub eax, ebx
neg eax
sbb eax, eax
and eax, ecx
mov ecx, edx
sub ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, edx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x168], ecx
test eax, eax
jne 0x40d9de
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x168], eax
test ecx, ecx
jne 0x40d9de
mov eax, dword [ebp - 0x170]
push ecx
push ecx
push str.__ys_
push ecx
push ecx
push ecx
push str._:_xs_
push ecx
push eax
push ecx
push str.net_
push 0x431c48
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
add esp, 4
push eax
jmp 0x40d939
mov ecx, dword [ebp - 0x188]
mov esi, dword [ebp - 0x138]
push ecx
mov eax, esi
call fcn.0040e920
mov edi, dword [ebp - 0x174]
mov eax, edi
mov edx, esi
call fcn.0040e900
mov eax, dword [ebp - 0x168]
call fcn.0040e900
mov eax, dword [ebp - 0x170]
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x198], eax
mov al, 1
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1a8], edx
mov byte [ebp - 0x131], al
mov byte [ebp - 0x129], al
mov ebx, esi
jmp 0x40da5a
mov edi, dword [ebp - 0x1b4]
push 3
lea ecx, [ebp - 0x110]
push 0x42c790
push ecx
call fcn.0041f912
add esp, 0xc
test eax, eax
jne 0x40db5f
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x130], edx
cmp byte [ebp - 0x131], 0
je 0x40e291
mov ecx, dword [ebp - 0x130]
cmp byte [ecx], 0x2a
jne 0x40dab8
or eax, 0xffffffff
inc dword [ebp - 0x130]
mov byte [ebp - 0x129], 1
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], eax
lea edx, [ebp - 0x130]
call fcn.0040cc10
cmp eax, 0xffffffff
je 0x40e291
mov edx, dword [ebp - 0x130]
cmp byte [edx], 0x2a
jne 0x40daf3
or eax, 0xffffffff
inc dword [ebp - 0x130]
mov byte [ebp - 0x129], 1
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], eax
lea edx, [ebp - 0x130]
call fcn.0040cc10
cmp eax, 0xffffffff
je 0x40e291
mov esi, dword [ebp - 0x130]
mov al, byte [esi]
cmp al, 0x58
je 0x40db1b
cmp al, 0x59
jne 0x40dce1
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x190]
lea ebx, [ebp - 0x130]
call fcn.0040cc40
add esp, 4
cmp eax, 0xffffffff
je 0x40dd11
cmp byte [ebp - 0x129], 0
je 0x40dbe2
mov ecx, dword [ebp - 0x190]
cmp ecx, 0xffffffff
je 0x40db7d
mov dword [ebp - 0x140], ecx
jmp 0x40db89
lea eax, [ebp - 0x110]
cmp dword [ebp - 0x130], eax
jne 0x40da84
mov byte [ebp - 0x131], 0
jmp 0x40e291
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x140], ecx
mov ebx, dword [ebp - 0x194]
cmp ebx, 0xffffffff
je 0x40db9c
mov dword [ebp - 0x13c], ebx
jmp 0x40dbaa
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x13c], edx
mov ebx, edx
cmp ecx, 0xffffffff
je 0x40dd84
cmp ebx, 0xffffffff
je 0x40dd84
mov esi, dword [ebp - 0x138]
mov edx, edi
mov eax, esi
call fcn.0040e880
mov ecx, ebx
mov eax, esi
call fcn.0040e8c0
mov byte [ebp - 0x129], 0
mov ebx, esi
jmp 0x40da91
mov eax, dword [ebp - 0x190]
mov esi, dword [ebp - 0x194]
cmp eax, 0xffffffff
jne 0x40dc02
cmp esi, 0xffffffff
je 0x40ddce
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
cmp esi, 0xffffffff
je 0x40dc15
mov dword [ebp - 0x14c], esi
jmp 0x40dc23
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x14c], ecx
mov esi, ecx
mov ebx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x144]
mov edx, edi
mov eax, ebx
call fcn.0040e880
mov ecx, esi
mov eax, ebx
call fcn.0040e8c0
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x120], eax
xor eax, eax
mov dword [ebp - 0x128], 4
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1a8]
lea edx, [ebp - 0x1d8]
push edx
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 0x128]
push eax
push ecx
push edx
push ebx
mov dword [ebp - 4], 3
call fcn.0040ea50
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x13c], esi
lea esi, [ebp - 0x1d8]
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f510
jmp 0x40da91
push str.X_Y_axis_data_error__C__:
push 0x431c48
call fcn.00405dd0
push esi
push 0x431c48
call fcn.00405dd0
add esp, 0x10
mov esi, eax
call fcn.004027f0
mov byte [ebp - 0x129], 1
jmp 0x40e291
mov ecx, dword [ebp - 0x194]
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x198]
push ecx
push ecx
push str.__y_
push ecx
push edx
push ecx
push str._:_x_
push ecx
push eax
push ecx
push str.net_
push 0x431c48
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
add esp, 4
push eax
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
add esp, 4
push eax
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
mov esi, eax
call fcn.004027f0
mov byte [ebp - 0x129], 1
jmp 0x40e28b
push str.X_Y_axis_data_error__C__start_:
push 0x431c48
call fcn.00405dd0
lea ecx, [ebp - 0x110]
push ecx
push 0x431c48
call fcn.00405dd0
add esp, 0x10
mov esi, eax
call fcn.004027f0
or eax, 0xffffffff
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x144], eax
jmp 0x40e28b
push str.X_Y_axis_data_error__C__end_:
push 0x431c48
call fcn.00405dd0
lea edx, [ebp - 0x110]
push edx
push 0x431c48
call fcn.00405dd0
add esp, 0x10
mov esi, eax
call fcn.004027f0
or eax, 0xffffffff
mov byte [ebp - 0x129], 1
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x144], eax
jmp 0x40e28b
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x10a]
push 0x42c51c
push ecx
mov byte [ebp - 0x131], 0
mov byte [ebp - 0xff], 0
call fcn.00413360
add esp, 0xc
cmp eax, 1
je 0x40deca
push str.Net_number_is_wrong_:
push 0x431c48
call fcn.00405dd0
lea edx, [ebp - 0x10d]
push edx
push 0x431c48
call fcn.00405dd0
add esp, 0x10
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00407de0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40dea0
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40dea0
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40e28b
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x40debd
or eax, 4
push 0
push eax
call fcn.00408020
jmp 0x40e291
mov eax, dword [ebp - 0x1a0]
cmp dword [ebx + 0x3c], eax
jge 0x40ded8
mov dword [ebx + 0x3c], eax
cmp byte [ebp - 0xef], 0x20
je 0x40df08
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp - 0xef]
push 0x42c51c
push eax
mov byte [ebp - 0xeb], 0
call fcn.00413360
add esp, 0xc
cmp eax, 1
je 0x40df12
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x19c]
push ecx
lea edx, [ebp - 0xe9]
push 0x42c51c
push edx
mov byte [ebp - 0xe7], 0
call fcn.00413360
add esp, 0xc
cmp eax, 1
je 0x40df53
push str.Layer_data_error__F__:
push 0x431c48
call fcn.00405dd0
lea eax, [ebp - 0xe9]
jmp 0x40d899
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0xe6]
push 0x42c51c
push edx
mov byte [ebp - 0xdf], 0
call fcn.00413360
add esp, 0xc
cmp eax, 1
je 0x40df94
push str.X_axis_data_error__F__:
push 0x431c48
call fcn.00405dd0
lea eax, [ebp - 0xe6]
jmp 0x40d899
mov cl, byte [ebp - 0xd7]
lea edx, [ebp - 0x158]
push edx
lea eax, [ebp - 0xde]
push 0x42c51c
push eax
mov byte [ebp - 0x145], cl
mov byte [ebp - 0xd7], 0
call fcn.00413360
add esp, 0xc
cmp eax, 1
je 0x40dfe2
push str.Y_axis_data_error__F__:
push 0x431c48
call fcn.00405dd0
lea ecx, [ebp - 0xde]
push ecx
jmp 0x40d89a
mov edi, dword [ebp - 0x15c]
mov al, byte [ebp - 0x145]
mov byte [ebp - 0xd7], al
test edi, edi
jne 0x40e080
lea edx, [ebp - 0xd7]
mov dword [ebp - 0x18c], edx
cmp al, 0x58
je 0x40e036
push str.Size_data_error__F__:
push 0x431c48
call fcn.00405dd0
lea eax, [ebp - 0xd7]
push eax
push 0x431c48
call fcn.00405dd0
add esp, 0x10
mov esi, eax
call fcn.004027f0
lea ecx, [ebp - 0x164]
push ecx
lea eax, [ebp - 0x16c]
lea ebx, [ebp - 0x18c]
call fcn.0040cc40
mov ebx, dword [ebp - 0x138]
add esp, 4
cmp eax, 0xffffffff
je 0x40e291
mov eax, dword [ebp - 0x16c]
lea edi, [eax + 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [ebp - 0x164]
lea esi, [eax + 1]
neg esi
sbb esi, esi
and esi, eax
jmp 0x40e088
mov ebx, dword [ebp - 0x138]
mov esi, edi
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x164], esi
test edi, edi
jne 0x40e0a8
test esi, esi
je 0x40e28b
mov ebx, dword [ebp - 0x138]
jmp 0x40e0ac
mov edx, edi
jg 0x40e0ae
mov edx, esi
mov ecx, dword [ebp - 0x154]
mov eax, ebx
call fcn.0040e880
mov edx, esi
test esi, esi
jg 0x40e0c3
mov edx, edi
mov ecx, dword [ebp - 0x158]
mov eax, ebx
call fcn.0040e8c0
mov eax, edi
mov edx, ebx
call fcn.0040e900
mov eax, esi
call fcn.0040e900
mov edx, dword [ebp - 0x19c]
push edx
mov eax, ebx
call fcn.0040e920
mov eax, dword [ebp - 0x15c]
xor edx, edx
cmp eax, edx
je 0x40e127
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x124], ecx
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x128], 3
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], eax
jmp 0x40e1a7
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x164]
cmp eax, edx
je 0x40e16b
cmp ecx, edx
je 0x40e16b
mov esi, dword [ebp - 0x154]
mov dword [ebp - 0x124], esi
mov esi, dword [ebp - 0x158]
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], ecx
jmp 0x40e1a7
mov esi, dword [ebp - 0x154]
mov dword [ebp - 0x124], esi
mov esi, dword [ebp - 0x158]
mov dword [ebp - 0x128], 2
mov dword [ebp - 0x120], esi
cmp eax, edx
je 0x40e199
mov dword [ebp - 0x11c], eax
jmp 0x40e1a7
cmp ecx, edx
je 0x40e28b
mov dword [ebp - 0x11c], ecx
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1c4], edx
mov dword [ebp - 0x1c0], edx
lea ecx, [ebp - 0x150]
push ecx
lea edi, [ebp - 0x130]
mov dword [ebp - 4], 2
call fcn.0040ce00
add esp, 4
test eax, eax
jne 0x40e257
jmp 0x40e1f0
lea eax, [ebp - 0x150]
lea edi, [ebp - 0x1c8]
call fcn.0040f440
mov eax, dword [ebx + 0x58]
sub eax, dword [ebx + 0x54]
xor ecx, ecx
sar eax, 2
test eax, eax
je 0x40e22c
mov edx, dword [ebx + 0x54]
mov edi, dword [ebp - 0x150]
lea esp, [esp]
cmp edi, dword [edx]
je 0x40e22c
inc ecx
add edx, 4
cmp ecx, eax
jb 0x40e220
cmp ecx, eax
jne 0x40e23e
lea eax, [ebp - 0x150]
lea edi, [ebx + 0x54]
call fcn.0040f440
lea edx, [ebp - 0x150]
push edx
lea edi, [ebp - 0x130]
call fcn.0040ce00
add esp, 4
test eax, eax
je 0x40e1f0
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 0x1c8]
push eax
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x128]
push ecx
push edx
push eax
push ebx
call fcn.0040ea50
lea esi, [ebp - 0x1c8]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f510
mov ebx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
test byte [ecx + 0xc], 1
je 0x40d410
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, eax
sub edx, ecx
sar edx, 2
push edx
push eax
push ecx
call fcn.0040fa90
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x54]
mov edx, eax
sub edx, ecx
add esp, 0xc
sar edx, 2
push edx
push eax
push ecx
call fcn.0040fa90
mov eax, dword [ebx + 0x2c]
add esp, 0xc
push eax
push ecx
push str.m_iPosXMin_:
push 0x431ba0
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00407de0
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40e325
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40e325
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40e346
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x40e33e
or eax, 4
push 0
push eax
call fcn.00408020
mov edx, dword [ebx + 0x30]
push edx
push ecx
push str.m_iPosYMin_:
push 0x431ba0
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00407de0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40e393
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40e393
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40e3b4
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x40e3ac
or eax, 4
push 0
push eax
call fcn.00408020
mov edx, dword [ebx + 0x24]
push edx
push ecx
push str.m_iPosXMax_:
push 0x431ba0
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00407de0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40e401
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40e401
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40e422
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x40e41a
or eax, 4
push 0
push eax
call fcn.00408020
mov edx, dword [ebx + 0x28]
push edx
push ecx
push str.m_iPosYMax_:
push 0x431ba0
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00407de0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40e46f
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40e46f
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40e490
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x40e488
or eax, 4
push 0
push eax
call fcn.00408020
mov edx, dword [ebx + 0x34]
push edx
push ecx
push str.m_iMinSize_:
push 0x431ba0
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00407de0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40e4dd
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40e4dd
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40e4fe
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x40e4f6
or eax, 4
push 0
push eax
call fcn.00408020
mov edx, dword [ebx + 0x3c]
push edx
push ecx
push str.m_iNetNoMax_:
push 0x431ba0
call fcn.00405dd0
add esp, 0xc
push eax
call fcn.00402810
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00407de0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40e54b
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40e54b
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40e56c
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x40e564
or eax, 4
push 0
push eax
call fcn.00408020
push str.iPosZMax_:
push 0x431ba0
call fcn.00405dd0
mov edx, dword [ebx + 0x48]
sub edx, dword [ebx + 0x44]
add esp, 8
test edx, 0xfffffffc
jne 0x40e605
push 0
push 0x431ba0
call fcn.00402810
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00407de0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40e5c8
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40e5c8
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40e5e9
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x40e5e1
or eax, 4
push 0
push eax
call fcn.00408020
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.00411949
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
mov ecx, eax
cmp eax, edx
je 0x40e627
add eax, 4
cmp eax, edx
je 0x40e627
mov esi, dword [ecx]
cmp esi, dword [eax]
jge 0x40e620
mov ecx, eax
add eax, 4
cmp eax, edx
jne 0x40e618
mov edx, dword [ecx]
push edx
jmp 0x40e58e
push str.vector_T__too_long
call fcn.00410ef3
int3