Function at 0x423910
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6abb
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521da0]
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.0041ab10
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 0x4239e5
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x4239e5
add edx, ecx
push edi
push edx
lea edx, [esp + 0x20]
push edx
call fcn.00497eb0
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 0x423c93
lea esp, [esp]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp ecx, ebx
je 0x423a25
lea ebp, [eax + 4]
cmp ecx, ebp
jl 0x423a25
add edx, eax
push edi
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00497eb0
add esp, 0xc
add dword [esi + 0x18], edi
cmp dword [esp + 0x18], 0x270f
je 0x423c80
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 8]
cmp eax, ebx
je 0x423a5b
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x423a5b
add edx, ecx
push edi
push edx
lea ecx, [esp + 0x38]
push ecx
call fcn.00497eb0
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 0x423a83
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x423a83
add edx, ecx
push edi
push edx
lea edx, [esp + 0x4c]
push edx
call fcn.00497eb0
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 0x423aab
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x423aab
push edi
add edx, ecx
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00497eb0
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 0x423ad3
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x423ad3
add edx, ecx
push edi
push edx
lea ecx, [esp + 0x54]
push ecx
call fcn.00497eb0
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 0x423afb
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x423afb
add edx, ecx
push edi
push edx
lea edx, [esp + 0x48]
push edx
call fcn.00497eb0
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 0x423b23
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x423b23
push edi
add edx, ecx
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00497eb0
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 0x423b4b
lea ebp, [ecx + 4]
cmp eax, ebp
jl 0x423b4b
add edx, ecx
push edi
push edx
lea ecx, [esp + 0x60]
push ecx
call fcn.00497eb0
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.0041be10
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x423c74
push eax
call fcn.00497e19
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 0x423a00
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 0x423cd3
jmp 0x423cb0
mov eax, dword [edi + 8]
push eax
mov ecx, ebp
call fcn.0040edc0
mov ecx, dword [esp + 0x1c]
mov edi, dword [edi]
push ecx
call fcn.00485196
add esp, 4
mov dword [esp + 0x1c], edi
cmp byte [edi + 0x15], bl
je 0x423cb0
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 0x423d0d
lea edx, [ecx + 4]
cmp eax, edx
jl 0x423d0d
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x423d9c
nop
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x423d46
lea edx, [ecx + 4]
cmp eax, edx
jl 0x423d46
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00497eb0
add esp, 0xc
add dword [esi + 0x18], 4
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x423d70
lea edx, [ecx + 4]
cmp eax, edx
jl 0x423d70
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00497eb0
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.0041be80
inc edi
cmp edi, dword [esp + 0x20]
jl 0x423d20
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
cmp ecx, ebx
je 0x423dc2
lea edx, [eax + 4]
cmp ecx, edx
jl 0x423dc2
mov ecx, dword [esi + 8]
push 4
add ecx, eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00497eb0
add esp, 0xc
add dword [esi + 0x18], 4
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x423f5f
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x423de5
push eax
call fcn.00497e19
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
cmp ecx, ebx
je 0x423e0b
lea edx, [eax + 4]
cmp ecx, edx
jl 0x423e0b
mov ecx, dword [esi + 8]
push 4
add ecx, eax
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00497eb0
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 0x423e2f
call fcn.00496353
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 0x423e67
lea edx, [ecx + 4]
cmp eax, edx
jl 0x423e67
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
mov edx, dword [esp + 0x18]
add dword [esi + 0x18], ebp
push edx
call fcn.00497d4f
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 0x423ea8
lea ebp, [eax + edx]
cmp ecx, ebp
jl 0x423ea8
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esp + 0x28]
add ecx, eax
push ecx
push edx
call fcn.00497eb0
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.00495e20
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 0x423f13
lea esp, [esp]
add dword [edi + 0x254], 0x40
mov eax, dword [edi + 0x254]
mov ecx, dword [edi + 0x250]
push eax
push ecx
call fcn.00497ae5
mov dword [edi + 0x250], eax
mov edx, dword [edi + 0x258]
add edx, ebp
add esp, 8
cmp dword [edi + 0x254], edx
jl 0x423ee0
mov ecx, dword [edi + 0x250]
mov eax, dword [esp + 0x24]
add ecx, dword [edi + 0x258]
push ebp
push eax
push ecx
call fcn.00497eb0
add dword [edi + 0x258], ebp
add esp, 0xc
mov ecx, edi
call fcn.0041e0b0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x423dd4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x423f5f
push eax
call fcn.00497e19
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 0x423feb
jmp 0x423f94
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
sar edx, 2
cmp edi, edx
jb 0x423faa
call fcn.00496353
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + edi*4]
cmp edi, ebx
je 0x423fde
mov dword [edi + 0x24], ebx
mov eax, dword [edi + 0x38]
cmp eax, ebx
je 0x423fc7
push eax
call fcn.00497e19
add esp, 4
push edi
mov dword [edi + 0x3c], 0x40
mov dword [edi + 0x40], ebx
call fcn.00485196
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x423f90
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
cmp dword [ebp + 0xc], eax
jbe 0x423ffc
call fcn.00496353
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp]
mov dword [esp + 0x28], edx
cmp edi, dword [ebp + 0x10]
jbe 0x424010
call fcn.00496353
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.0041ab70
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x424051
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424051
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00497eb0
add esp, 0xc
add dword [esi + 0x18], 4
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x42437b
push 0x60
call fcn.00485167
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4240c4
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 [0x4ce574]
push ebp
mov dword [edi], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call dword [0x4ce574]
jmp 0x4240c6
xor edi, edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], edi
cmp eax, ebx
je 0x4240f6
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4240f6
mov eax, dword [esi + 8]
mov ebp, 4
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
jmp 0x4240fb
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 0x42412a
lea edx, [ecx + 4]
cmp eax, edx
jl 0x42412a
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x424159
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424159
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x424188
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424188
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x4241b7
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4241b7
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
mov edx, dword [esp + 0x18]
add dword [esi + 0x18], 4
push edx
call fcn.00497d4f
mov ecx, dword [edi + 0x38]
mov ebp, eax
mov eax, dword [edi + 0x3c]
push eax
push ebx
push ecx
call fcn.00495e20
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 0x424204
add edx, ecx
cmp eax, edx
jl 0x424204
mov edx, dword [esi + 8]
add edx, dword [esi + 0x18]
push ecx
push edx
push ebp
call fcn.00497eb0
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.00497e19
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
add esp, 4
cmp eax, ebx
je 0x424270
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424270
mov eax, dword [esi + 8]
mov ebp, 4
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
jmp 0x424275
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 0x4242a4
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4242a4
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x4242d3
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4242d3
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x424302
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424302
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x42431d
xor ecx, ecx
jmp 0x424325
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 0x424343
mov eax, dword [esp + 0x24]
mov dword [eax], edi
add eax, 4
mov dword [ebp + 0x10], eax
jmp 0x424368
cmp eax, dword [esp + 0x24]
jbe 0x42434e
call fcn.00496353
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.0041c640
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x424063
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 0x42441b
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sar ecx, 2
cmp dword [esp + 0x1c], ecx
jb 0x4243b8
call fcn.00496353
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 0x42440e
mov eax, dword [edi]
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x4243e4
mov ecx, eax
call fcn.0040d2a0
mov edx, dword [esp + 0x24]
push edx
call fcn.00485196
add esp, 4
mov dword [edi + 0x24], ebx
mov eax, dword [edi + 0x38]
cmp eax, ebx
je 0x4243f7
push eax
call fcn.00497e19
add esp, 4
push edi
mov dword [edi + 0x3c], 0x40
mov dword [edi + 0x40], ebx
call fcn.00485196
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x4243a0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
cmp dword [ebp + 0xc], eax
jbe 0x42442c
call fcn.00496353
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x34], eax
cmp edi, dword [ebp + 0x10]
jbe 0x424440
call fcn.00496353
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.0041ab70
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x424484
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424484
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00497eb0
add esp, 0xc
add dword [esi + 0x18], 4
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x4247ae
push 0x60
call fcn.00485167
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4244f7
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 [0x4ce574]
push ebp
mov dword [edi], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call dword [0x4ce574]
jmp 0x4244f9
xor edi, edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x34], edi
cmp eax, ebx
je 0x424529
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424529
mov eax, dword [esi + 8]
mov ebp, 4
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
jmp 0x42452e
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 0x42455d
lea edx, [ecx + 4]
cmp eax, edx
jl 0x42455d
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x42458c
lea edx, [ecx + 4]
cmp eax, edx
jl 0x42458c
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x4245bb
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4245bb
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x4245ea
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4245ea
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
mov edx, dword [esp + 0x18]
add dword [esi + 0x18], 4
push edx
call fcn.00497d4f
mov ecx, dword [edi + 0x38]
mov ebp, eax
mov eax, dword [edi + 0x3c]
push eax
push ebx
push ecx
call fcn.00495e20
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 0x424637
add edx, ecx
cmp eax, edx
jl 0x424637
mov edx, dword [esi + 8]
add edx, dword [esi + 0x18]
push ecx
push edx
push ebp
call fcn.00497eb0
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.00497e19
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
add esp, 4
cmp eax, ebx
je 0x4246a3
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4246a3
mov eax, dword [esi + 8]
mov ebp, 4
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
jmp 0x4246a8
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 0x4246d7
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4246d7
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x424706
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424706
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x424735
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424735
mov eax, dword [esi + 8]
add eax, ecx
push ebp
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
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 0x424750
xor ecx, ecx
jmp 0x424758
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 0x424776
mov eax, dword [esp + 0x24]
mov dword [eax], edi
add eax, 4
mov dword [ebp + 0x10], eax
jmp 0x42479b
cmp eax, dword [esp + 0x24]
jbe 0x424781
call fcn.00496353
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.0041c640
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x424496
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
je 0x4247d6
lea edx, [ecx + 4]
cmp eax, edx
jl 0x4247d6
mov eax, dword [esi + 8]
add eax, ecx
push 4
push eax
lea ecx, [esi + 0xb14]
push ecx
call fcn.00497eb0
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 0x424805
lea edx, [ecx + 4]
cmp eax, edx
jl 0x424805
mov eax, dword [esi + 8]
add eax, ecx
push edi
push eax
lea ecx, [esi + 0x18c4]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [esp + 0x64]
add dword [esi + 0x18], edi
mov dword [esp + 0x50], ebx
cmp eax, ebx
je 0x42481d
push eax
call fcn.00497e19
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