Function at 0x4251a0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7e6b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x522d80]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 4]
lea edi, [esi + 0x70]
push ecx
mov ecx, edi
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x28], ebx
call fcn.0041c490
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov edi, dword [edi + 0x18]
mov dword [edi + 8], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
lea edi, [ebx + 4]
cmp eax, ebx
je 0x425275
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x425275
add edx, ecx
push edi
push edx
lea edx, [esp + 0x20]
push edx
call fcn.00498c80
add esp, 0xc
mov eax, dword [esp + 0x18]
add dword [esi + 0x18], edi
cmp eax, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
jle 0x425523
lea esp, [esp]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp ecx, ebx
je 0x4252b5
lea ebp, [eax + 4]
cmp ecx, ebp
jl 0x4252b5
add edx, eax
push edi
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], edi
cmp dword [esp + 0x18], 0x270f
je 0x425510
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp eax, ebx
je 0x4252eb
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x4252eb
add edx, ecx
push edi
push edx
lea ecx, [esp + 0x38]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp eax, ebx
je 0x425313
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x425313
add edx, ecx
push edi
push edx
lea edx, [esp + 0x4c]
push edx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp eax, ebx
je 0x42533b
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x42533b
push edi
add edx, ecx
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp eax, ebx
je 0x425363
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x425363
add edx, ecx
push edi
push edx
lea ecx, [esp + 0x54]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp eax, ebx
je 0x42538b
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x42538b
add edx, ecx
push edi
push edx
lea edx, [esp + 0x48]
push edx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp eax, ebx
je 0x4253b3
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x4253b3
push edi
add edx, ecx
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp eax, ebx
je 0x4253db
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x4253db
add edx, ecx
push edi
push edx
lea ecx, [esp + 0x60]
push ecx
call fcn.00498c80
add esp, 0xc
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
add dword [esi + 0x18], 4
mov dword [esp + 0xb8], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xb4], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xc8], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0xcc], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0xb0], eax
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x90], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], 0xffffffff
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esi + 0x70]
mov byte [esp + 0xf8], 2
call fcn.0041d900
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x425504
push eax
call fcn.00498be9
add esp, 4
mov byte [esp + 0xf0], bl
mov edi, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x425290
mov edx, dword [esi + 0xa8]
mov edi, dword [edx + 4]
lea ebp, [esi + 0x90]
mov dword [esp + 0x1c], edi
cmp byte [edi + 0x15], bl
jne 0x425563
jmp 0x425540
mov eax, dword [edi + 8]
push eax
mov ecx, ebp
call fcn.0040f230
mov ecx, dword [esp + 0x1c]
mov edi, dword [edi]
push ecx
call fcn.00485fc1
add esp, 4
mov dword [esp + 0x1c], edi
cmp byte [edi + 0x15], bl
je 0x425540
mov eax, dword [ebp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x1c], ebx
mov dword [eax], eax
mov eax, dword [ebp + 0x18]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x42559d
lea edx, [ecx + 4]
cmp eax, edx
jl 0x42559d
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [esp + 0x18]
add dword [esi + 0x18], 4
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x20], eax
jle 0x42562c
nop
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x4255d6
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4255d6
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], 4
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425600
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425600
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00498c80
add esp, 0xc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
add dword [esi + 0x18], 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.0041d970
inc edi
cmp edi, dword [esp + 0x20]
jl 0x4255b0
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
cmp ecx, ebx
je 0x425652
lea edx, [eax + 4]
cmp ecx, edx
jl 0x425652
mov ecx, dword [esi + 8]
push 4
add ecx, eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], 4
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x4257ef
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x425675
push eax
call fcn.00498be9
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
cmp ecx, ebx
je 0x42569b
lea edx, [eax + 4]
cmp ecx, edx
jl 0x42569b
mov ecx, dword [esi + 8]
push 4
add ecx, eax
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00498c80
add esp, 0xc
mov edi, dword [esp + 0x18]
mov ebp, 4
add dword [esi + 0x18], ebp
mov eax, dword [esi + 0xd0]
sub eax, dword [esi + 0xcc]
sar eax, 2
cmp edi, eax
jb 0x4256bf
call fcn.00497123
mov ecx, dword [esi + 0xcc]
mov edi, dword [ecx + edi*4]
mov dword [edi + 0xb8], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x4256f7
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4256f7
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
mov edx, dword [esp + 0x18]
add dword [esi + 0x18], ebp
push edx
call fcn.00498b1f
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x34], edx
cmp ecx, ebx
je 0x425738
lea ebp, [eax + edx]
cmp ecx, ebp
jl 0x425738
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esp + 0x28]
add ecx, eax
push ecx
push edx
call fcn.00498c80
add esp, 0xc
mov eax, dword [esp + 0x34]
add dword [esi + 0x18], eax
mov ecx, dword [edi + 0x254]
mov edx, dword [edi + 0x250]
push ecx
push ebx
push edx
call fcn.00496bf0
mov dword [edi + 0x258], ebx
mov ebp, dword [esp + 0x24]
mov eax, ebx
add eax, ebp
add esp, 0xc
cmp dword [edi + 0x254], eax
jge 0x4257a3
lea esp, [esp]
add dword [edi + 0x254], 0x40
mov eax, dword [edi + 0x254]
mov ecx, dword [edi + 0x250]
push eax
push ecx
call fcn.004988b5
mov dword [edi + 0x250], eax
mov edx, dword [edi + 0x258]
add edx, ebp
add esp, 8
cmp dword [edi + 0x254], edx
jl 0x425770
mov ecx, dword [edi + 0x250]
mov eax, dword [esp + 0x24]
add ecx, dword [edi + 0x258]
push ebp
push eax
push ecx
call fcn.00498c80
add dword [edi + 0x258], ebp
add esp, 0xc
mov ecx, edi
call fcn.0041f940
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x425664
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4257ef
push eax
call fcn.00498be9
add esp, 4
mov eax, dword [esi + 0x1848]
sub eax, dword [esi + 0x1844]
lea ebp, [esi + 0x1838]
sar eax, 2
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
jle 0x42587b
jmp 0x425824
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
sar edx, 2
cmp edi, edx
jb 0x42583a
call fcn.00497123
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + edi*4]
cmp edi, ebx
je 0x42586e
mov dword [edi + 0x24], ebx
mov eax, dword [edi + 0x38]
cmp eax, ebx
je 0x425857
push eax
call fcn.00498be9
add esp, 4
push edi
mov dword [edi + 0x3c], 0x40
mov dword [edi + 0x40], ebx
call fcn.00485fc1
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x425820
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
cmp dword [ebp + 0xc], eax
jbe 0x42588c
call fcn.00497123
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp]
mov dword [esp + 0x28], edx
cmp edi, dword [ebp + 0x10]
jbe 0x4258a0
call fcn.00497123
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov eax, dword [ebp]
push ecx
push edx
push edi
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.004324f0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x4258e1
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4258e1
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], 4
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x425c0b
push 0x60
call fcn.00485f87
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x425954
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
or eax, 0xffffffff
lea ebp, [edi + 0x44]
mov dword [edi + 0x24], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
push ebp
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
call dword [0x4cf574]
push ebp
mov dword [edi], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call dword [0x4cf574]
jmp 0x425956
xor edi, edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], edi
cmp eax, ebx
je 0x425986
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425986
mov eax, dword [esi + 8]
mov ebp, 4
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
jmp 0x42598b
mov ebp, 4
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 4], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x4259ba
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4259ba
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x4259e9
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4259e9
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425a18
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425a18
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425a47
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425a47
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
mov edx, dword [esp + 0x18]
add dword [esi + 0x18], 4
push edx
call fcn.00498b1f
mov ecx, dword [edi + 0x38]
mov ebp, eax
mov eax, dword [edi + 0x3c]
push eax
push ebx
push ecx
call fcn.00496bf0
mov dword [edi + 0x40], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x18]
add esp, 0x10
mov dword [esp + 0x34], ecx
cmp eax, ebx
je 0x425a94
add edx, ecx
cmp eax, edx
jl 0x425a94
mov edx, dword [esi + 8]
add edx, dword [esi + 0x18]
push ecx
push edx
push ebp
call fcn.00498c80
add esp, 0xc
mov eax, dword [esp + 0x34]
add dword [esi + 0x18], eax
mov ecx, dword [ebp]
mov dword [edi + 0x14], ecx
mov edx, dword [ebp + 4]
mov dword [edi + 0x18], edx
mov eax, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x20], ecx
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x28], edx
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp + 0x1c]
mov dword [edi + 0x30], ecx
mov edx, dword [ebp + 0x20]
push ebp
mov dword [edi + 0x34], edx
call fcn.00498be9
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
add esp, 4
cmp eax, ebx
je 0x425b00
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425b00
mov eax, dword [esi + 8]
mov ebp, 4
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
jmp 0x425b05
mov ebp, 4
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0x44], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425b34
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425b34
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0x4c], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425b63
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425b63
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0x48], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425b92
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425b92
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
lea ebp, [esi + 0x1838]
mov dword [edi + 0x50], edx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x425bad
xor ecx, ecx
jmp 0x425bb5
mov ecx, dword [ebp + 0x14]
sub ecx, eax
sar ecx, 2
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x24], edx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x425bd3
mov eax, dword [esp + 0x24]
mov dword [eax], edi
add eax, 4
mov dword [ebp + 0x10], eax
jmp 0x425bf8
cmp eax, dword [esp + 0x24]
jbe 0x425bde
call fcn.00497123
mov edx, dword [esp + 0x24]
mov eax, dword [ebp]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
call fcn.004605c0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x4258f3
mov eax, dword [esi + 0x1830]
sub eax, dword [esi + 0x182c]
lea ebp, [esi + 0x1820]
sar eax, 2
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
jle 0x425cab
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sar ecx, 2
cmp dword [esp + 0x1c], ecx
jb 0x425c48
call fcn.00497123
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edi, dword [edx + ecx*4]
cmp edi, ebx
je 0x425c9e
mov eax, dword [edi]
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x425c74
mov ecx, eax
call fcn.0040d4c0
mov edx, dword [esp + 0x24]
push edx
call fcn.00485fc1
add esp, 4
mov dword [edi + 0x24], ebx
mov eax, dword [edi + 0x38]
cmp eax, ebx
je 0x425c87
push eax
call fcn.00498be9
add esp, 4
push edi
mov dword [edi + 0x3c], 0x40
mov dword [edi + 0x40], ebx
call fcn.00485fc1
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x425c30
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
cmp dword [ebp + 0xc], eax
jbe 0x425cbc
call fcn.00497123
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x34], eax
cmp edi, dword [ebp + 0x10]
jbe 0x425cd0
call fcn.00497123
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov eax, dword [ebp]
push ecx
push edx
push edi
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, ebp
call fcn.004324f0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425d14
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425d14
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], 4
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x42603e
push 0x60
call fcn.00485f87
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x425d87
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
or eax, 0xffffffff
lea ebp, [edi + 0x44]
mov dword [edi + 0x24], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
push ebp
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
call dword [0x4cf574]
push ebp
mov dword [edi], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call dword [0x4cf574]
jmp 0x425d89
xor edi, edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x34], edi
cmp eax, ebx
je 0x425db9
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425db9
mov eax, dword [esi + 8]
mov ebp, 4
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
jmp 0x425dbe
mov ebp, 4
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 4], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425ded
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425ded
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425e1c
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425e1c
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425e4b
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425e4b
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425e7a
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425e7a
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
mov edx, dword [esp + 0x18]
add dword [esi + 0x18], 4
push edx
call fcn.00498b1f
mov ecx, dword [edi + 0x38]
mov ebp, eax
mov eax, dword [edi + 0x3c]
push eax
push ebx
push ecx
call fcn.00496bf0
mov dword [edi + 0x40], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x18]
add esp, 0x10
mov dword [esp + 0x28], ecx
cmp eax, ebx
je 0x425ec7
add edx, ecx
cmp eax, edx
jl 0x425ec7
mov edx, dword [esi + 8]
add edx, dword [esi + 0x18]
push ecx
push edx
push ebp
call fcn.00498c80
add esp, 0xc
mov eax, dword [esp + 0x28]
add dword [esi + 0x18], eax
mov ecx, dword [ebp]
mov dword [edi + 0x14], ecx
mov edx, dword [ebp + 4]
mov dword [edi + 0x18], edx
mov eax, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x20], ecx
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x28], edx
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp + 0x1c]
mov dword [edi + 0x30], ecx
mov edx, dword [ebp + 0x20]
push ebp
mov dword [edi + 0x34], edx
call fcn.00498be9
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
add esp, 4
cmp eax, ebx
je 0x425f33
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425f33
mov eax, dword [esi + 8]
mov ebp, 4
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
jmp 0x425f38
mov ebp, 4
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0x44], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425f67
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425f67
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0x4c], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425f96
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425f96
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
mov dword [edi + 0x48], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x425fc5
lea edx, [ecx + 4]
cmp eax, edx
jl 0x425fc5
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
add dword [esi + 0x18], ebp
mov edx, dword [esp + 0x18]
lea ebp, [esi + 0x1820]
mov dword [edi + 0x50], edx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x425fe0
xor ecx, ecx
jmp 0x425fe8
mov ecx, dword [ebp + 0x14]
sub ecx, eax
sar ecx, 2
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x24], edx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x426006
mov eax, dword [esp + 0x24]
mov dword [eax], edi
add eax, 4
mov dword [ebp + 0x10], eax
jmp 0x42602b
cmp eax, dword [esp + 0x24]
jbe 0x426011
call fcn.00497123
mov edx, dword [esp + 0x24]
mov eax, dword [ebp]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
call fcn.004605c0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x425d26
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x426066
lea edx, [ecx + 4]
cmp eax, edx
jl 0x426066
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esi + 0xb14]
push ecx
call fcn.00498c80
add esp, 0xc
mov edi, 4
add dword [esi + 0x18], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x426095
lea edx, [ecx + 4]
cmp eax, edx
jl 0x426095
mov eax, dword [esi + 8]
add eax, ecx
push edi
push eax
lea ecx, [esi + 0x18c4]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [esp + 0x64]
add dword [esi + 0x18], edi
mov dword [esp + 0x50], ebx
cmp eax, ebx
je 0x4260ad
push eax
call fcn.00498be9
add esp, 4
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret