Function at 0x451920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x52a2f8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x3c]
or ebx, 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], ebx
test ecx, ecx
js 0x451976
cmp ecx, dword [esi + 0x34]
jge 0x451976
imul eax, ecx, 0x34
mov ebx, ecx
add eax, dword [esi + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
push 0
push 0
push 0
mov ecx, esi
call fcn.00452920
cmp eax, dword [esi + 0x80]
je 0x4519b9
mov dword [esi + 0x80], eax
cmp eax, 0xffffffff
je 0x4519a6
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
mov edx, dword [eax + ecx*4 + 4]
mov eax, dword [eax + ecx*4 + 8]
jmp 0x4519ab
or edx, 0xffffffff
or eax, edx
push eax
push edx
push 0x10000001
mov ecx, esi
call fcn.004534e0
mov edi, dword [esi]
mov ecx, esi
push 0
call fcn.00452ac0
push eax
mov ecx, esi
call dword [edi + 0x1c]
test eax, eax
je 0x451a04
mov eax, dword [esi + 0x74]
cmp eax, 0xffffffff
je 0x4519f6
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
mov edx, dword [eax + ecx*4 + 4]
shl edx, 0x10
or edx, dword [eax + ecx*4 + 8]
mov eax, dword [eax + ecx*4 + 0xc]
xor ecx, ecx
cmp dword [eax + 0x14], 0xffffffff
setne cl
jmp 0x4519fb
or edx, 0xffffffff
xor ecx, ecx
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x10]
push 1
push 1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00452920
cmp eax, dword [esi + 0x84]
je 0x451a30
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x64], eax
cmp dword [esi + 0x88], 0
je 0x451af2
mov eax, dword [esi + 0x74]
cmp eax, 0xffffffff
je 0x451af2
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
imul ecx, dword [eax + ecx*4 + 4], 0x34
mov eax, dword [esi + 0x38]
cmp dword [ecx + eax + 0x10], 0
je 0x451af2
lea ecx, [esp + 0x10]
call fcn.0049bab0
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x78], eax
jne 0x451a7d
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x7c], eax
je 0x451af2
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
push dword [eax + ecx*4 + 4]
mov ecx, esi
call fcn.00452d90
mov eax, dword [esi + 0x74]
mov edx, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
push dword [eax + ecx*4 + 8]
push dword [eax + ecx*4 + 4]
mov ecx, esi
call dword [edx + 0x24]
mov edi, dword [esp + 0x24]
mov ecx, eax
test edi, edi
je 0x451aba
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x7c], eax
test ecx, ecx
je 0x451af6
mov eax, dword [esi + 0x74]
push 0
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx + 4]
shl eax, 0x10
or eax, dword [ecx + 8]
mov ecx, esi
push eax
push 0x10000004
call fcn.004534e0
jmp 0x451af6
mov edi, dword [esp + 0x24]
cmp dword [esi + 0x88], 0
je 0x451b36
mov eax, dword [esi + 0x74]
cmp eax, 0xffffffff
je 0x451b36
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
imul ecx, dword [eax + ecx*4 + 4], 0x34
mov eax, dword [esi + 0x38]
cmp dword [ecx + eax + 0x14], 0
je 0x451b36
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0047b510
test al, 1
je 0x451b36
or dword [esi + 0x8c], 1
mov dword [esp + 0x1c8], 1
mov dword [esp + 0x1cc], 2
mov dword [esp + 0x1d0], 4
mov dword [esp + 0x1d4], 0x10
mov dword [esp + 0x1d8], 0x20
mov dword [esp + 0x1dc], 0x40
mov dword [esp + 0x1e0], 0x80
mov dword [esp + 0x1e4], 0x100
mov dword [esp + 0x1e8], 0x200
mov dword [esp + 0x1ec], 0x1000
mov dword [esp + 0x1f0], 0x2000
mov dword [esp + 0x1f4], 0x4000
mov dword [esp + 0x1f8], 0x8000
mov dword [esp + 0x1fc], 0x10000
mov dword [esp + 0x200], 0x20000
mov dword [esp + 0x204], 0x40000
mov dword [esp + 0x208], 0x80000
mov dword [esp + 0x20c], 0x100000
mov dword [esp + 0x210], 0x200000
mov dword [esp + 0x214], 0x400000
mov dword [esp + 0x218], 0x800000
mov dword [esp + 0x21c], 0x1000000
mov dword [esp + 0x220], 0x2000000
mov dword [esp + 0x224], 0x40000000
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 3
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], 8
mov dword [esp + 0x74], 5
mov dword [esp + 0x78], 6
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x13
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 2
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 3
mov dword [esp + 0xc8], 4
mov dword [esp + 0xcc], 5
mov dword [esp + 0xd0], 6
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd8], 8
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0x13
mov dword [esp + 0x108], 1
mov dword [esp + 0x10c], 2
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 3
mov dword [esp + 0x128], 4
mov edx, dword [esi + 0x48]
lea eax, [esp + 0x48]
mov dword [esp + 0x28], eax
not edx
and edx, dword [esi + 0x8c]
lea eax, [esp + 0xa8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x168]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x12c], 0xb
xor ecx, ecx
mov dword [esp + 0x130], 0xc
mov dword [esp + 0x134], 9
mov dword [esp + 0x138], 0xa
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0x13
mov dword [esp + 0x168], 1
mov dword [esp + 0x16c], 2
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 3
mov dword [esp + 0x188], 4
mov dword [esp + 0x18c], 9
mov dword [esp + 0x190], 0xa
mov dword [esp + 0x194], 0xb
mov dword [esp + 0x198], 0xc
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0x13
mov dword [esp + 0x38], 0x5342c0
mov dword [esp + 0x3c], 0x534320
mov dword [esp + 0x40], 0x534380
mov dword [esp + 0x44], 0x5343e0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x8000
test dword [esp + ecx*4 + 0x1c8], edx
jne 0x4520a9
inc ecx
cmp ecx, 0x18
jl 0x452090
jmp 0x4520d7
mov eax, dword [esi + 0x4c]
mov eax, dword [esp + eax*4 + 0x28]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x18], eax
cmp eax, 0x13
jne 0x4520d7
lea ecx, [eax - 3]
call fcn.0047a430
and ax, word [esp + 0x10]
movzx eax, ax
neg eax
sbb eax, eax
add eax, 8
mov dword [esp + 0x18], eax
cmp dword [esi + 0x90], 0xffffffff
je 0x452114
test eax, eax
jne 0x45210a
lea ecx, [eax + 1]
call fcn.0047a430
mov ecx, dword [esp + 0x10]
test cx, ax
jne 0x452114
mov eax, dword [esi + 0x84]
cmp eax, dword [esi + 0x90]
jne 0x45210a
mov eax, 1
jmp 0x452118
mov dword [esi + 0x90], 0xffffffff
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 0x11
ja case.default.0x452122
jmp dword [eax*4 + 0x4528cc]
mov eax, dword [esi + 0x84]
mov edx, dword [esi]
cmp eax, 0xffffffff
je 0x45220b
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
push dword [eax + ecx*4 + 8]
push dword [eax + ecx*4 + 4]
mov ecx, esi
call dword [edx + 0x28]
test eax, eax
je 0x452177
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x84]
call dword [eax + 0x4c]
test eax, eax
jne 0x452190
cmp dword [esi + 0x90], 0xffffffff
jne 0x452190
mov eax, dword [esi + 0x84]
mov dword [esi + 0x90], eax
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004ccfb7
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [esi + 0x84]
call dword [eax + 0x30]
cmp dword [esi + 0x50], 0
je 0x4521c0
mov eax, dword [esi + 0x84]
mov edx, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
push dword [eax + ecx*4 + 8]
push dword [eax + ecx*4 + 4]
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4521e6
mov ecx, dword [esi + 0x84]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x5c]
push dword [ecx + edx*4 + 4]
mov ecx, esi
call fcn.00452d90
mov ebx, dword [esp + 0x10]
mov eax, ebx
mov dword [esi + 0x90], 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004ccfb7
mov esp, ebp
pop ebp
ret
mov ecx, esi
call dword [edx + 0x18]
jmp 0x452177
push 1
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ebx, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004ccfb7
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [esp + 0x1c]
push edi
push ebx
call dword [eax + 0x28]
test eax, eax
je 0x452177
cmp ebx, 0xffffffff
je 0x452177
cmp edi, 0xffffffff
je 0x452177
mov eax, dword [esi]
mov ecx, esi
push 0
push edi
push ebx
call dword [eax + 0x2c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ebx, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004ccfb7
mov esp, ebp
pop ebp
ret
push 0
jmp 0x452217
test edi, edi
je 0x452177
mov eax, dword [edi]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x452177
mov edi, dword [esp + 0x1c]
mov ecx, edi
sub edi, 1
js 0x4522bb
cmp ecx, eax
jle 0x4522be
lea edi, [eax - 1]
mov eax, dword [esi]
mov ecx, esi
push edi
push ebx
call dword [eax + 0x24]
test eax, eax
jne 0x4522e3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
cmp ecx, eax
jl 0x4522b0
jmp 0x452177
push 0xffffffffffffffff
shl ebx, 0x10
mov ecx, esi
or ebx, edi
push ebx
push 0x10000004
call fcn.004534e0
jmp 0x452177
test edi, edi
je 0x452177
mov eax, dword [edi]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x452177
mov edi, dword [esp + 0x1c]
nop word [eax + eax]
add edi, 1
js 0x452329
cmp edi, eax
jl 0x45232b
xor edi, edi
mov eax, dword [esi]
mov ecx, esi
push edi
push ebx
call dword [eax + 0x24]
test eax, eax
jne 0x452350
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
cmp ecx, eax
jl 0x452320
jmp 0x452177
push 1
jmp 0x4522e5
mov eax, dword [esi + 0x34]
xor edi, edi
test eax, eax
jle 0x452177
mov ecx, ebx
sub ebx, 1
js 0x45236c
cmp ecx, eax
jle 0x45236f
lea ebx, [eax - 1]
push ebx
mov ecx, esi
call fcn.00452d90
test eax, eax
jne 0x452388
mov eax, dword [esi + 0x34]
inc edi
cmp edi, eax
jl 0x452361
jmp 0x452177
push 0xffffffffffffffff
push ebx
push 0x10000003
mov ecx, esi
call fcn.004534e0
jmp 0x452177
mov eax, dword [esi + 0x34]
xor edi, edi
test eax, eax
jle 0x452177
nop dword [eax]
add ebx, 1
js 0x4523b9
cmp ebx, eax
jl 0x4523bb
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.00452d90
test eax, eax
jne 0x4523d4
mov eax, dword [esi + 0x34]
inc edi
cmp edi, eax
jl 0x4523b0
jmp 0x452177
push 1
push ebx
push 0x10000003
mov ecx, esi
call fcn.004534e0
jmp 0x452177
test edi, edi
je 0x452177
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x10], 0
cmp dword [ecx + ebx*8], 0
jle 0x452177
mov edi, dword [ecx + ebx*8]
mov eax, dword [esp + 0x1c]
cdq
idiv edi
mov eax, dword [esp + 0x1c]
mov ecx, edx
cdq
idiv edi
test ecx, ecx
cmovle ecx, edi
imul edi, eax
mov eax, dword [esi]
dec ecx
add edi, ecx
mov ecx, esi
push edi
push ebx
mov dword [esp + 0x24], edi
call dword [eax + 0x24]
test eax, eax
jne 0x45244a
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x54]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + ebx*8]
jl 0x452405
jmp 0x452177
push 0xffff
jmp 0x4522e5
test edi, edi
je 0x452177
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x10], 0
cmp dword [ecx + ebx*8], 0
jle 0x452177
mov edi, dword [ecx + ebx*8]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cdq
idiv edi
lea eax, [edx + 1]
cmp eax, edi
mov edi, dword [esp + 0x1c]
cmovl ecx, eax
mov eax, dword [esi]
sub ecx, edx
add edi, ecx
mov ecx, esi
push edi
push ebx
mov dword [esp + 0x24], edi
call dword [eax + 0x24]
test eax, eax
jne 0x452350
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x54]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + ebx*8]
jl 0x452471
jmp 0x452177
test edi, edi
je 0x452177
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x18], 0
cmp dword [ecx + ebx*8 + 4], 0
jle 0x452177
mov edi, dword [esp + 0x1c]
nop word [eax + eax]
mov eax, dword [ecx + ebx*8]
mov dword [esp + 0x10], eax
mov eax, edi
cdq
idiv dword [esp + 0x10]
test eax, eax
jg 0x4524f6
mov eax, dword [ecx + ebx*8 + 4]
lea edi, [eax - 1]
mov ecx, esi
imul edi, dword [esp + 0x10]
mov eax, dword [esi]
add edi, edx
push edi
push ebx
call dword [eax + 0x24]
test eax, eax
jne 0x452524
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x54]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + ebx*8 + 4]
jl 0x4524e0
jmp 0x452177
push 0xffff0000
jmp 0x4522e5
test edi, edi
je 0x452177
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
cmp dword [ecx + ebx*8 + 4], 0
jle 0x452177
mov edi, dword [esp + 0x1c]
mov ecx, dword [ecx + ebx*8]
mov eax, edi
cdq
xor edi, edi
idiv ecx
mov esi, dword [esp + 0x18]
inc eax
cmp eax, dword [esi + ebx*8 + 4]
mov esi, dword [esp + 0x20]
cmovl edi, eax
imul edi, ecx
mov ecx, esi
mov eax, dword [esi]
add edi, edx
push edi
push ebx
call dword [eax + 0x24]
test eax, eax
jne 0x45259b
mov ecx, dword [esi + 0x54]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + ebx*8 + 4]
jl 0x452554
jmp 0x452177
push 0x10000
jmp 0x4522e5
test edi, edi
je 0x452177
mov edi, dword [esp + 0x1c]
test edi, edi
jle 0x4525e4
mov eax, dword [esi]
lea ecx, [edi - 1]
push ecx
mov dword [esp + 0x24], ecx
mov ecx, esi
push ebx
call dword [eax + 0x24]
test eax, eax
je 0x4525e4
shl ebx, 0x10
mov ecx, esi
or ebx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
push 0x10000004
call fcn.004534e0
jmp 0x452177
shl ebx, 0x10
mov ecx, esi
movzx eax, di
push 0xffffffffffffffff
or ebx, eax
push ebx
push 0x10000005
call fcn.004534e0
jmp 0x452177
test edi, edi
je 0x452177
mov edi, dword [esp + 0x1c]
mov eax, ebx
shl eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esi]
lea ecx, [edi + 1]
push ecx
mov dword [esp + 0x24], ecx
mov ecx, esi
push ebx
call dword [eax + 0x24]
mov ecx, esi
push 1
test eax, eax
je 0x452645
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x14]
push eax
push 0x10000004
call fcn.004534e0
jmp 0x452177
movzx eax, di
or eax, dword [esp + 0x14]
push eax
push 0x10000005
call fcn.004534e0
jmp 0x452177
test edi, edi
je 0x452177
mov eax, dword [esi + 0x54]
mov edi, dword [esp + 0x1c]
mov ecx, dword [eax + ebx*8]
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x10], eax
test edx, edx
jle 0x4526ad
nop dword [eax + eax]
mov ecx, dword [esi + 0x54]
dec edx
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + ebx*8]
imul ecx, eax
mov eax, dword [esi]
add ecx, edx
push ecx
mov dword [esp + 0x1c], ecx
mov ecx, esi
push ebx
call dword [eax + 0x24]
test eax, eax
jne 0x4526cc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
test edx, edx
jg 0x452680
shl ebx, 0x10
mov ecx, esi
movzx eax, di
push 0xffff
or ebx, eax
push ebx
push 0x10000005
call fcn.004534e0
jmp 0x452177
shl ebx, 0x10
mov ecx, esi
or ebx, dword [esp + 0x18]
push 0xffff
push ebx
push 0x10000004
call fcn.004534e0
jmp 0x452177
test edi, edi
je 0x452177
mov ecx, dword [esi + 0x54]
mov edi, dword [esp + 0x1c]
mov eax, edi
cdq
mov ecx, dword [ecx + ebx*8]
idiv ecx
mov dword [esp + 0x20], eax
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
cmp eax, ecx
jge 0x45273f
mov ecx, dword [esi + 0x54]
mov ecx, dword [ecx + ebx*8]
imul ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esi]
push ecx
mov dword [esp + 0x1c], ecx
mov ecx, esi
push ebx
call dword [eax + 0x24]
test eax, eax
jne 0x45275b
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x54]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + ebx*8]
jl 0x452713
shl ebx, 0x10
mov ecx, esi
movzx eax, di
push 1
or ebx, eax
push ebx
push 0x10000005
call fcn.004534e0
jmp 0x452177
shl ebx, 0x10
mov ecx, esi
or ebx, dword [esp + 0x18]
push 1
push ebx
push 0x10000004
call fcn.004534e0
jmp 0x452177
test edi, edi
je 0x452177
mov eax, dword [esi + 0x54]
mov edi, dword [esp + 0x1c]
mov ecx, dword [eax + ebx*8]
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x10], edx
test eax, eax
jle 0x4527c2
mov ecx, dword [esi + 0x54]
dec eax
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + ebx*8]
imul ecx, eax
mov eax, dword [esi]
add ecx, edx
push ecx
mov dword [esp + 0x1c], ecx
mov ecx, esi
push ebx
call dword [eax + 0x24]
test eax, eax
jne 0x4527e1
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
test eax, eax
jg 0x452795
shl ebx, 0x10
mov ecx, esi
movzx eax, di
push 0xffff0000
or ebx, eax
push ebx
push 0x10000005
call fcn.004534e0
jmp 0x452177
shl ebx, 0x10
mov ecx, esi
or ebx, dword [esp + 0x18]
push 0xffff0000
push ebx
push 0x10000004
call fcn.004534e0
jmp 0x452177
test edi, edi
je 0x452177
mov eax, dword [esi + 0x54]
mov edi, dword [esp + 0x1c]
lea ecx, [eax + ebx*8]
mov eax, edi
cdq
idiv dword [ecx]
inc eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 4]
jge 0x452856
mov ecx, dword [esi + 0x54]
mov ecx, dword [ecx + ebx*8]
imul ecx, eax
mov eax, dword [esi]
add ecx, edx
push ecx
mov dword [esp + 0x1c], ecx
mov ecx, esi
push ebx
call dword [eax + 0x24]
test eax, eax
jne 0x452875
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x54]
inc eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + ebx*8 + 4]
jl 0x452827
shl ebx, 0x10
mov ecx, esi
movzx eax, di
push 0x10000
or ebx, eax
push ebx
push 0x10000005
call fcn.004534e0
jmp 0x452177
shl ebx, 0x10
mov ecx, esi
or ebx, dword [esp + 0x18]
push 0x10000
push ebx
push 0x10000004
call fcn.004534e0
jmp 0x452177
mov ecx, esi
call fcn.004531d0
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
je 0x452179
mov edx, dword [esi]
mov ecx, esi
push 0
push eax
call dword [edx + 0x30]
mov ecx, dword [esp + 0x22c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ccfb7
mov esp, ebp
pop ebp
ret