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

Disassembly:
push 0xffffffffffffffff
push 0x24bef60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x80]
push ebp
push esi
push edi
xor ebp, ebp
cmp ebx, ebp
mov edi, ecx
mov dword [esp + 0x10], edi
je 0x240c3a2
mov esi, dword [esp + 0x90]
cmp esi, ebp
je 0x240c3a2
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0240dfb0
test eax, eax
je 0x240c3a2
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x2c]
push 0xff0000
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x8c], ebp
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x24]
push 0xff00
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], edx
push 0xff
jne 0x240c258
lea ecx, [esp + 0x6c]
call fcn.0240dc80
mov eax, dword [ebx + 8]
mov edi, 0x20
cmp eax, edi
mov dword [esp + 0x80], ebp
jne 0x240bb29
lea ecx, [esp + 0x60]
push ecx
lea ecx, [ebx + 0xc]
call fcn.0240dcd0
test eax, eax
je 0x240bb29
mov esi, 1
jmp 0x240bb2b
xor esi, esi
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], edi
mov dword [esp + 0x2c], esi
jne 0x240bb53
lea eax, [esp + 0x60]
mov ecx, edx
push eax
add ecx, 0xc
call fcn.0240dcd0
test eax, eax
mov dword [esp + 0x1c], 1
jne 0x240bb57
mov dword [esp + 0x1c], ebp
cmp dword [ebx + 8], edi
jne 0x240bb84
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], edi
jne 0x240bb84
mov eax, edx
add eax, 0xc
push eax
lea ecx, [ebx + 0xc]
call fcn.0240dcd0
test eax, eax
je 0x240bb84
mov esi, 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], esi
mov eax, 0xfffffff0
xor edx, edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], edx
xor eax, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
xor ecx, ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
cmp esi, ebp
mov byte [esp + 0x80], 3
jne 0x240bc88
mov esi, dword [ebx]
lea ecx, [esp + 0x48]
shl esi, 2
call fcn.024017d0
cmp esi, ebp
je 0x240bc1a
push esi
call fcn.024acf00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x4c], eax
je 0x240bc1a
mov dword [esp + 0x48], esi
mov esi, dword [ebx]
lea ecx, [esp + 0x3c]
shl esi, 2
call fcn.024017d0
cmp esi, ebp
je 0x240bc49
push esi
call fcn.024acf00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x40], eax
je 0x240bc49
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x3c], esi
jmp 0x240bc88
lea ecx, [esp + 0x50]
call fcn.024017d0
lea ecx, [esp + 0x3c]
call fcn.024017d0
lea ecx, [esp + 0x48]
call fcn.024017d0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x60]
jmp 0x240c39d
lea ecx, [esp + 0x50]
call fcn.024017d0
lea ecx, [esp + 0x3c]
call fcn.024017d0
mov eax, dword [esp + 0x4c]
cmp eax, ebp
mov dword [esp + 0x48], ebp
je 0x240bc74
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x60]
jmp 0x240c39d
cmp dword [esp + 0x1c], ebp
jne 0x240bcc7
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
lea ecx, [esp + 0x50]
shl esi, 2
call fcn.024017d0
cmp esi, ebp
je 0x240bd2a
push esi
call fcn.024acf00
mov ecx, eax
add esp, 4
cmp ecx, ebp
mov dword [esp + 0x54], ecx
je 0x240bd2e
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 4], ebp
mov dword [esp + 0x20], ebp
jbe 0x240bff8
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
sub ecx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x88], edi
je 0x240bd65
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x448]
mov edi, dword [edx + esi]
mov ecx, dword [ebx + 0x450]
imul edi, eax
imul eax, dword [esi]
add edi, ecx
add eax, ecx
mov dword [esp + 0x88], eax
jmp 0x240bf48
mov ecx, dword [esp + 0x54]
cmp ecx, ebp
mov dword [esp + 0x50], ebp
je 0x240bd43
push ecx
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x54], ebp
mov eax, dword [esp + 0x40]
cmp eax, ebp
mov dword [esp + 0x3c], ebp
je 0x240bc5b
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x40], ebp
jmp 0x240bc5b
mov ebp, dword [esp + 0x30]
mov ecx, dword [esi + ebp]
cmp ecx, dword [esp + 0x90]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x14], edi
jne 0x240bd8f
mov edi, edx
mov dword [esp + 0x8c], 1
jmp 0x240bd9f
cmp ecx, dword [esp + 0x18]
jne 0x240bd9f
mov edi, eax
mov dword [esp + 0x14], 1
mov ecx, dword [esi]
cmp ecx, dword [esp + 0x90]
jne 0x240bdbe
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 1
jmp 0x240bdd3
cmp ecx, dword [esp + 0x18]
jne 0x240bdd3
mov dword [esp + 0x88], eax
mov dword [esp + 0x14], 1
test edi, edi
jne 0x240be80
mov ecx, dword [esp + 0x8c]
test ecx, ecx
jne 0x240be33
mov ecx, ebx
mov edi, edx
call fcn.0240b170
mov ecx, dword [ebx]
mov edx, dword [esi + ebp]
push eax
lea eax, [esp + 0x64]
push eax
push 0x20
push 0
push edi
push ecx
push edx
push 0
mov ecx, ebx
call fcn.0240b260
test eax, eax
je 0x240c061
mov eax, dword [esi + ebp]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
mov edi, edx
mov dword [esp + 0x8c], 1
jmp 0x240be80
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x240be80
mov ecx, ebx
mov edi, eax
call fcn.0240b170
mov edx, dword [ebx]
push eax
mov eax, dword [esi + ebp]
lea ecx, [esp + 0x64]
push ecx
push 0x20
push 0
push edi
push edx
push eax
push 0
mov ecx, ebx
call fcn.0240b260
test eax, eax
je 0x240c0c6
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + ebp]
mov edx, dword [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x240bf48
mov ecx, dword [esi]
cmp ecx, dword [esp + 0x90]
jne 0x240bea6
mov dword [esp + 0x88], edx
jmp 0x240bf48
cmp ecx, dword [esp + 0x18]
jne 0x240beb8
mov dword [esp + 0x88], eax
jmp 0x240bf48
mov ecx, dword [esp + 0x8c]
test ecx, ecx
jne 0x240bf04
mov ecx, ebx
mov ebp, edx
call fcn.0240b170
mov ecx, dword [esi]
push eax
mov eax, dword [ebx]
lea edx, [esp + 0x64]
push edx
push 0x20
push 0
push ebp
push eax
push ecx
push 0
mov ecx, ebx
call fcn.0240b260
test eax, eax
je 0x240c12b
mov edx, dword [esp + 0x4c]
mov eax, dword [esi]
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], eax
jmp 0x240bf48
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x240bf48
mov ecx, ebx
mov ebp, eax
call fcn.0240b170
mov edx, dword [ebx]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x64]
push ecx
push 0x20
push 0
push ebp
push edx
push eax
push 0
mov ecx, ebx
call fcn.0240b260
test eax, eax
je 0x240c190
mov ecx, dword [esp + 0x40]
mov edx, dword [esi]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x240bf69
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx + 0x448]
imul ebp, dword [esp + 0x20]
mov eax, dword [ecx + 0x450]
add ebp, eax
jmp 0x240bf6d
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
push ebp
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [edx + esi]
push ecx
mov ecx, dword [esp + 0x9c]
push eax
push ecx
push edi
call fcn.0240b8a0
mov eax, dword [esp + 0x3c]
add esp, 0x20
test eax, eax
jne 0x240bfcf
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
push 0x20
xor edi, edi
push edi
push ebp
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.0240b180
test eax, eax
je 0x240c1f5
jmp 0x240bfd3
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x4c]
inc eax
add esi, 4
mov dword [esp + 0x20], eax
cmp eax, ecx
mov eax, dword [esp + 0x40]
jb 0x240bcf0
mov ecx, dword [esp + 0x54]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x50], ebp
je 0x240c015
push ecx
call fcn.024ad03a
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x54], ebp
cmp eax, ebp
mov dword [esp + 0x3c], ebp
je 0x240c02e
push eax
call fcn.024ad03a
mov edx, dword [esp + 0x50]
add esp, 4
mov dword [esp + 0x40], ebp
cmp edx, ebp
mov dword [esp + 0x48], ebp
je 0x240c043
push edx
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x4c], ebp
lea ecx, [esp + 0x60]
mov dword [esp + 0x80], 0xffffffff
call fcn.0247c770
mov eax, 1
jmp 0x240c3a4
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x50], esi
je 0x240c07c
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
cmp eax, esi
mov dword [esp + 0x3c], esi
je 0x240c095
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
mov dword [esp + 0x48], esi
je 0x240bc35
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x60]
jmp 0x240c39d
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x50], esi
je 0x240c0e1
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
cmp eax, esi
mov dword [esp + 0x3c], esi
je 0x240c0fa
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
mov dword [esp + 0x48], esi
je 0x240bc35
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x60]
jmp 0x240c39d
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x50], esi
je 0x240c146
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
cmp eax, esi
mov dword [esp + 0x3c], esi
je 0x240c15f
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
mov dword [esp + 0x48], esi
je 0x240bc35
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x60]
jmp 0x240c39d
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x50], esi
je 0x240c1ab
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
cmp eax, esi
mov dword [esp + 0x3c], esi
je 0x240c1c4
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
mov dword [esp + 0x48], esi
je 0x240bc35
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x60]
jmp 0x240c39d
mov eax, dword [esp + 0x54]
cmp eax, edi
mov dword [esp + 0x50], edi
je 0x240c20e
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
cmp eax, edi
mov dword [esp + 0x3c], edi
je 0x240c227
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x4c]
cmp eax, edi
mov dword [esp + 0x48], edi
je 0x240bc35
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x60]
jmp 0x240c39d
lea ecx, [esp + 0x78]
call fcn.0240dc80
cmp dword [ebx + 8], 0x20
mov dword [esp + 0x80], 4
jne 0x240c28a
lea edx, [esp + 0x6c]
push edx
lea ecx, [ebx + 0xc]
call fcn.0240dcd0
test eax, eax
je 0x240c28a
mov esi, 1
jmp 0x240c28c
xor esi, esi
cmp dword [edi + 8], 0x20
mov dword [esp + 0x20], esi
jne 0x240c2b2
lea eax, [esp + 0x6c]
push eax
lea ecx, [edi + 0xc]
call fcn.0240dcd0
test eax, eax
mov dword [esp + 0x90], 1
jne 0x240c2b9
mov dword [esp + 0x90], ebp
mov ecx, dword [ebx + 8]
mov eax, 0x20
cmp ecx, eax
jne 0x240c2ea
cmp dword [edi + 8], eax
jne 0x240c2ea
add edi, 0xc
push edi
lea ecx, [ebx + 0xc]
call fcn.0240dcd0
test eax, eax
je 0x240c2ea
mov esi, 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
xor edi, edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
cmp esi, ebp
mov byte [esp + 0x80], 7
jne 0x240c352
mov esi, dword [ebx]
shl esi, 2
mov dword [esp + 0x50], ebp
je 0x240c38e
push esi
call fcn.024acf00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x54], eax
je 0x240c38e
mov dword [esp + 0x50], esi
mov esi, dword [ebx]
shl esi, 2
mov dword [esp + 0x58], ebp
je 0x240c385
push esi
call fcn.024acf00
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x5c], edi
je 0x240c381
mov dword [esp + 0x58], esi
cmp dword [esp + 0x90], ebp
jne 0x240c3d3
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
shl esi, 2
mov dword [esp + 0x60], ebp
je 0x240c3b9
push esi
call fcn.024acf00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x64], eax
je 0x240c3b9
mov dword [esp + 0x60], esi
jmp 0x240c3d3
mov eax, dword [esp + 0x54]
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.0247c770
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc
cmp edi, ebp
je 0x240c3c6
push edi
call fcn.024ad03a
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x240c38e
mov edx, eax
push edx
jmp 0x240c386
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 4]
xor esi, esi
cmp edi, ebp
mov dword [esp + 0x48], edi
jbe 0x240c639
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
call dword [edx + 8]
mov ebp, eax
test ebp, ebp
je 0x240c41f
mov eax, edi
sub eax, esi
cmp eax, ebp
jae 0x240c404
mov ebp, eax
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
push ebp
call dword [eax]
test eax, eax
je 0x240c68e
add esi, ebp
jmp 0x240c62f
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x8c], edi
je 0x240c466
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + esi*4]
mov edx, dword [ebx + 0x448]
mov eax, dword [esp + 0x30]
imul ebp, edx
mov eax, dword [eax + esi*4]
mov ecx, dword [ebx + 0x450]
imul eax, edx
add ebp, ecx
add eax, ecx
mov dword [esp + 0x3c], eax
jmp 0x240c472
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x90], edi
je 0x240c496
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x450]
mov eax, dword [eax + 0x448]
imul eax, esi
add eax, ecx
mov dword [esp + 0x18], eax
jmp 0x240c49e
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x94]
push edx
lea edx, [esp + 0x28]
push edx
call dword [eax + 4]
test eax, eax
je 0x240c68e
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x240c68e
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jae 0x240c4ef
mov ecx, eax
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jae 0x240c61e
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x240c5b0
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + eax*4]
mov ecx, ebx
call fcn.0240b170
push eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x94]
push 0x20
push edi
push eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [esp + 0x28]
mov ecx, 1
sub ecx, edi
add edx, ecx
mov ecx, dword [eax + esi*4]
push edx
push ecx
push edi
mov ecx, ebx
call fcn.0240b260
test eax, eax
je 0x240c698
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov edi, dword [eax + edx*4]
mov ecx, ebx
call fcn.0240b170
mov edx, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x94]
push 0x20
push edi
push edx
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [esp + 0x44]
mov eax, 1
sub eax, edi
add ecx, eax
mov eax, dword [edx + esi*4]
push ecx
push eax
push edi
mov ecx, ebx
call fcn.0240b260
test eax, eax
je 0x240c68e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x18]
sub ecx, eax
lea edx, [edi + eax*4]
push edx
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
push edx
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x34]
push edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + esi*4]
push edx
mov edx, dword [esp + 0x50]
push ecx
push edx
push ebp
call fcn.0240b8a0
mov eax, dword [esp + 0xb0]
add esp, 0x20
test eax, eax
jne 0x240c61e
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x20]
push 0x20
push eax
push edi
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
push esi
push eax
call fcn.0240b180
test eax, eax
je 0x240c6cb
mov eax, dword [esp + 0x44]
test eax, eax
je 0x240c49e
mov edi, dword [esp + 0x48]
inc esi
cmp esi, edi
jb 0x240c3e8
xor ebp, ebp
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x240c64c
mov edx, eax
push edx
call fcn.024ad03a
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, ebp
je 0x240c65d
push eax
call fcn.024ad03a
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x240c670
mov ecx, eax
push ecx
call fcn.024ad03a
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 0xffffffff
call fcn.0247c770
mov eax, 1
jmp 0x240c3a4
mov eax, dword [esp + 0x64]
test eax, eax
je 0x240c6dc
jmp 0x240c6d3
mov eax, dword [esp + 0x64]
test eax, eax
je 0x240c6a9
push eax
call fcn.024ad03a
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x240c6ba
push eax
call fcn.024ad03a
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x240c38e
jmp 0x240c385
mov eax, dword [esp + 0x64]
test eax, eax
je 0x240c6dc
push eax
call fcn.024ad03a
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x240c6ba
jmp 0x240c6b1