Function at 0x40a4e5
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x40b4f3
lea eax, [ebp + 0x18]
mov dword [ebp - 0x16c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1d0]
movzx eax, byte [eax]
test eax, eax
je 0x40a548
push 1
push 0x5e00
call fcn.0040b525
pop ecx
pop ecx
jmp 0x40b4f1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
movzx eax, byte [eax]
test eax, eax
je 0x40b4a9
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x144], 0xfffffffb
push 1
lea ecx, [ebp - 0x224]
call fcn.00433638
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x13c], 0xca7b
mov dword [ebp - 0x198], 0x3b1d
mov dword [ebp - 0x4c], 0
jmp 0x40a5de
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x40a5fa
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x224]
call fcn.00433726
mov dword [eax], 1
jmp 0x40a5d7
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x1612
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x144]
push eax
push 0x5b58
push 0
push 0x6037
push 0xe7
lea eax, [ebp - 0x198]
push eax
push 0x1b3e
push 0x5351
lea eax, [ebp - 0x30]
push eax
call fcn.0042d384
add esp, 0x34
mov dword [ebp - 0x30], 0
jmp 0x40a659
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x40a6ad
mov byte [ebp - 0xd], 0
push 1
push 0
push 0x1be1
lea eax, [ebp - 0xd]
push eax
push 0x3dac
push 0xf00
push 0x7d7
push 0x2089
push 0x42e9
push 0
push 0x6783
push 0x7489
call fcn.00416ba3
add esp, 0x30
push 0x1825
push 0
call fcn.004183bb
pop ecx
pop ecx
jmp 0x40a652
lea ecx, [ebp - 0x224]
call fcn.0043370a
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x11c], 0x70ad6f2e
mov dword [ebp - 0x118], 0x70ad6f2e
mov dword [ebp - 0x114], 0x70ad6f2e
mov dword [ebp - 0x110], 0x70ad6f2e
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0xc], 3
jmp 0x40a716
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x40a811
mov dword [ebp - 0x154], 8
mov dword [ebp - 0x34], 0
jmp 0x40a73a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x40a750
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x1a0], 0x5b8b78a
jmp 0x40a733
push 0x1b1c
lea eax, [ebp - 0x14c]
push eax
push 0
call fcn.00412946
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0xec], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xec]
mov dword [ebp + eax - 0x1a0], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x11c]
cmp dword [ebp - 0xec], eax
jg 0x40a7dd
mov dword [ebp - 0xe0], 1
jmp 0x40a7e4
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x11c]
cmp dword [ebp - 0xe0], eax
jne 0x40a7ff
mov dword [ebp - 0x78], 1
jmp 0x40a803
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x154], eax
jmp 0x40a70f
and dword [ebp - 0x5c], 0
jmp 0x40a827
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x5c], eax
jge 0x40b4a7
mov dword [ebp - 0x54], 0x59e5
push 3
lea ecx, [ebp - 0x1e0]
call fcn.00433638
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x218], 0x53e1e01b
mov dword [ebp - 0x214], 0x53e1e01b
mov dword [ebp - 0x210], 0x53e1e01b
mov dword [ebp - 0x20c], 0x53e1e01b
lea ecx, [ebp - 0x4d]
call fcn.00433735
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00433738
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x25c]
call fcn.004336e4
push 0x683e
push 0xbf1
push 0x6e16
push 0x763e
push 0x5b0a
push 0x466a
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x5555
push 0x2247
lea eax, [ebp - 0x1e0]
push eax
push 1
push 0x3703
push 0x1477
call fcn.0040b6ac
add esp, 0x38
mov dword [ebp - 0x2c], 0
jmp 0x40a907
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x40a91d
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1a8], 0xffffffff
jmp 0x40a900
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x288], eax
push 1
lea ecx, [ebp - 0x1e0]
call fcn.00433726
cmp dword [eax], 0x73948b08
jne 0x40a947
mov dword [ebp - 0xc0], 1
jmp 0x40a94e
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
sub eax, 0x4ebc16a6
sub eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x54]
jge 0x40a96c
or eax, 0xffffffff
jne 0x40a96c
and dword [ebp - 0x80], 0
jmp 0x40a973
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x260], eax
push 1
lea ecx, [ebp - 0x1e0]
call fcn.00433726
mov esi, eax
push 1
lea ecx, [ebp - 0x1e0]
call fcn.00433726
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x40a9ad
mov dword [ebp - 0x6c], 1
jmp 0x40a9b1
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x1a8], ecx
push 0
push 0x2c95
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0x77f6
call fcn.0042813c
add esp, 0x14
lea ecx, [ebp - 0x25c]
call fcn.0043370a
lea ecx, [ebp - 0x1e0]
call fcn.0043370a
push 3
lea ecx, [ebp - 0x230]
call fcn.00433638
mov dword [ebp - 0x88], 0xcd53bc6e
lea eax, [ebp - 0x280]
push eax
push 0x7d33
lea eax, [ebp - 0x230]
push eax
push 0
call fcn.0040d317
add esp, 0x10
lea eax, [ebp - 0x88]
push eax
push 0
push 0x3fac
call fcn.0041233b
add esp, 0xc
push 1
push 0
push 0
lea eax, [ebp - 0x230]
push eax
push 1
lea eax, [ebp - 0x88]
push eax
call fcn.0041d3ca
add esp, 0x18
lea ecx, [ebp - 0x230]
call fcn.0043370a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x40aa82
mov dword [ebp - 0xc8], 1
jmp 0x40aa89
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x1b4], eax
push 3
lea ecx, [ebp - 0x100]
call fcn.00433638
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0xe8], 0x3938
push 0x2053
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x248]
push eax
push 0x30d3
push 1
push 0x7b2a
push 0
push 0
call fcn.0042ba34
add esp, 0x20
mov dword [ebp - 0x14], 0
jmp 0x40aaf5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x40abed
mov dword [ebp - 0x178], 0xffffffff
push 2
lea ecx, [ebp - 0x100]
call fcn.00433726
cmp dword [eax], 0
jne 0x40ab36
push 1
lea ecx, [ebp - 0x100]
call fcn.00433726
cmp dword [eax], 0
jne 0x40ab36
and dword [ebp - 0x90], 0
jmp 0x40ab40
mov dword [ebp - 0x90], 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x100]
call fcn.00433726
mov eax, dword [eax]
imul eax, dword [ebp - 0x90]
test eax, eax
je 0x40abc3
mov dword [ebp - 0x15c], 0xfffa
mov dword [ebp - 0x1b0], 0x168aa2
mov dword [ebp - 0x1b8], 0xe3f9150f
lea eax, [ebp - 0x15c]
push eax
push 0x3567
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1b0]
push eax
push 1
lea eax, [ebp - 0x1b8]
push eax
push 0
lea eax, [ebp - 0x100]
push eax
push 0x7de
push 1
push 0x3791
lea eax, [ebp - 0x24]
push eax
push 0x909
call fcn.0041f773
add esp, 0x38
jmp 0x40abd3
lea eax, [ebp - 0xe8]
push eax
push 0
call fcn.0040f462
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0040cbc3
add esp, 0xc
jmp 0x40aaee
mov dword [ebp - 0x24], 0
jmp 0x40abfd
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x10
jge 0x40ac59
mov dword [ebp - 0x174], 0xfffffff8
mov dword [ebp - 0x1a4], 0x90b1c5ad
mov dword [ebp - 0x168], 0x12ce33a9
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x168]
push eax
push 0x3f96
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0040f2d2
add esp, 0x20
jmp 0x40abf6
lea ecx, [ebp - 0x100]
call fcn.0043370a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x40ac7d
mov dword [ebp - 0x98], 1
jmp 0x40ac84
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x1c], 0x324ec2e0
mov dword [ebp - 0x204], 0xfff8
mov dword [ebp - 0x200], 0xfff8
mov dword [ebp - 0x1fc], 0xfff8
mov dword [ebp - 0x1f8], 0xfff8
lea ecx, [ebp - 0x61]
call fcn.00433735
push eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x294]
call fcn.00433738
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x10c]
call fcn.004336e4
mov dword [ebp - 0x1f0], 0x746e
mov dword [ebp - 0x1ec], 0x746e
mov dword [ebp - 0x1e8], 0x746e
mov dword [ebp - 0x1e4], 0x746e
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x70], 0
push 3
lea ecx, [ebp - 0x23c]
call fcn.00433638
lea eax, [ebp - 0x244]
push eax
push 0x6a2b
push 0x11ac
push 0x4ea4
push 0
push 1
push 1
lea eax, [ebp - 0x23c]
push eax
push 0x3a7
call fcn.0040e467
add esp, 0x24
mov dword [ebp - 0x1c], 0
jmp 0x40ad74
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x11
jl 0x40adc0
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x48], 0
jmp 0x40ad91
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jg 0x40adbe
push 0x7120
push 0
push 0x5833
push 0x6b89
push 1
push 0x4b9a
push 0x1aec
call fcn.00422fe8
add esp, 0x1c
jmp 0x40ad8a
jmp 0x40ad6d
push 1
lea ecx, [ebp - 0x10c]
call fcn.00433726
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x40ade4
mov dword [ebp - 0xd0], 1
jmp 0x40adeb
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xfffa
jb 0x40ae03
mov dword [ebp - 0xa0], 1
jmp 0x40ae0a
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xffffffff
jne 0x40ae1f
mov dword [ebp - 0xf4], 1
jmp 0x40ae26
and dword [ebp - 0xf4], 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.00433726
mov eax, dword [eax]
cmp eax, dword [ebp - 0xf4]
jg 0x40ae49
mov dword [ebp - 0xa8], 1
jmp 0x40ae50
and dword [ebp - 0xa8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f0]
cmp dword [ebp - 0xa8], eax
jg 0x40ae71
mov dword [ebp - 0xd8], 1
jmp 0x40ae78
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f0]
cmp dword [ebp - 0xd8], eax
jle 0x40ae99
mov dword [ebp - 0xb0], 1
jmp 0x40aea0
and dword [ebp - 0xb0], 0
push 3
lea ecx, [ebp - 0x10c]
call fcn.00433726
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jl 0x40aec3
mov dword [ebp - 0xf0], 1
jmp 0x40aeca
and dword [ebp - 0xf0], 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.00433726
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax]
je 0x40aeed
mov dword [ebp - 0xb8], 1
jmp 0x40aef4
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x7153413f
jne 0x40af18
mov dword [ebp - 0x1cc], 1
jmp 0x40af1f
and dword [ebp - 0x1cc], 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.00433726
cmp dword [ebp - 0x60], 0x7525
jl 0x40af3e
mov dword [ebp - 0x74], 1
jmp 0x40af42
and dword [ebp - 0x74], 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.00433726
mov esi, dword [ebp - 0x74]
sub esi, dword [eax]
push 2
lea ecx, [ebp - 0x23c]
call fcn.00433726
mov dword [eax], esi
lea ecx, [ebp - 0x23c]
call fcn.0043370a
lea ecx, [ebp - 0x10c]
call fcn.0043370a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x40af8f
mov dword [ebp - 0x7c], 1
jmp 0x40af93
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x28], 0xfffffff8
mov dword [ebp - 0x20], 0x188753e
mov dword [ebp - 0x1ac], 8
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0x3c], 0
jmp 0x40afce
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x40afe4
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x128], 0xffffffff
jmp 0x40afc7
mov dword [ebp - 0x28], 0
jmp 0x40aff4
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jg 0x40b1c0
mov dword [ebp - 4], 0x29bf390
mov dword [ebp - 0x17c], 0x17d72b90
mov dword [ebp - 4], 2
jmp 0x40b01f
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40b1b3
mov dword [ebp - 0x44], 0
jmp 0x40b039
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x40b04f
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x184], 1
jmp 0x40b032
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 4], eax
jne 0x40b069
mov dword [ebp - 0x84], 1
jmp 0x40b070
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x128]
cmp eax, dword [ebp - 0x84]
je 0x40b08e
mov dword [ebp - 0x8c], 1
jmp 0x40b095
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
neg eax
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x128], 0x6dd2cc91
jl 0x40b0bf
mov dword [ebp - 0x94], 1
jmp 0x40b0c6
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xffff
jbe 0x40b0de
mov dword [ebp - 0x9c], 1
jmp 0x40b0e5
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0x9c], eax
jg 0x40b10c
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x128], 0
je 0x40b10c
mov dword [ebp - 0xa4], 1
jmp 0x40b113
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x128]
cmp eax, dword [ebp - 0xa4]
jle 0x40b131
mov dword [ebp - 0xac], 1
jmp 0x40b138
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0xa6d
jl 0x40b150
mov dword [ebp - 0xb4], 1
jmp 0x40b157
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x128]
cmp dword [ebp - 0xb4], eax
je 0x40b172
mov dword [ebp - 0x68], 1
jmp 0x40b176
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x184], ecx
cmp dword [ebp - 0x68], 0xaf9d66de
ja 0x40b19b
mov dword [ebp - 0xbc], 1
jmp 0x40b1a2
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x1c4], eax
jmp 0x40b018
push 0
call fcn.0040df1e
pop ecx
jmp 0x40afed
mov dword [ebp - 0x20], 0xfffffff2
jmp 0x40b1d0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xd
jg 0x40b25e
mov dword [ebp - 0xc4], 0xfffffff8
mov dword [ebp - 0xcc], 0xffffffff
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0xc4]
push eax
push 0xdff
push 0x563b
call fcn.004124de
add esp, 0x18
push 4
pop eax
shl eax, 1
push 0xfffffffffffffffb
pop ecx
sub ecx, dword [ebp - 0xc4]
cmp dword [ebp + eax - 0x128], ecx
jle 0x40b246
cmp dword [ebp - 0xcc], 0
jne 0x40b246
mov eax, 0x68dd2ac3
test eax, eax
jne 0x40b246
and dword [ebp - 0xd4], 0
jmp 0x40b250
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x28], eax
jmp 0x40b1c9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x40b294
push 0x4000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
push dword [eax + 8]
push 0x9973
push 0xb6f1
call fcn.004067f0
pop ecx
pop ecx
call eax
jmp 0x40a817
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x77c1
push 0x4830
push 0x1576
push 0x6332
push 0
push 0
push 0x500
lea eax, [ebp - 0x194]
push eax
push 0x7ae6
lea eax, [ebp - 8]
push eax
push 0x6c39
call fcn.00414ed6
add esp, 0x38
mov dword [ebp - 0x18], 0xb7c7ce53
mov dword [ebp - 0x38], 0
jmp 0x40b2fa
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x40b310
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x26c], 0xfffffff7
jmp 0x40b2f3
mov dword [ebp - 0x18], 0
jmp 0x40b320
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x40b358
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x26c]
mov dword [ebp + ecx*4 - 0x26c], eax
mov byte [ebp - 0xe], 0
push 0x22f1
push 0x3a42
push 0
lea eax, [ebp - 0xe]
push eax
call fcn.00408a81
add esp, 0x10
jmp 0x40b319
mov byte [ebp - 0xf], 0
lea eax, [ebp - 0xf]
push eax
push 0x77ed
push 0
push 0x1b94
call fcn.004284ec
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xe4]
push eax
push 0x63cc
push 0
lea eax, [ebp - 0x40]
push eax
push 0x6043
push 1
call fcn.004124b5
add esp, 0x1c
push 1
push 0
push 0
push 0x4aca
call fcn.0041e192
add esp, 0x10
cmp dword [ebp - 0xe4], 0
jbe 0x40b4a2
mov dword [ebp - 0x164], 0xdada439b
mov dword [ebp - 0x1d4], 1
mov dword [ebp - 0xdc], 0x32d7af2c
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x1bc], 0xfffffffa
push 3
lea ecx, [ebp - 0x27c]
call fcn.00433638
mov dword [ebp - 0x284], 9
push 0x1907
push 0
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00416e16
add esp, 0x10
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1bc]
push eax
push 0
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0042770c
add esp, 0x18
push 0
lea eax, [ebp - 0xdc]
push eax
push 0x7915
push 1
push 0x461b
push 1
call fcn.00415d00
add esp, 0x18
lea ecx, [ebp - 0x27c]
call fcn.0043370a
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x170]
push dword [ebp - 0xe4]
mov eax, dword [ebp - 8]
push dword [eax + 8]
push 0x9973
push 0xab25
call fcn.004067f0
pop ecx
pop ecx
call eax
jmp 0x40a817
jmp 0x40b4f1
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [eax], 1
mov eax, dword [ebp - 0x148]
mov dword [eax], 1
jmp 0x40b520
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x150], eax
push dword [ebp - 0x150]
push 0
push dword [ebp - 0x158]
push 0x3b90
call fcn.004135da
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret